Metadata-Version: 2.1
Name: pycspwrapper
Version: 0.1.1
Summary: Python wrapper for Latvian official statistics portal API: https://stat.gov.lv/en/api-and-code-list-registry.
Home-page: https://github.com/vf42/pycspwrapper
Author: Vadim Fedorov
Author-email: vadim@vf42.com
License: MIT
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests >=2.21.0

# pycspwrapper
Version 0.1.1

Python wrapper for Latvian official statistics portal API: https://stat.gov.lv/en/api-and-code-list-registry

Forked from https://github.com/kirajcg/pyscbwrapper/, replacing the Sweden API endpoints with the Latvian Central Statistics Bureau ones.

News in version 0.1:
Compatible with changes in the API.  
Includes a function for generating JSON queries from user-supplied input.  
It is now possible to go up and down in the metadata tree more than one step at a time.

News in version 0.1.1:
Bugfixes: Variables with space in their names can now be accessed by removing the spaces.
New functionality: get_variables() returns a dict instead of only writing to the terminal.

Dependencies: requests>=2.21.0

To install: 
```python
pip install pycspwrapper
```

To import: 
```python
from pycspwrapper import LVStat
```

For info on usage, see the included notebooks. TODO: Update the notebooks for the Latvian stats.
