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
vakantie-0.1.tar.gz
(4.1 kB
view hashes)
Built Distribution
vakantie-0.1-py3-none-any.whl
(4.5 kB
view hashes)