A Package to get all holidays starting from 2015
Project description
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)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 vakantie-0.1.tar.gz.
File metadata
- Download URL: vakantie-0.1.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c39e7cc8b3680b178afd427968c9ebbd297dd48ce8ada50d8145c39c9896047
|
|
| MD5 |
1ad78d2a20b3cb2be1c62be932bea0ae
|
|
| BLAKE2b-256 |
36ed79df0c74137d5433fa632f78f0cbc52c231920171e9a762a84e717c89936
|
File details
Details for the file vakantie-0.1-py3-none-any.whl.
File metadata
- Download URL: vakantie-0.1-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
462f4dd98667d38a98626a39cd0ac8f726fb7b308af68c1b722331aa5038774a
|
|
| MD5 |
4abba0fc616dff52ad95e9def4f315e0
|
|
| BLAKE2b-256 |
f445cc0a3fa0bcb3bfe54982ca4f6197c7405fe951df4a0d6513981712de0598
|