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.3

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.3
File Size Uploaded
ssb_pxapi2_arrow-0.0.3.tar.gz 18.5 kB Details

Built distribution (wheel)

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

Total release size: 38.8 kB

Release files / ssb_pxapi2_arrow-0.0.3.tar.gz

Download URL ssb_pxapi2_arrow-0.0.3.tar.gz
Size 18.5 kB
Tags Source
SHA-256 checksum
How to use checksums
49059357348ed12e41feb6b2237d3e3b9e539766dcb0dc67d6fed5f3d79e23c1
BLAKE2b-256 checksum
How to use checksums
77b530d9fe542684c6f60cde9f760156fb67ebc4ff705b963636190c03ece9b9
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.3-py3-none-any.whl

Download URL ssb_pxapi2_arrow-0.0.3-py3-none-any.whl
Size 20.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d3e0b5b58d662e832674e7f81f8be9cb758b2768ea3de235c35e0eca3dd375cd
BLAKE2b-256 checksum
How to use checksums
21c6e8b38e878fac3f76b5276f444979de8f2ad2c9e263ef3b73c5e7de0aacc8
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

This release

0.0.3 This release

2 release files

0.0.2

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