Banque de France connector for the parsimony framework
Project description
parsimony-bdf
Banque de France connector — French macroeconomic, monetary, and financial time series via the SDMX-based Webstat API.
Part of the parsimony-connectors monorepo. Distributed standalone on PyPI as parsimony-bdf.
Connectors
| Name | Kind | Description |
|---|---|---|
bdf_fetch |
fetch | Fetch a Banque de France SDMX time series by key (e.g. EXR.M.USD.EUR.SP00.E). |
enumerate_bdf |
enumerator | Enumerate all BdF datasets via the SDMX catalogue endpoint. |
Install
pip install parsimony-bdf
Pulls in parsimony-core>=0.4,<0.5 automatically. Verify discovery:
python -c "from parsimony import discover; print([p.name for p in discover.iter_providers()])"
Configuration
Set the following environment variable:
export BANQUEDEFRANCE_KEY="<your-key>"
Register for a free key at https://developer.webstat.banque-france.fr/. The key is sent via the X-IBM-Client-Id header (IBM API Connect gateway).
Quick start
import asyncio
from parsimony_bdf import CONNECTORS
async def main():
connectors = CONNECTORS.bind_env()
result = await connectors["bdf_fetch"](key="EXR.M.USD.EUR.SP00.E")
print(result.data.head())
asyncio.run(main())
For multi-plugin composition (autoloads everything installed):
from parsimony import discover
connectors = discover.load_all().bind_env()
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.
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_bdf-0.5.0.tar.gz.
File metadata
- Download URL: parsimony_bdf-0.5.0.tar.gz
- Upload date:
- Size: 15.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 |
fcb541456092db08207b1824b3ce09bd6b73529fbf6fa98ac002bb00d9816eaf
|
|
| MD5 |
945962d139563819b0d0bce34bd4f864
|
|
| BLAKE2b-256 |
d5d8becdd4ae9bd2ee478c28ddd5f58787cf81636c4deddc86f83cf412e17ceb
|
Provenance
The following attestation bundles were made for parsimony_bdf-0.5.0.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_bdf-0.5.0.tar.gz -
Subject digest:
fcb541456092db08207b1824b3ce09bd6b73529fbf6fa98ac002bb00d9816eaf - Sigstore transparency entry: 1453250430
- Sigstore integration time:
-
Permalink:
ockham-sh/parsimony-connectors@db37b495a6c7b7c5a4e5bfdfa5b5b4d74ac4b1b6 -
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@db37b495a6c7b7c5a4e5bfdfa5b5b4d74ac4b1b6 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file parsimony_bdf-0.5.0-py3-none-any.whl.
File metadata
- Download URL: parsimony_bdf-0.5.0-py3-none-any.whl
- Upload date:
- Size: 15.4 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 |
d8ed1bd82a8639a80c00b5d9c611671b007229795101d4779faf0454fece688a
|
|
| MD5 |
d38ece0889429361b4ace129e065f30e
|
|
| BLAKE2b-256 |
6ef3a800cf84878616c2500caea78f6082a95930f6abe762982d4b2c56a308be
|
Provenance
The following attestation bundles were made for parsimony_bdf-0.5.0-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_bdf-0.5.0-py3-none-any.whl -
Subject digest:
d8ed1bd82a8639a80c00b5d9c611671b007229795101d4779faf0454fece688a - Sigstore transparency entry: 1453250482
- Sigstore integration time:
-
Permalink:
ockham-sh/parsimony-connectors@db37b495a6c7b7c5a4e5bfdfa5b5b4d74ac4b1b6 -
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@db37b495a6c7b7c5a4e5bfdfa5b5b4d74ac4b1b6 -
Trigger Event:
workflow_dispatch
-
Statement type: