Python wrapper for GUS REST API.
GUS: Główny Urząd Statystyczny is a main statistical Government institution. See: https://stat.gov.pl.
This library attempts to unify GUS REST API endpoints for graceful and easy data extraction from the GUS data banks using Python programming language.
The easiest way to install the latest version from PyPI is by using pip:
pip install pygus
You can also clone the repository from GitHub and install the latest development version:
git clone https://github.com/mdyzma/pygus.git
cd pygus
pip install .
Alternatively, install directly from the GitHub repository:
pip install git+https://github.com/mdyzma/pygus.git
Python >=3.8 are supported.
Setting up development environment
pip install virtualenv
virtualenv <your-env>
source <your-env>/bin/activate
<your-env>/bin/pip install - r requirements.txt
poetry install
poetry shell
To run tests manually runthis command in project root folder:
pytest
To build documentation
- clone this repository
- cd
pygus/docs
folder - run:
make html