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

Download files

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

Source Distribution

parsimony_rba-0.0.2.tar.gz (22.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

parsimony_rba-0.0.2-py3-none-any.whl (24.8 kB view details)

Uploaded Python 3

File details

Details for the file parsimony_rba-0.0.2.tar.gz.

File metadata

  • Download URL: parsimony_rba-0.0.2.tar.gz
  • Upload date:
  • Size: 22.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for parsimony_rba-0.0.2.tar.gz
Algorithm Hash digest
SHA256 48db187d6a6b81f303ad28d84d78219ea400f0b92d4e4f09d13d84a839aafe3f
MD5 9832a6dc7489814dc71a8068e718d7e6
BLAKE2b-256 37653df7d1b601d7993bc76414d8bee39ba5a1af5a54b61ca00318f19632d0e6

See more details on using hashes here.

Provenance

The following attestation bundles were made for parsimony_rba-0.0.2.tar.gz:

Publisher: release.yml on ockham-sh/parsimony-connectors

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file parsimony_rba-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: parsimony_rba-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 24.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for parsimony_rba-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2304dbc2a8f380e4f6e5134d6d49765b0378540c350b4e36fc320c91f0bbe548
MD5 09f4226b4c86916d2e8e3527b8120ede
BLAKE2b-256 18740a393ee47023774a2e2069b75848b223689445dd5dca26fdab41fd0cb8a9

See more details on using hashes here.

Provenance

The following attestation bundles were made for parsimony_rba-0.0.2-py3-none-any.whl:

Publisher: release.yml on ockham-sh/parsimony-connectors

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 files

0.0.1

2 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