python-holidays
python-holidays copied to clipboard
Generate and work with holidays in Python
The `_add_holiday_*` methods lack of type completion makes use quite difficult. They are documented here: https://github.com/vacanza/holidays/blob/8bd401812e1f200316737c3622fd380869bf74ff/docs/examples.md?plain=1#L414-L432 Pandas provides an interface to create calendars from holidays which leverage `offset` and `observance`...
Split holiday calendars into public ([country]-public.py) and other ([country]-other.py) categories
**Do not close this issue solely because the Swedish calendar was updated without splitting; at least one country calendar must be SPLIT into public ([country]-public.py) and other ([country]-other.py) first.** ##...
A-C countries and all existing markets are already migrated in #2853 The rest here are roughly 70 countries each per group: - [x] D-H: #3088 - [ ] I-P -...
**Is your feature request related to a problem? Please describe.** Currencies can have holidays on which they are traded. Normally they overlap with the countries holidays, but sometimes they dont....
## Proposed change - Added a new function called list_long_weekends - It detects long weekends automatically by combining holidays with the adjacent weekend day. - Weekend days are considered according...
**Is your feature request related to a problem? Please describe.** French public holidays are working fine but the French school holidays currently are not implemented. **Describe the solution you'd like**...
Hi, would it be possible to add support for USGS and USNY as they have in [OpenGamma](https://strata.opengamma.io/apidocs/com/opengamma/strata/basics/date/HolidayCalendarIds.html)? _Originally posted by @mg3146 in https://github.com/vacanza/holidays/discussions/690_
## Proposed change Added spell checking functionality to pre-commit hooks and Makefile. Resolves #2308. ## Type of change - [ ] New country/market holidays support (thank you!) - [ ]...
Added descriptions for various Hindu festivals and a method to retrieve festival information. ## Proposed change Your PR description goes here. ## Type of change - [ ] New country/market...
Update [Contributing](https://github.com/dr-prodigy/python-holidays/blob/beta/CONTRIBUTING.rst) documentation with instructions that do not require the use of `make`, a utility which is not native to Python or Windows but only to Unix and derivatives.