This is a package for fetching holiday information of any country. This library can be used to get all the holidays of a country. Even if a holiday is not pre-declared, one will still get the data for that holiday of any year.
How to
import vakantie
holidays = vakantie.Holidays()
print(holidays.get_holidays(years=2021, country='Bangladesh'))
Installation
pip install vakantie
requirements
- lxml
Available Years
Any year from 2015 upto now is available.
Parameters of the class 'Holidays':
output_type: Currently, one can output the holidays in two ways - csv and holiday_api.
Parameters of the 'get_holidays' method
years: This can take multiple years separated by comma(,). country: Corrently it takes only a single year.
Future plan
- Saving module
- Holidays for the states of the countries like the USA
- More output options
Author
Labiba Kanij Rupty(labibakanij@gmail.com)
Change Log
0.0.1 (29.06.2021)
first release
0.0.2 (29.06.2021)
second release
0.0.3 (29.06.2021)
second release
0.0.4 (09.07.2021)
Release files for vakantie 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| vakantie-0.1.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vakantie-0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.6 kB
Release files / vakantie-0.1.tar.gz
| Download URL | vakantie-0.1.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c39e7cc8b3680b178afd427968c9ebbd297dd48ce8ada50d8145c39c9896047
|
|
BLAKE2b-256 checksum How to use checksums |
36ed79df0c74137d5433fa632f78f0cbc52c231920171e9a762a84e717c89936
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.10
|
Release files / vakantie-0.1-py3-none-any.whl
| Download URL | vakantie-0.1-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
462f4dd98667d38a98626a39cd0ac8f726fb7b308af68c1b722331aa5038774a
|
|
BLAKE2b-256 checksum How to use checksums |
f445cc0a3fa0bcb3bfe54982ca4f6197c7405fe951df4a0d6513981712de0598
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.10
|