Skip to main content

Bank of Japan connector for the parsimony framework

Project description

parsimony-boj

Bank of Japan (BoJ) statistics connector — fetches time series from the BoJ Time-Series Data Search.

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

Connectors

Name Kind Description
boj_fetch fetch Fetch BoJ time series by database (db) and series code. Max 250 codes per request.
enumerate_boj enumerator Enumerate BoJ series across the 45 known databases (catalog indexing).

Install

pip install parsimony-boj

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

No environment variables required. The BoJ API is unauthenticated.

Quick start

import asyncio
from parsimony_boj import CONNECTORS

async def main():
    connectors = CONNECTORS.bind_env()
    result = await connectors["boj_fetch"](db="FM08", code="FXERD01")
    print(result.data.head())

asyncio.run(main())

For multi-plugin composition:

from parsimony import discover
connectors = discover.load_all().bind_env()

Provider

License

See LICENSE.

Project details


Download files

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

Source Distribution

parsimony_boj-0.5.0.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

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

parsimony_boj-0.5.0-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file parsimony_boj-0.5.0.tar.gz.

File metadata

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

File hashes

Hashes for parsimony_boj-0.5.0.tar.gz
Algorithm Hash digest
SHA256 48988231bebee48f8d7ac03ecad21b977eeaae2189d7cb022b27a956bf1cb81c
MD5 ee7f47b923a0d157c431b0795b48a8e0
BLAKE2b-256 c31dc5c32dd5b61e921312142333e6960449f4562577281130efbf28c7eca3d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for parsimony_boj-0.5.0.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_boj-0.5.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for parsimony_boj-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 972e59ab4d83ef5e07da1d8cce874cf8b70a5eca6fb83809044e8d4fcfeafdd3
MD5 72569cb678d6d468162546cdc4e2bab4
BLAKE2b-256 152364b9c23a76c52834959d65e8c8b55bf1c9c1cef59d0cbcc16ce7dea3551e

See more details on using hashes here.

Provenance

The following attestation bundles were made for parsimony_boj-0.5.0-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.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page