Skip to main content

Enhanced add-on for the holidays library offering expanded functionality

Project description

python-holidays-plus

Enhanced add-on for the Python-Holidays library offering expanded functionality

This module adds a couple useful features to the Python holidays modules. For example:

import holidays
import holidays_plus

from datetime import datetime

# holidays, but not the racist one
our_holidays = holidays.US(years=[datetime.now().year])
our_holidays.pop_named("Columbus Day")

# wait, when is Martin Luther King Day this year?
(day,) = our_holidays.get_named("Martin Luther King Jr. Day")
print(f"Martin Luther King Jr. Day is on {day} this year.")

If you have ideas for additional functionality that might be added here, please let me know by opening an issue or sending me a PR here:

https://github.com/samtregar/python-holidays-plus

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

holidays_plus-0.0.2-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file holidays_plus-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: holidays_plus-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2

File hashes

Hashes for holidays_plus-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ab25c161413e7b4438da0cffbcabd5e08ee6bd9ef32786a35bf8b1fed0751c5d
MD5 6da9614f2966aec26255f2b7241eb8fc
BLAKE2b-256 8bf7eb5cd49f06eaff2c61365a470c15acc71c9edce15278fd3e4023244c3baf

See more details on using hashes here.

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