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:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab25c161413e7b4438da0cffbcabd5e08ee6bd9ef32786a35bf8b1fed0751c5d
|
|
| MD5 |
6da9614f2966aec26255f2b7241eb8fc
|
|
| BLAKE2b-256 |
8bf7eb5cd49f06eaff2c61365a470c15acc71c9edce15278fd3e4023244c3baf
|