Reserve Bank of Australia connector for the parsimony framework
Project description
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 table_id portion (before #) of a returned code 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-core 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.data.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
- Homepage: https://www.rba.gov.au
- Statistical tables: https://www.rba.gov.au/statistics/tables/
License
See LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file parsimony_rba-0.0.1.tar.gz.
File metadata
- Download URL: parsimony_rba-0.0.1.tar.gz
- Upload date:
- Size: 22.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
643d59fc0a499a6d5c8b863adc1fbc3c64ef0f6a920737b61909ec210a46cf16
|
|
| MD5 |
ff936b345cd462ddec3eb984e8063f0f
|
|
| BLAKE2b-256 |
f98939bfd2ff1dc81ac0071473f9f002db82afa8b81560d5db65bba36a7d117e
|
Provenance
The following attestation bundles were made for parsimony_rba-0.0.1.tar.gz:
Publisher:
release.yml on ockham-sh/parsimony-connectors
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
parsimony_rba-0.0.1.tar.gz -
Subject digest:
643d59fc0a499a6d5c8b863adc1fbc3c64ef0f6a920737b61909ec210a46cf16 - Sigstore transparency entry: 1971023571
- Sigstore integration time:
-
Permalink:
ockham-sh/parsimony-connectors@517cb5874f97ffede7738611ed75bb3ed27e26a0 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ockham-sh
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@517cb5874f97ffede7738611ed75bb3ed27e26a0 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file parsimony_rba-0.0.1-py3-none-any.whl.
File metadata
- Download URL: parsimony_rba-0.0.1-py3-none-any.whl
- Upload date:
- Size: 24.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9237013045fd47cea38a846bb51cdab57d62102f4f3572a9da978623dcb2fee
|
|
| MD5 |
04ffcd0b71a64d3f142ef4730eb3ce30
|
|
| BLAKE2b-256 |
5f5afb8c09287082fc8a5b8beabfc6b7004e0c54e4a20051b2b3cb1658e69979
|
Provenance
The following attestation bundles were made for parsimony_rba-0.0.1-py3-none-any.whl:
Publisher:
release.yml on ockham-sh/parsimony-connectors
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
parsimony_rba-0.0.1-py3-none-any.whl -
Subject digest:
a9237013045fd47cea38a846bb51cdab57d62102f4f3572a9da978623dcb2fee - Sigstore transparency entry: 1971023605
- Sigstore integration time:
-
Permalink:
ockham-sh/parsimony-connectors@517cb5874f97ffede7738611ed75bb3ed27e26a0 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ockham-sh
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@517cb5874f97ffede7738611ed75bb3ed27e26a0 -
Trigger Event:
workflow_dispatch
-
Statement type: