Eurostat fetcher for DBnomics
Fetch time series from the Eurostat (Eurostat).
Install
It is recommended to use pyenv to use the same Python version than the one recommended for this project (cf .python-version
).
To install this package:
# Check if the Python version specified in .python-version is installed
python -V
# If it is not, run `pyenv install`.
pyenv virtualenv eurostat-fetcher
pyenv activate eurostat-fetcher
pip install -r requirements-dev.txt
pip install -e .[dev]
pre-commit install
Then you can run the scripts of the fetcher:
python download.py ...
python convert.py ...
To deactivate the virtualenv:
pyenv deactivate
To run the dev tools:
pre-commit run --all-files