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.4.0.tar.gz (16.1 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.4.0-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: parsimony_boj-0.4.0.tar.gz
  • Upload date:
  • Size: 16.1 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.4.0.tar.gz
Algorithm Hash digest
SHA256 cc2123689ae02955daf4e17b3f62956ef596114b19991a6edbefd25d449c17f7
MD5 4ed986364d3bc8fbbfbfe614b3bce6cf
BLAKE2b-256 4d5662dfd8fb8ec44aedbf6dd8d7e519bb134c6098c719061c9dbb8e5f2f8c9c

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: parsimony_boj-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 16.5 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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4b29c032b7a58d1453eeffeb683274d6af3bf3befbb4752aed47dbf5ad123e3f
MD5 717261104f6ddb4d4ea0f65771cc3012
BLAKE2b-256 17131d8745357ee9bf13c2e63f09b12b84c4f2909e001366e7a9679197debb69

See more details on using hashes here.

Provenance

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