This package let you perform simple date arithmetics on standard datetime.date objects taking into account working days (weekend, holidays).
The API is simple and clear and the implementation is straightforward.
Localization - that is handling holidays for different countries - is built-in and easy to extend.
The implementation is not very optimized and it is expected to be used for small date deltas.
Currently only italian holidays are implemented, but feel free to send pull requests for your country of interest.
import date import workingdays is_today_working = workingdays.is_workingday(date.today())
import date import workingdays two_workingdays_from_today = workingdays.add(date.today(), 2)
import date import workingdays workingdays_between_dates = workingdays.diff(date(2015, 3, 27), date(2015, 3, 25))
import date import workingdays workingday_after_today = workingdays.next(date.today())
import date import workingdays import workingdays.l10n.it workingdays.is_workingday = workingdays.l10n.it.is_workingday workingday_after_today_in_italy = workingdays.next(date.today())
See file test.py in the source directory to have a better idea of the API and the expected results.
TODO: Figure out how to actually get changelog content.
Changelog content for this version goes here.