vacances-scolaires-france
vacances-scolaires-france copied to clipboard
Data can be downloaded directly from data.gouv.fr/
I use vacances-scolaires-france
inside an app that is bundled with PyInstaller.
So I need data to be refreshed from year to year without updating vacances-scolaires-france
module.
I added the possibility to ask for download the most recent data when the main class is initialized.
These modifications are backward compatible as reading from data/data.csv
is kept as the default behavior.
~~I have no idea what the problem is with test-latest...~~ See this: https://github.com/xlcnd/isbnlib/issues/95 (Nose is incompatible with Python >= 3.10)
If this new feature is OK, I will create a new cleaner PR with an only one commit.
Otherwise, we can imagine not to deal with the download part of the job and just give the user the opportunity to supply their own csv file (requests
module will ne be necessary anymore)