Skip to main content

KTcalendars

KTCalendars is a library providing utility classes for country-specific holiday-aware calendars and dates.

from ktcalendars import KTCalendar

cal = KTCalendar(country_code="IT")
day = cal.get_ktday("2025-06-02")  # Festa della Repubblica
day.is_holiday()                   # True
cal.get_work_days("2025-06-01", "2025-06-08")
# [K2025-06-03, K2025-06-04, K2025-06-05, K2025-06-06]

See the documentation for more, and the changelog for notable changes between releases.

Dependencies

  • Python 3.10 or later

Installation

  • Install ktcalendars using your package manager of choice, e.g. Pip:
    pip install ktcalendars
    

Bug reports and requests for enhancements

Please open an issue on the project's issue tracker on GitHub.

Contributing to the project

See the contribution guide.

Licensing

All rights reserved.

Metadata

Release files for ktcalendars 3.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ktcalendars 3.0.0
File Size Uploaded Provenance
ktcalendars-3.0.0.tar.gz 10.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ktcalendars 3.0.0
File Interpreter ABI Platform
ktcalendars-3.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 23.5 kB

Release files / ktcalendars-3.0.0.tar.gz

Download URL ktcalendars-3.0.0.tar.gz
Size 10.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d92dd3cd3adb84bbe0e8f0d75470a752db96ef6dca3a944d70d848d001809c15
BLAKE2b-256 checksum
How to use checksums
e23d0bab42b95aed10ea8c78ecd4c873179e70875f3d56ca4f8d7dd6dab54111
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / ktcalendars-3.0.0-py3-none-any.whl

Download URL ktcalendars-3.0.0-py3-none-any.whl
Size 12.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
31f9d619446998049fbabc531708e786c4c237054912b0ae65f2d615f5636cc1
BLAKE2b-256 checksum
How to use checksums
3924fff8fc3e78e8a7708211bc666dd455cc13d6329216acbdf9c84bdcd5dbc3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for ktcalendars 3.0.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page