NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #4079 most downloaded on PyPI
Worldwide holidays and working days helper and toolkit.
Last release 4 years ago
no release in 18 months
Release timing varies
gaps range from 1 weeks to 7 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
94 releases · first in 2013
Added isolated tests for shifting mechanics in USA calendars - previously untested (#335).
Released on 2019-03-15
The v4.2.0 was released on 2019-02-21
The v4.2.0 was released on 2019-02-21
One column per quarter.
the v4.1.0 was released on 2019-02-07.
the v4.1.0 was released on 2019-02-07.
WARNING Scotland (sub)calendars are highly experimental and because of their very puzzling rules, may be false. Please use them with care.
An important milestone for workalendar, since China has been added and thus it adds more that 1.4b persons able to use workalendar in the world. Kudos
An important milestone for workalendar, since China has been added and thus it adds more that 1.4b persons able to use workalendar in the world. Kudos to all of our contributors, this library is improving every day!
pandas latest version and Python 3.4. Upgraded travis distro to Xenial/16.04 LTS (#307).iso_register decorator in the pull-request template (#309).v3.2.1 was released on 2018-12-06
v3.2.1 was released on 2018-12-06
Removed dependency to PyEphem. This package was the "Python2-compatible" library to deal with the xephem system library. Now it's obsolete, so you don
PyEphem. This package was the "Python2-compatible" library to deal with the xephem system library. Now it's obsolete, so you don't need this dual-dependency handling, because ephem is compatible with Python 2 & Python 3 (#296).date & datetime (sub)types. See the basic documentation for more details (#294).Small but important bugfix for Slovenia regarding its ISO country code.
Small but important bugfix for Slovenia regarding its ISO country code.
Fixed ISO 3166-1 code for the Slovenia calendar (#291, thx @john-sandall).
Added support for Python 3.7 (#283).
released on 2018-10-25
SouthAfrica holidays calendar, taking into account the specs of holidays that vary over the periods. As a consequence, it cleaned up erroneous holidays that were duplicated in some years (#285). Thx to @surfer190 for his review & suggestions.MadagascarTest (#286).Large work on global registry: refs #13, #96, #257 & #284.
Large work on global registry: refs #13, #96, #257 & #284.
workalendar.america.canada.name properties for Calendar classes. It will be deducted from the docstring.registry.items() mandatory argument name to region_codes for more readability.The v2.6.0 of workalendar was released on 2018-08-30
The v2.6.0 of workalendar was released on 2018-08-30
add_working_days() function to be provided a datetime, and returning a date (#270).keep_datetime option to keep the original type of the input argument for both add_working_days() and sub_working_days() functions (#270).get_first_weekday_after() docstring + in code (calendars and tests) ; do not use magic values, use MON, TUE, etc (#271).The 2.5.0 version was released on 2018-06-14
The 2.5.0 version was released on 2018-06-14
Changes:
get_working_days_delta method to the core calendar class (#260).Deprecation: Dropped support for Python 3.3 (#245).
include_veterans_day flag to enable/disable Veteran's day on specific calendar - e.g. Mozilla's dedicated calendar (#242).novafloss to the peopledoc organization, the core People Doc Inc. organization (#255).workalenda.registry module. Please use with care at the moment (#248).I have done a terrible mistake with the 1.3.0 release, and uploaded a defunct 2.3.0 version... I tried to remove it from PyPI, but it failed at some p
I have done a terrible mistake with the 1.3.0 release, and uploaded a defunct 2.3.0 version... I tried to remove it from PyPI, but it failed at some point. In order to make sure that the latest version has the highest version number, I'm releasing this "dumb" version. It is equivalent to the 2.1.0 release, but at least, if you upgrade, you have all the 2.0+ niceties...
Added Hong Kong, by @nedlowe (#235).
africa.py file into an africa/ module (#236).africa.py file into an africa/ module (#236).This version brings a massive load of fixes for the United States of America calendars. The whole module has been rewritten, fixed, updated with the b
This version brings a massive load of fixes for the United States of America calendars. The whole module has been rewritten, fixed, updated with the best effort to keep it as accurate as possible.
We hope this version will lead to more adoption by Pythonistas from the United States and beyond, and will help us make a better workalendar library.
Fixed important bugs in the calendars of the following Brazilian cities: Vitória, Vila Velha, Cariacica, Guarapari and Serra - thx to Fernanda Gonçalv
DistributionNotFound exceptions with obsolete versions (#74).A huge beautiful country is now available in workalendar: Brazil! Thanks to @Skippern, we have completed this country with its states and almost all c
A huge beautiful country is now available in workalendar: Brazil! Thanks to @Skippern, we have completed this country with its states and almost all cities.
good_friday_label class variable to ChristianMixin ; one can assign the right label to this holiday (#187).ash_wednesday_label class variable to ChristianMixin ; one can assign the right label to this holiday (#187).Added Cyprus. thx @gregn610 (#174).
After several years of development, we can now say that this library is production-ready, so we're releasing its 1.0.0 version. Millions of "thank you
After several years of development, we can now say that this library is production-ready, so we're releasing its 1.0.0 version. Millions of "thank you" to all the contributors involved.
This is a minor bugfix release.
This is a minor bugfix release.
In the year 2017 only, the Reformation Day is a National holiday in Germany, see #150 ; thank you to @zdenyv for opening the issue.
This is a minor bugfix release.
This is a minor bugfix release.
As of 2016, Good Friday is a holiday in the Czech Republic (#148). Thank you to @Birion for this information.
Easter Sunday is a Brandenburg federate state holiday (#143), thx @uvchik.
find_packages() to fetch package directories in setup.py (#141, #144).swiss.py file (#147).Added Estonia, thx to @landler (#134),
Note: the 0.6.0 was erroneously uploaded ; this v0.6.1 cancels and replaces the v0.6.0.
Workalendar now being compatible with Python 3.4 and 3.5 (#128),
Added Slovenia, thx to @ratek1 (#124),
Tiny fixes in the usa.py module (flake8 + typo)
usa.py module (flake8 + typo) (#122)novapost to the novafloss organization, handling FLOSS projects in People Doc Inc. (#116)Side note: I completely broke the 0.4.3 release by trying to delete a naughty file... I'm feeling sorry about that and hope that nobody has tried to use it.
Added Spain 2016 (#123) -- apparently, special holidays created in 2016
usa.py module (flake8 + typo) (#122)novapost to the novafloss organization, handling FLOSS projects in People Doc Inc. (#116)Sorry, I think I completely broke the 0.4.3 release by trying to delete a naughty file...
usa.py module (flake8 + typo) (#122)novapost to the novafloss organization, handling FLOSS projects in People Doc Inc. (#116)Three new calendars in this release: Luxembourg (#111), Netherlands (#113) and Spain
Three new calendars in this release: Luxembourg (#111), Netherlands (#113) and Spain (#114)
and a tiny bugfix about the Pentecost name for Sweden (#115).
This release only includes a new Calendar: _Portugal_ (thx to @borfast)
This release only includes a new Calendar: Portugal (thx to @borfast)
_New calendar_: Colombia calendar, thx to @spalac24
_New calendar:_ Germany, thx to @rndusr
delta argument for add_working_days() can be negative. added a
sub_working_days() method that computes working days backwards.delta argument for add_working_days() can be negative. added a
sub_working_days() method that computes working days backwards._How to contribute_ documentation,
BACKWARDS INCOMPATIBILITY: calendar suffix for class names are now obsolete. e.g: to use the Japan calendar, simply import workalendar.asia.Japan inst…
Tons of contributions to workalendar! There are now 27 calendars available, over the 5 continents!
workalendar.asia.Japan instead
of JapanCalendar.Core calendar classes, Western (European and North American) easter computations,
Your coding agent can read these notes before it upgrades. Set up the MCP server →