parsimony-bdf
Banque de France connector — French macroeconomic, monetary, and financial time series via the Webstat (Opendatasoft) API.
Part of the parsimony-connectors monorepo. Distributed standalone on PyPI as parsimony-bdf.
Connectors
| Name | Kind | Description |
|---|---|---|
bdf_fetch |
connector | Fetch a Banque de France time series by SDMX key (e.g. EXR.M.USD.EUR.SP00.E), optionally bounded by start_period/end_period. |
enumerate_bdf |
enumerator | Stream the full BdF series universe (~41.6k series across 45 dataflows) for catalog discovery. |
bdf_search |
connector | Semantic-search the published BdF catalog snapshot; returns ranked series codes. |
Install
pip install parsimony-bdf
Pulls in a compatible parsimony automatically. Verify discovery:
python -c "from parsimony import discover; print([p.name for p in discover.iter_providers()])"
Configuration
The Webstat API requires a free API key. Register at https://developer.webstat.banque-france.fr/, then set:
export BDF_API_KEY="<your-key>"
The key is sent in the Authorization: Apikey <KEY> header (the literal word
Apikey, not Bearer). It is declared as a secret (stripped from
provenance) and never appears in request logs. Supply it via the env var above,
or bind it explicitly:
from parsimony_bdf import load
connectors = load(api_key="<your-key>") # binds the key across the bundle
A missing key fails fast with UnauthorizedError naming BDF_API_KEY.
bdf_search reads a published catalog snapshot (default hf://parsimony-dev/bdf).
Override the snapshot location with the PARSIMONY_BDF_CATALOG_URL environment
variable, or pass catalog_url= at call time.
Quick start
from parsimony_bdf import load
connectors = load(api_key="<your-key>")
result = connectors["bdf_fetch"](key="EXR.M.USD.EUR.SP00.E")
print(result.raw.head())
For multi-plugin composition (autoloads everything installed):
from parsimony import discover
connectors = discover.load_all()
Catalogs
The Webstat series dataset is a single flat queryable table, so enumerate_bdf
discovers the entire universe in two requests: one series/exports/json
export (~41.6k series) plus one webstat-datasets call for the 45 dataflow stub
rows. Each series row carries English + French titles and a topic breadcrumb,
folded into the catalog description for cross-language recall. Maintainers
build a Catalog snapshot from it (scripts/build_catalog.py) and push it to
the snapshot URL bdf_search reads — the build runs offline as a publish job,
never at query time. Quota: 10,000 requests/day.
Provider
- Homepage: https://www.banque-france.fr
- Webstat portal: https://webstat.banque-france.fr
- Developer portal: https://developer.webstat.banque-france.fr/
License
See LICENSE.
Metadata
Release files for parsimony-bdf 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| parsimony_bdf-0.0.2.tar.gz | 16.8 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| parsimony_bdf-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.0 kB
Release files / parsimony_bdf-0.0.2.tar.gz
| Download URL | parsimony_bdf-0.0.2.tar.gz |
|---|---|
| Size | 16.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1d5fb59d84f1c07e09f1ad1a61c4aace2403e52b39fb6ea7764fd8ffbd2742c9
|
|
BLAKE2b-256 checksum How to use checksums |
9348c176c6065064c36479a53b2ed51123b84a40991523565b98d10262806e36
|
| 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 logRelease files / parsimony_bdf-0.0.2-py3-none-any.whl
| Download URL | parsimony_bdf-0.0.2-py3-none-any.whl |
|---|---|
| Size | 19.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3a328b06e34fdfea2a98ca65b02538efe8fcd392686afd72d39f160214cef119
|
|
BLAKE2b-256 checksum How to use checksums |
03291e3c29ffa1a10814d1552d2d0de5f0990336a21f73e46354cde34e522538
|
| 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 logSecurity for parsimony-bdf 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.
Attestation for parsimony_bdf-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 logA 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.