Python wrapper for Latvian official statistics portal API: https://stat.gov.lv/en/api-and-code-list-registry.
Project description
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.
News in version 0.1.2: Fixed the module name to avoid conflicts with the original version.
Dependencies: requests>=2.21.0
To install:
pip install pycspwrapper
To import:
from pycspwrapper import LVStat
For info on usage, see the included notebooks. TODO: Update the notebooks for the Latvian stats.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pycspwrapper-0.1.2-py3-none-any.whl.
File metadata
- Download URL: pycspwrapper-0.1.2-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e909b7a429eae36c01880c0632b7dcc1e9018409a4683a40f9c21c4cb9893579
|
|
| MD5 |
5e1997f9a2a8223553b993a428fea1b5
|
|
| BLAKE2b-256 |
e4d7bdfb33ec29879f11e13f9b039ada1160d86975b458fce5e9d159ae9e3767
|