Get bank holidays for France
Project description
Jours Fériés France
This library computes bank holidays dates for France, for a given year.
Installation
pip install jours-feries-france
Usage
from jours_feries_france.compute import JoursFeries
res = JoursFeries.for_year(2018)
# res is now a dict
# {
# 'Armistice': datetime.date(2018, 11, 11),
# 'Ascension': datetime.date(2018, 5, 10),
# 'Assomption': datetime.date(2018, 8, 15),
# 'Fête Nationale': datetime.date(2018, 7, 14),
# 'Fête du travail': datetime.date(2018, 5, 1),
# "Jour de l'an": datetime.date(2018, 1, 1),
# 'Lundi de Pâques': datetime.date(2018, 4, 2),
# 'Noël': datetime.date(2018, 12, 25),
# 'Pentecôte': datetime.date(2018, 5, 21),
# 'Pâques': datetime.date(2018, 4, 1),
# 'Toussaint': datetime.date(2018, 11, 1),
# 'Victoire des alliés': datetime.date(2018, 5, 8)
# }
# You can also get specific bank holidays as a datetime.date
print (JoursFeries.paques(2018))
print (JoursFeries.lundiDePaques(2018))
print (JoursFeries.ascension(2018))
print (JoursFeries.pentecote(2018))
print (JoursFeries.jourDeLAn(2018))
print (JoursFeries.feteDuTravail(2018))
print (JoursFeries.victoireDeAllies(2018))
print (JoursFeries.feteNationale(2018))
print (JoursFeries.toussaint(2018))
print (JoursFeries.assomption(2018))
print (JoursFeries.armistice(2018))
print (JoursFeries.noel(2018))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Close
Hashes for jours_feries_france-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88445f0c58a11fec350eef03d90b54966338781c6338ce50ceec0fae9cb0b8ad |
|
MD5 | de615488175c87adb0b08bbc7aa50b27 |
|
BLAKE2b-256 | 2ffe50d07505f40a3ef3ef902dd8f9ebaf4016923b295d539a8f6ab712a8a8f9 |
Close
Hashes for jours_feries_france-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24c0104d85497b02d0cb12856e12d8fcf42c1c1b1dd500b26703f0bbb4f60ced |
|
MD5 | ea6a99a1536427364b26f9376bcf46ca |
|
BLAKE2b-256 | 5e9d462eeed7d914addcf446efae96f9b41f8861983dd7d23af85020664d7277 |
Close
Hashes for jours_feries_france-0.1.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9aec0fcc9c1bbfb22abfbbf43ede5a3a61438db7b2cf70269060d60ee7c78c46 |
|
MD5 | 9e609e72f7f16037111d3a5101eb027a |
|
BLAKE2b-256 | 2882a93639299bed90aa9e691c3cb8803b6fe68910794f5228c4df703ce332c3 |
Close
Hashes for jours_feries_france-0.1.3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ca24db18ff2d266330c6195685c67c8561822ef7769b39c3b9903f0110a78a2 |
|
MD5 | 451292b658c8d504f8c671bfdf6c7468 |
|
BLAKE2b-256 | 2871f42464b7f71bdd98d71ec6bd468bd5a53d3efa6a715a1299229b1c86c1d0 |