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 2.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 2.0.0
File Size Uploaded Provenance
ktcalendars-2.0.0.tar.gz 10.4 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 23.0 kB

Release files / ktcalendars-2.0.0.tar.gz

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

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

Download URL ktcalendars-2.0.0-py3-none-any.whl
Size 12.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1f21ccfdd9f28659ffe3f3c09747afb8c56538c3553d40f71a7c91c3eb6c58cf
BLAKE2b-256 checksum
How to use checksums
c3dbdca2019d53e619756410e2862695e015a5df1210fcece430c00687398b61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for ktcalendars 2.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