This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

This package let you perform simple date arithmetics on standard objects taking into account working days (weekend, holidays).

Python compatibility

The package is continuosly tested on Python 2.7, 3.2, 3.3 and 3.4.




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.


Check if a date is a working day

import date
import workingdays

is_today_working = workingdays.is_workingday(

Add a number of working days to a certain date

import date
import workingdays

two_workingdays_from_today = workingdays.add(, 2)

Count the number of working days between two dates

import date
import workingdays

workingdays_between_dates = workingdays.diff(date(2015, 3, 27), date(2015, 3, 25))

Compute the next working day starting from a certain date

import date
import workingdays

workingday_after_today =

Use a different localization, that is taking into account holidays for a particular country

import date
import workingdays

workingdays.is_workingday =

workingday_after_today_in_italy =

See file in the source directory to have a better idea of the API and the expected results.

Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyworkingdays-0.1.tar.gz (1.8 kB) Copy SHA256 Checksum SHA256 Source Mar 26, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting