Skip to main content

parsimony-rba

Reserve Bank of Australia source for parsimony: statistical tables fetch and catalog enumeration.

Part of the parsimony-connectors monorepo. Distributed standalone on PyPI as parsimony-rba.

Connectors

Name Kind Description
rba_fetch connector Fetch a published RBA statistical table/series by table_id. Resolves across all three publication formats — a CSV stem (f1-data), a current XLSX-exclusive sheet (a03/Bond Purchase Program), or a legacy xls-hist workbook (b03hist) — and returns a tidy long-format DataFrame.
enumerate_rba enumerator Discover series via the 3-pass HTML scrape (CSV index + current XLSX-exclusive sheets + legacy xls-hist), parsing each table's metadata header rows. Drives the rba catalog.
rba_search search Semantic search over the published RBA catalog. Pass the returned table_id column to rba_fetch(table_id=...).

Coverage

The catalog indexes ~4,672 series across RBA's nine statistical categories (Reserve Bank, banking & finance, credit cards, monetary aggregates, household & business finance, interest rates, exchange rates, economic activity, balance of payments), drawn from three publication formats RBA exposes as static files (it has no JSON/REST API):

  • CSV index (/statistics/tables/) — ~3,958 current series (the bulk).
  • Current XLSX-exclusive sheets — series published only in a workbook, never re-exported as CSV (today: the Bond Purchase Program). Detected by dynamic exclusivity, so a future XLSX-only sheet is picked up automatically.
  • Legacy xls-hist binaries (/statistics/historical-data.html) — discontinued series that left the live CSVs.

The catalog code is compound ({table_id}#{series_id}) because RBA reuses series ids across related tables. Every catalogued series is fetchable — rba_fetch resolves the table_id to whichever format published it. The redundant *hist.xlsx long-history workbooks and the period-range archives are deliberately skipped (an audit confirmed they carry the same series ids as the current CSVs). Data is CC BY 4.0 — cite as "Source: Reserve Bank of Australia".

Install

pip install parsimony-rba

Pulls in a compatible parsimony automatically. Verify discovery:

python -c "from parsimony import discover; print([p.name for p in discover.iter_providers()])"

Configuration

No API key required — the RBA statistics site is public and keyless.

curl_cffi is a required runtime dependency (installed automatically). The RBA site (rba.gov.au) is fronted by Akamai bot-mitigation that TLS-fingerprint-blocks stock python-httpx (every request returns HTTP 403). parsimony-rba reaches the origin only via curl_cffi, which presents a real Chrome TLS handshake. Without it the connector is non-functional — this is why curl_cffi ships as a hard dependency rather than an optional extra.

rba_search reads its catalog snapshot from hf://parsimony-dev/rba by default; override with the PARSIMONY_RBA_CATALOG_URL env var or load(catalog_url=...).

Quick start

from parsimony_rba import CONNECTORS

result = CONNECTORS["rba_fetch"](table_id="f1-data")
print(result.raw.head())

For multi-plugin composition:

from parsimony import discover

connectors = discover.load_all()

Catalogs

rba_search runs semantic search over a published catalog snapshot (hf://parsimony-dev/rba by default; override with the PARSIMONY_RBA_CATALOG_URL env var or load(catalog_url=...)). The snapshot is built from enumerate_rba via scripts/build_catalog.py. No API key is required — RBA is a public, keyless data source.

Provider

License

See LICENSE.

Metadata

Release files for parsimony-rba 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 parsimony-rba 0.0.2
File Size Uploaded Provenance
parsimony_rba-0.0.2.tar.gz 22.2 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for parsimony-rba 0.0.2
File Interpreter ABI Platform
parsimony_rba-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 47.0 kB

Release files / parsimony_rba-0.0.2.tar.gz

Download URL parsimony_rba-0.0.2.tar.gz
Size 22.2 kB
Tags Source
SHA-256 checksum
How to use checksums
48db187d6a6b81f303ad28d84d78219ea400f0b92d4e4f09d13d84a839aafe3f
BLAKE2b-256 checksum
How to use checksums
37653df7d1b601d7993bc76414d8bee39ba5a1af5a54b61ca00318f19632d0e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Aug 10, 2026.

Transparency log

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

Download URL parsimony_rba-0.0.2-py3-none-any.whl
Size 24.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2304dbc2a8f380e4f6e5134d6d49765b0378540c350b4e36fc320c91f0bbe548
BLAKE2b-256 checksum
How to use checksums
18740a393ee47023774a2e2069b75848b223689445dd5dca26fdab41fd0cb8a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Aug 10, 2026.

Transparency log

Security for parsimony-rba 0.0.2

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for parsimony_rba-0.0.2.tar.gz

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 Aug 10, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files Full provenance

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