NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #2171 most downloaded on PyPI
Time-handling functionality from netcdf4-python
Last release 6 days ago
28 Sep 2026
Release timing varies
gaps range from 5 weeks to 13 months
Most releases are documented
notes for 24 of 34 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
37 releases · first in 2018
added new CF calendar "tai", which is the same as proleptic_gregorian but is only valid for dates after 1958-01-01.
python 3.14 wheels, 3.8/3.9 support dropped.
One column per quarter.
Nothing published for this version
build aarch64 linux wheels (issue #333).
add support for formats without separators in strptime (e.g. '20200229', issue #301). This required removing support for > 4 digit years.
num2date should not fail on an empty integer array (issue #287).
fix failing tests on windows with numpy 1.23.0 (issue #278)
fix for masked array inputs (issue #267).
silently change calendar='gregorian' to 'standard' internally, since 'gregorian' deprecated in CF v1.9 (issue #256).
no code changes, just new binary wheels for python 3.10.
added support for "common_year" and "common_years" units for "noleap" and "365_day" calendars (issue #5, PR #246)
clean-up deprecated calendar specific subclasses (PR #231).
cftime.datetime objects
(via cftime.datetime.__format__) PR #232.utime class, and legacy JulianDayFromDate and
DateFromJulianDay functions (replaced by cftime.datetime.toordinal
and cftime.datetime.fromordinal). PR #235.Restore use of calendar-specific sub-classes in cftime.num2date, cftime.datetime.__add__, and cftime.datetime.__sub__. The use of them will be removed
cftime.num2date,
cftime.datetime.__add__, and cftime.datetime.__sub__. The use of them
will be removed in a later release.cftime.date2num will now always return an array of integers, if the units and times allow. Previously this would only be true if the units were 'micro
cftime.date2num will now always return an array of integers, if the units
and times allow. Previously this would only be true if the units were
'microseconds' (PR #225). In other circumstances, as before, cftime.date2num
will return an array of floats.fix for issue #211 (PR #212) bug in masked array handling in date2num)
Fixes issue #198. The calendar specific sub-classes are now deprecated, but remain for now as stubs that just instantiate the base class and override…
cftime.datetime.tzinfo=None for compatibility with python datetime
(issue #208).num2date uses 'proleptic_gregorian' scheme when basedate is post-Gregorian but date is pre-Gregorian (issue #182).
Return the default values of dayofwk and dayofyr when calendar is '' (issue #173).
add isoformat method for compatibility with python datetime (issue #152).
change dayofwk and dayofyr attributes into properties (issue #158)
include pyproject.toml in MANIFEST.in so it gets included in source tarball (issue #154).
Fix error installing with pip on python 3.8 by following PEP 517 (issue #148, PR #149)
fix microsecond formatting issue, ensure identical results computed for arrays and scales (issue #143, PR #146).
improved exceptions for time differences (issue #128, PR #131).
fix for issue #126 (date2num error when converting a DatetimeProlepticGregorian object). PR #127.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →