Skip to main content

Pxwebapi arrow

PyPI Status Python Version License

Documentation Tests Coverage Quality Gate Status

pre-commit Black Ruff Poetry

Features

  • Fetch metadata for a table from any Pxweb 2 API, like Statistics Norways "Statistikkbanken" or Statistics Swedens "Statistikdatabasen"
  • Fetch data from a table, from a API with Parquet support.

Installation

You can install Pxwebapi arrow from PyPI. We recomend using a package manager like uv, poetry or pdm.

uv add ssb-pxapi2-arrow

Usage

Fetch metadata about a table

from pxwebapi import PxAPI, STATBANK_CONFIG

statbank = PxAPI(STATBANK_CONFIG)
meta = statbank.get_table_metadata(14216)
print(f"Table last updated: {meta.updated}")

Get data from the table

df = statbank.get_table(
    14216, value_codes={"ContentsCode": "Bosatte", "TettSted": "*", "Region": "*", "Tid": "*"}
)

Please see the Reference Guide for details.

Contributing

Contributions are very welcome. To learn more, see the Contributor Guide.

License

Distributed under the terms of the MIT license, Pxwebapi arrow is free and open source software.

Issues

If you encounter any problems, please file an issue along with a detailed description.

Credits

This project was generated from Statistics Norway's SSB PyPI Template.

Metadata

Release files for ssb-pxapi2-arrow 0.0.2

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

Source distribution (sdist)

Source distribution for ssb-pxapi2-arrow 0.0.2
File Size Uploaded
ssb_pxapi2_arrow-0.0.2.tar.gz 18.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ssb-pxapi2-arrow 0.0.2
File Interpreter ABI Platform
ssb_pxapi2_arrow-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 38.8 kB

Release files / ssb_pxapi2_arrow-0.0.2.tar.gz

Download URL ssb_pxapi2_arrow-0.0.2.tar.gz
Size 18.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5bc3eb831f75c281227b6f775d69ad7415408c65f408f2a62effc1ec13c461f2
BLAKE2b-256 checksum
How to use checksums
2cc2aa9eb8d4693cf663fb2ba81dc6ffbee9a31bf54e0c3e18eaefd5aa100318
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 4, 2026.

Transparency log

Release files / ssb_pxapi2_arrow-0.0.2-py3-none-any.whl

Download URL ssb_pxapi2_arrow-0.0.2-py3-none-any.whl
Size 20.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4f29e8b1cfe27453d9c07678ec8e53047838ff4741483ad296b54b0453b224fb
BLAKE2b-256 checksum
How to use checksums
91399400c697bff7f90ce4d4775fabbc2de1b87cf17557beeee2d4d25fd46df6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 4, 2026.

Transparency log

Release history Release notifications | RSS feed

0.0.3

2 release files

This release

0.0.2 This release

2 release files

0.0.1

2 release files

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