Python wrapper for Statistics Sweden's API, which can be found at https://www.scb.se/en/api.
Project description
pyscbwrapper
Version 0.1.1
Python wrapper for Statistics Sweden's API, which can be found at https://www.scb.se/en/api.
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: Security fix: Updated API URL from HTTP to HTTPS to ensure secure communication with Statistics Sweden's API. This resolves issues with empty or invalid responses caused by using the insecure HTTP connection.
Dependencies: requests>=2.21.0
To install:
pip install pyscbwrapper
To import:
from pyscbwrapper import SCB
For info on usage, see the included notebooks. For detailed usage examples, see the subfolder fetch-deso-data-examples.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 pyscbwrapper-0.1.2.tar.gz.
File metadata
- Download URL: pyscbwrapper-0.1.2.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fed57b65fe9a4a76feea42089f2836dd0fc8ace45e90292d5f833a00d4446c07
|
|
| MD5 |
9a6e256384e41e92c40e857446d434d1
|
|
| BLAKE2b-256 |
8a45ac2aa922515b178d0d4f1ccc6a85aa1269c4bba65f6d416accc619a384bd
|
File details
Details for the file pyscbwrapper-0.1.2-py3-none-any.whl.
File metadata
- Download URL: pyscbwrapper-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9a92bccabce277d0da822c60207f0af0c310b96adf0655eb8cb81694b9c7d84
|
|
| MD5 |
ec58c6fd0c4c5750bb2d120abaaa9e38
|
|
| BLAKE2b-256 |
5c8a70c911be0b926290adf6b77b46e117e12508d1be294ce05ea420e3ec15f5
|