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 1.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 1.0.0
File Size Uploaded Provenance
ktcalendars-1.0.0.tar.gz 9.9 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 22.1 kB

Release files / ktcalendars-1.0.0.tar.gz

Download URL ktcalendars-1.0.0.tar.gz
Size 9.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1bdb27f0dcdde4a827650529b1cfaaa599e137296fb09adca42acec8f8042fb0
BLAKE2b-256 checksum
How to use checksums
56f149ee26086952c7480d5a029f45e79d393dc20f47eb975b13257a174d49e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL ktcalendars-1.0.0-py3-none-any.whl
Size 12.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
02db01f88815165efba8a3e6c600bff6f24427068d6c25892bc049111580c2cc
BLAKE2b-256 checksum
How to use checksums
7515611b14b4a9f4f69dc6d945cfb1cc421d0a4d359adb6e3813a36c2db43c78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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