Skip to main content

denstatbank

denstatbank

A wrapper to Statistics Denmark's DataBank API. The library allows you to easily retrieve data on a variety of topics made available by Statistics Denmark

The package provides a simple interface for professional statisticians, academics, policymakers, students, and anyone interested in quantitative facts about Denmark.

Installation

pip install denstatbank

Usage

Quick Example

>>> from denstatbank import StatBankClient
>>> sbc = StatBankClient(lang='en')
>>> df = sbc.get_data(table_id='bef5')
>>> df
   Population 1. January by Indhold and time
0                                    5822763

DataBank API

The official API documentation can be found here

Metadata

Release files for denstatbank 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for denstatbank 0.2.1
File Size Uploaded Provenance
denstatbank-0.2.1.tar.gz 7.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for denstatbank 0.2.1
File Interpreter ABI Platform
denstatbank-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 16.7 kB

Release files / denstatbank-0.2.1.tar.gz

Download URL denstatbank-0.2.1.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a418f53441b22b849de07bda29484c06ea4494cf24d3a4aa8d99c25b7c601376
BLAKE2b-256 checksum
How to use checksums
61a42ffcfaed09b7f98e4f9001b60a09f2ca9a35fc1eb147c89ac0a12f2226dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Release files / denstatbank-0.2.1-py3-none-any.whl

Download URL denstatbank-0.2.1-py3-none-any.whl
Size 9.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
511f9b91a2826f45539354f70450bc861356363c3905e6a588f368ef1f8e5c65
BLAKE2b-256 checksum
How to use checksums
7248cd6cd0515140ef4efb513895eda4aab59576806496f20b4101cf240f704d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Security for denstatbank 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page