Time-handling functionality from netcdf4-python.
Clone or download
jswhit Merge pull request #53 from pdearnshaw/datetime_comparison
Fix rich comparisons for datetime objects
Latest commit 88d3ca8 Aug 20, 2018



Time-handling functionality from netcdf4-python

Linux Build Status Windows Build Status PyPI package


08/15/2018: version 1.0.1 released.

11/8/2016: cftime was split out of the netcdf4-python package.

Quick Start

  • Clone GitHub repository (git clone https://github.com/Unidata/cftime.git), or get source tarball from PyPI. Links to Windows and OS X precompiled binary packages are also available on PyPI.

  • Make sure numpy and Cython are installed and you have Python 2.7 or newer.

  • Run python setup.py build, then python setup.py install (with sudo if necessary).

  • To run all the tests, execute py.test.


See the online docs for more details.