Dutch Workdays
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.
Metadata
Release files for dutch-workdays 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dutch-workdays-0.3.1.tar.gz | 6.7 kB | Without provenance | Details for dutch-workdays-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dutch_workdays-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for dutch_workdays-0.3.1-py3-none-any.whl |
Total release size: 14.6 kB
Release files / dutch-workdays-0.3.1.tar.gz
| Download URL | dutch-workdays-0.3.1.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bb49af2525bdbc1fc41ad4cfb68098d7fce54aa14c63dfa5df6c3c27c2c471cf
|
|
BLAKE2b-256 checksum How to use checksums |
c57c6327489f17297e5c5414e28cc34b830c32d6067b7ce173a9930a955ebea5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.7
|
Release files / dutch_workdays-0.3.1-py3-none-any.whl
| Download URL | dutch_workdays-0.3.1-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e8505fc62b72ea23b9b893d5ffebb2f823e7f2345c2e6288f063beb6ebfaf90b
|
|
BLAKE2b-256 checksum How to use checksums |
335fd3dc0ed287e29855c9bcc3ab74407ffd7c2a520cfc8f3ddd9c093afe459d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.7
|
Security for dutch-workdays 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.