Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/vacanza/holidays
/ functions
Functions
7,727 in github.com/vacanza/holidays
⨍
Functions
7,727
◇
Types & classes
1,434
↳
Endpoints
6
↓ 1 callers
Method
_move_holiday
Shift a holiday to its observed date, removing the original entry. Calls `_add_observed()` and, if an observed date was produced, pops
holidays/observed_holiday_base.py:326
↓ 1 callers
Function
_normalize_cell
(cell: str)
scripts/calendar/germany_school_generator.py:301
↓ 1 callers
Function
_normalize_cell_separators
Normalize KMK cell separators before date-specific cleanup.
scripts/calendar/germany_school_generator.py:250
↓ 1 callers
Function
_normalize_short_year
(value: str)
scripts/calendar/germany_school_generator.py:172
↓ 1 callers
Function
_normalize_state_label
(label: str)
scripts/calendar/germany_school_generator.py:240
↓ 1 callers
Function
_parse_args
()
scripts/calendar/germany_school_generator.py:536
↓ 1 callers
Function
_parse_header_cell
(cell: str)
scripts/calendar/germany_school_generator.py:310
↓ 1 callers
Function
_parse_pdf_table
(path: Path)
scripts/calendar/germany_school_generator.py:336
↓ 1 callers
Method
_populate
(self, year: int)
tests/test_utils.py:287
↓ 1 callers
Method
_populate_bank_holidays
(self)
holidays/countries/laos.py:74
↓ 1 callers
Method
_populate_common_holidays
Populate entity common holidays.
holidays/holiday_base.py:963
↓ 1 callers
Method
_populate_de_facto_holidays
(self)
holidays/countries/sweden.py:151
↓ 1 callers
Method
_populate_observed
(self, dts: set[date], *, multiple: bool = False)
holidays/countries/trinidad_and_tobago.py:90
↓ 1 callers
Method
_populate_observed
(self, dts: set[date], *, multiple: bool = False)
holidays/countries/kyrgyzstan.py:109
↓ 1 callers
Method
_populate_observed
Applies `SAT_TO_NEXT_WORKDAY` instead of `SAT_SUN_TO_NEXT_WORKDAY` observed_rule for Day after New Year's Day and Boxing Day.
holidays/countries/rwanda.py:63
↓ 1 callers
Method
_populate_observed
(self, dts: set[date], *, multiple: bool = False)
holidays/countries/bulgaria.py:67
↓ 1 callers
Method
_populate_observed
Applies `SAT_SUN_TO_NEXT_MON_TUE` instead of `SAT_SUN_TO_NEXT_MON` observed_rule for Christmas Day and the first day of Eid al-Fitr
holidays/countries/tanzania.py:139
↓ 1 callers
Method
_populate_observed
(self, dts: set[date], three_day_holidays: dict[date, str])
holidays/countries/south_korea.py:109
↓ 1 callers
Method
_populate_observed
(self, dts: set[date], *, multiple: bool = False)
holidays/countries/brunei.py:142
↓ 1 callers
Method
_populate_optional_holidays
(self)
holidays/countries/haiti.py:101
↓ 1 callers
Method
_populate_optional_holidays
Adds extended days that most people have as a bonus from their companies: - Carnival - the day before and after xmas
holidays/countries/portugal.py:150
↓ 1 callers
Method
_populate_school_holidays
(self)
holidays/countries/taiwan.py:199
↓ 1 callers
Method
_populate_subdiv_6ae_public_holidays
(self)
holidays/countries/france.py:197
↓ 1 callers
Method
_populate_subdiv_bl_public_holidays
(self)
holidays/countries/france.py:266
↓ 1 callers
Method
_populate_subdiv_holidays
Populate entity subdivision holidays.
holidays/holiday_base.py:974
↓ 1 callers
Method
_populate_subdiv_od_public_holidays
(self)
holidays/countries/india.py:462
↓ 1 callers
Method
_populate_subdiv_sao_paulo_capital_public_holidays
(self)
holidays/countries/brazil.py:422
↓ 1 callers
Method
_populate_subdiv_south_canterbury_public_holidays
(self)
holidays/countries/new_zealand.py:308
↓ 1 callers
Method
_populate_subdiv_sp_public_holidays
(self)
holidays/countries/brazil.py:417
↓ 1 callers
Method
_populate_subdiv_tki_public_holidays
(self)
holidays/countries/new_zealand.py:320
↓ 1 callers
Method
_populate_subdiv_wtc_public_holidays
(self)
holidays/countries/new_zealand.py:331
↓ 1 callers
Method
_populate_subdiv_zh_de_facto_holidays
(self)
holidays/countries/switzerland.py:736
↓ 1 callers
Method
_populate_subdiv_zh_public_holidays
(self)
holidays/countries/switzerland.py:720
↓ 1 callers
Function
_repair_pdf_artifacts
Repair malformed date text emitted by KMK PDFs/PDF extraction.
scripts/calendar/germany_school_generator.py:272
↓ 1 callers
Function
_require_pdfplumber
()
scripts/calendar/germany_school_generator.py:161
↓ 1 callers
Function
_resolve_years
( year_label: str, month_day_range: tuple[int, int, int, int] )
scripts/calendar/germany_school_generator.py:437
↓ 1 callers
Method
_span_days
Return elapsed days from SOLAR_START_DATE to start of year.
scripts/calendar/asian_generator.py:293
↓ 1 callers
Function
_strip_cell_footnotes
Remove KMK footnote markers without changing the underlying dates.
scripts/calendar/germany_school_generator.py:259
↓ 1 callers
Method
_validate_language
Validate the language code to ensure it complies with [RFC 5646](https://datatracker.ietf.org/doc/html/rfc5646). In the current imple
holidays/ical.py:72
↓ 1 callers
Method
_write_po_header
Strips gettext boilerplate and prepends the license header + desc line.
scripts/l10n/generate_po_files.py:138
↓ 1 callers
Method
ali_al_rida_death_dates
(self, year: int)
holidays/calendars/islamic.py:4221
↓ 1 callers
Method
ali_birthday_dates
(self, year: int)
holidays/calendars/islamic.py:4224
↓ 1 callers
Method
ali_death_dates
(self, year: int)
holidays/calendars/islamic.py:4227
↓ 1 callers
Method
arbaeen_dates
(self, year: int)
holidays/calendars/islamic.py:4230
↓ 1 callers
Method
archive_url
Submits a URL to the Wayback Machine save API using POST. Returns: Nothing; success is determined by subsequent availability chec
scripts/archive_links.py:197
↓ 1 callers
Method
assertAliases
Assert aliases match the test class.
tests/common.py:418
↓ 1 callers
Method
bak_poya_date
(self, year: int)
holidays/calendars/sinhala.py:387
↓ 1 callers
Method
bathukamma_date
(self, year: int)
holidays/calendars/hindu.py:1552
↓ 1 callers
Method
binara_poya_date
(self, year: int)
holidays/calendars/sinhala.py:390
↓ 1 callers
Method
birth_of_guru_rinpoche_date
(self, year: int)
holidays/calendars/tibetan.py:1863
↓ 1 callers
Method
bonalu_date
(self, year: int)
holidays/calendars/hindu.py:1555
↓ 1 callers
Method
buddha_day_date
(self, year: int)
holidays/calendars/mongolian.py:330
↓ 1 callers
Method
buddha_first_sermon_date
(self, year: int)
holidays/calendars/tibetan.py:1866
↓ 1 callers
Method
buddha_parinirvana_date
(self, year: int)
holidays/calendars/tibetan.py:1869
↓ 1 callers
Method
buddha_purnima_date
(self, year: int)
holidays/calendars/hindu.py:1558
↓ 1 callers
Method
check_archive_urls_in_file
(self, urls: list[str])
scripts/archive_links.py:268
↓ 1 callers
Method
chhath_puja_date
(self, year: int)
holidays/calendars/hindu.py:1561
↓ 1 callers
Method
create_po_files
(self)
scripts/l10n/l10n_helper.py:72
↓ 1 callers
Method
day_of_offering_date
(self, year: int)
holidays/calendars/tibetan.py:1872
↓ 1 callers
Method
death_of_zhabdrung_date
(self, year: int)
holidays/calendars/tibetan.py:1875
↓ 1 callers
Method
descending_day_of_lord_buddha_date
(self, year: int)
holidays/calendars/tibetan.py:1878
↓ 1 callers
Method
diwali_date
(self, year: int)
holidays/calendars/hindu.py:1564
↓ 1 callers
Method
diwali_india_date
(self, year: int)
holidays/calendars/hindu.py:1567
↓ 1 callers
Method
duruthu_poya_date
(self, year: int)
holidays/calendars/sinhala.py:393
↓ 1 callers
Method
eid_al_ghadir_dates
(self, year: int)
holidays/calendars/islamic.py:4242
↓ 1 callers
Function
ensure_pdf_sources
(raw_pdf_dir: Path, index_url: str)
scripts/calendar/germany_school_generator.py:218
↓ 1 callers
Method
esala_poya_date
(self, year: int)
holidays/calendars/sinhala.py:396
↓ 1 callers
Method
export_to_csv
(self)
scripts/l10n/l10n_helper.py:129
↓ 1 callers
Method
fatima_death_dates
(self, year: int)
holidays/calendars/islamic.py:4245
↓ 1 callers
Method
fill_missing_translations
(self)
scripts/l10n/l10n_helper.py:198
↓ 1 callers
Method
fix_file
Normalize a single file. Returns: True if file was modified, False otherwise.
scripts/normalize_text.py:77
↓ 1 callers
Method
ganesh_chaturthi_date
(self, year: int)
holidays/calendars/hindu.py:1573
↓ 1 callers
Method
generate_country_snapshots
Generates country snapshots.
scripts/generate_snapshots.py:111
↓ 1 callers
Function
generate_data
()
scripts/calendar/tibetan_generator.py:58
↓ 1 callers
Function
generate_data
()
scripts/calendar/mongolian_generator.py:150
↓ 1 callers
Function
generate_data
()
scripts/calendar/asian_generator.py:375
↓ 1 callers
Function
generate_data
()
scripts/calendar/islamic_generator.py:94
↓ 1 callers
Function
generate_data
()
scripts/calendar/hebrew_generator.py:137
↓ 1 callers
Method
generate_financial_snapshots
Generates financial snapshots.
scripts/generate_snapshots.py:135
↓ 1 callers
Method
generate_release_notes
Generate release notes contents.
scripts/generate_release_notes.py:162
↓ 1 callers
Method
genghis_khan_day_date
(self, year: int)
holidays/calendars/mongolian.py:333
↓ 1 callers
Method
get_args
()
scripts/archive_links.py:58
↓ 1 callers
Method
get_new_pull_requests
Get PRs created after the latest release. This operation also populates a set of previous release commits.
scripts/generate_release_notes.py:169
↓ 1 callers
Method
get_old_pull_requests
Get PRs created before the latest release.
scripts/generate_release_notes.py:202
↓ 1 callers
Method
get_session
()
scripts/archive_links.py:94
↓ 1 callers
Function
gfm_to_mkdocs
Convert GitHub Flavored Markdown notes to ProperDocs admonitions.
scripts/docs/gen_index.py:69
↓ 1 callers
Method
grand_magal_of_touba_dates
(self, year: int)
holidays/calendars/islamic.py:4248
↓ 1 callers
Method
gudi_padwa_date
(self, year: int)
holidays/calendars/hindu.py:1579
↓ 1 callers
Method
guru_gobind_singh_jayanti_date
(self, year: int)
holidays/calendars/hindu.py:1582
↓ 1 callers
Method
guru_nanak_jayanti_date
(self, year: int)
holidays/calendars/hindu.py:1585
↓ 1 callers
Method
gyalpo_losar_date
(self, year: int)
holidays/calendars/hindu.py:1588
↓ 1 callers
Method
hanukkah_date
(self, year: int)
holidays/calendars/hebrew.py:1604
↓ 1 callers
Method
hari_hol_johor_dates
(self, year: int)
holidays/calendars/islamic.py:4251
↓ 1 callers
Method
hasan_al_askari_death_dates
(self, year: int)
holidays/calendars/islamic.py:4254
↓ 1 callers
Method
hijri_new_year_dates
(self, year: int)
holidays/calendars/islamic.py:4257
↓ 1 callers
Method
hung_kings_date
(self, year: int, calendar=None)
holidays/calendars/chinese.py:1388
↓ 1 callers
Method
il_poya_date
(self, year: int)
holidays/calendars/sinhala.py:399
↓ 1 callers
Method
import_from_csv
(self)
scripts/l10n/l10n_helper.py:174
↓ 1 callers
Method
is_leap_year
Is Persian year that begins in the specified Gregorian year a leap year.
holidays/calendars/persian.py:28
↓ 1 callers
Method
isra_and_miraj_dates
(self, year: int)
holidays/calendars/islamic.py:4263
← previous
next →
501–600 of 7,727, ranked by callers