Skip to main content

Feiertage

This python package provides an easy access to the list of German national holidays for each federal state.

>>> import feiertage
>>> holidays = feiertage.Holidays("BW", year=2023).holidays
>>> # holidays now contains a list of dictionaries for each holiday with the attribues
>>> # 'date' -> a datetime.date object with the date of the holiday
>>> # 'name'-> a string with the name of the holiday
>>>
>>> # let's print this list beautifully formatted
>>> from pprint import pprint
>>> pprint(holidays)
[{'date': datetime.date(2023, 1, 1), 'name': 'Neujahr'},
 {'date': datetime.date(2023, 5, 1), 'name': 'Tag der Arbeit'},
 {'date': datetime.date(2023, 10, 3), 'name': 'Tag der deutschen Einheit'},
 {'date': datetime.date(2023, 12, 25), 'name': '1. Weihnachstag'},
 {'date': datetime.date(2023, 12, 26), 'name': '2. Weihnachstag'},
 {'date': datetime.date(2023, 4, 7), 'name': 'Karfreitag'},
 {'date': datetime.date(2023, 4, 10), 'name': 'Ostermontag'},
 {'date': datetime.date(2023, 5, 18), 'name': 'Christi-Himmelfahrt'},
 {'date': datetime.date(2023, 5, 29), 'name': 'Pfingstmontag'},
 {'date': datetime.date(2023, 1, 6), 'name': 'Heilige drei Könige'},
 {'date': datetime.date(2023, 6, 8), 'name': 'Fronleichnam'},
 {'date': datetime.date(2023, 11, 1), 'name': 'Allerheiligen'}]

Installation

This package can be easily installed with pip:

$ pip install feiertage-de

Further information can be seen at the PyPi project page or at Read the Docs

Metadata

Release files for feiertage-de 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for feiertage-de 0.1.6
File Size Uploaded
feiertage_de-0.1.6.tar.gz 5.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for feiertage-de 0.1.6
File Interpreter ABI Platform
feiertage_de-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 12.1 kB

Release files / feiertage_de-0.1.6.tar.gz

Download URL feiertage_de-0.1.6.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c0910231d82da15860bb5ebd72bea57953994a896dc1847bbe4e4a5449a9a095
BLAKE2b-256 checksum
How to use checksums
3ba3714541e144c624a46c4f8256e4f1d3371e306584d44d15541044be7aec70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.24

Release files / feiertage_de-0.1.6-py3-none-any.whl

Download URL feiertage_de-0.1.6-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e627a20409a6e94f0ce2bd239f50add150d41a44431bc98867de355ea3a4b0ec
BLAKE2b-256 checksum
How to use checksums
1ffa898ef0eb0e5f5800849e8ab10b06e0b23cfdeb4369aecaff733835d7b405
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.24

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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