Skip to main content

"A very small library that handles with Dutch calendars and holidays 🇳🇱"

Project description

A very small library that handles with Dutch calendars and holidays 🇳🇱

Installing

` pip install dutch-workdays `

Usage

`python from dutch_workdays import Calendar cal = Calendar() cal.get_king_queen_day(2018) # (datetime.date(2018, 4, 27), "King's day") `

dutch-workdays works as a drop-in replacement of workalendar, so for the rest of the API please refer to the workdays documentation.

Why not just using Workalendar instead?

Workalendar is an awesome library, it’s very complete and very well maintained but it’s, unfortunately, quite a big dependency as well. It not only includes Python code to handle calendars from most of the world, but it also requires C libraries to calculate high-precision astronomy computations. It’s an overkill if you only need to know about Dutch holidays.

Differences from Workalendar

  • All the codebase is type annotated.

  • Zero dependencies

  • Dateutil easter calculation is vendorized.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dutch-workdays-0.3.1.tar.gz (6.7 kB view hashes)

Uploaded Source

Built Distribution

dutch_workdays-0.3.1-py3-none-any.whl (7.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page