Skip to main content

Wrapper for Statistics Sweden's API

Project description

pyscbwrapper

Version 0.1.1

Python wrapper for Statistics Sweden's API, which can be found at http://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.

Dependencies: requests>=2.21.0

To import:

from pyscbwrapper import SCB

For info on usage:

help(SCB)

Mentioned in Awesome Official Statistics

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyscbwrapper-0.1.1.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

pyscbwrapper-0.1.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file pyscbwrapper-0.1.1.tar.gz.

File metadata

  • Download URL: pyscbwrapper-0.1.1.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for pyscbwrapper-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d6e82e6d2ffb7fe70ec689259dad510bf634a0e12a295107e12650377dd51fd5
MD5 92a352c11456c3d58f513f6e73d6e888
BLAKE2b-256 cbfc573da73941cf36dc82ec4c2885b507d4ba72a5eec18889f7715119182a28

See more details on using hashes here.

File details

Details for the file pyscbwrapper-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pyscbwrapper-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for pyscbwrapper-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 818364d321bc5e514bd9e5fabedc7df070aabf22cb281ddbe1060d7b8ff16c94
MD5 f6c08c0d498b4e10588d815c95ff3719
BLAKE2b-256 bf835226b6dd0fa377d75803d41092519116c064d9d01bfd1a26d80b7cce2dfd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page