Skip to main content

Economic-indicator data for Python — CPI, PPI, nonfarm payrolls, unemployment, GDP, jobless claims, Fed decisions — from FRED/ALFRED, BLS, BEA, DOL, Federal Reserve. First-print vintage discipline for prediction-market settlement. Imports as `mostlyright.economy`.

Project description

mostlyrightmd-economy

Economic-indicator data for the mostlyright Python SDK — CPI, PPI, nonfarm payrolls (NFP), unemployment, GDP, jobless claims, and Fed decisions — sourced from FRED/ALFRED, BLS, BEA, DOL, and the Federal Reserve, joined to Kalshi and Polymarket economy markets with publication vintages attached. Imports as mostlyright.economy.

The public surface is economy.series() (canonical read), economy.snapshot() (settlement-target state as-of a cutoff), economy.releases() (the release calendar), and economy.training_table() (a settlement-pair example). All four carry the first-print / ALFRED vintage discipline. See docs/economy-vertical.md for the full surface.

Install

pip install mostlyrightmd-economy          # brings mostlyrightmd transitively

Data sources & required notices

This product uses the FRED® API but is not endorsed or certified by the Federal Reserve Bank of St. Louis. This product uses the Bureau of Economic Analysis (BEA) Data API but is not endorsed or certified by BEA. BLS, BEA, DOL, and Federal Reserve Board data are US-government works in the public domain; citations to the source agencies are appreciated. Per the BLS Terms of Service, when you publish results derived from BLS data retrieved via this SDK, cite the retrieval date and state: "BLS.gov cannot vouch for the data or analyses derived from these data after the data have been retrieved from BLS.gov." Nothing in this package is endorsed by, or implies endorsement by, any source agency or Reserve Bank.

The keyless default path makes no FRED call. The FRED/ALFRED vintage path is opt-in via your own free FRED_API_KEY and is governed by the FRED® API Terms of Use (which, among other things, prohibits storing/caching FRED content and using it in ML training) — your key, your acceptance. The weekly jobless-claims fetcher also transports its bytes through FRED (ICSA/ICNSA) because DOL's machine-readable path is bot-walled. See the data-sources & licensing section of the vertical docs for the per-source table.

Docs

See https://mostlyright.md/docs/sdk/ for quickstart and the full API reference.

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

mostlyrightmd_economy-2.0.0.tar.gz (136.6 kB view details)

Uploaded Source

Built Distribution

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

mostlyrightmd_economy-2.0.0-py3-none-any.whl (97.1 kB view details)

Uploaded Python 3

File details

Details for the file mostlyrightmd_economy-2.0.0.tar.gz.

File metadata

  • Download URL: mostlyrightmd_economy-2.0.0.tar.gz
  • Upload date:
  • Size: 136.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for mostlyrightmd_economy-2.0.0.tar.gz
Algorithm Hash digest
SHA256 83e03cbc35f323dfc68be04c56f2ad611b6529ad83db728ca4834e251f00ba3a
MD5 ea69dd969d329acffe838fb9874a6f55
BLAKE2b-256 bbd2c356ccdb79b6eaaf806586f8bf534fc48c9bf893db8170d83b7ccdd6ab52

See more details on using hashes here.

Provenance

The following attestation bundles were made for mostlyrightmd_economy-2.0.0.tar.gz:

Publisher: release.yml on mostlyrightmd/mostlyright-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mostlyrightmd_economy-2.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mostlyrightmd_economy-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 162c57ab12315f1ba87a6dc198521018de98a210979c6303572c458535d4af9f
MD5 2754a2618a77e49a1cfe85d1d5199af8
BLAKE2b-256 c3abb2807d73199211477c1d8ae1ce94294ba3c6d9b4ae2aa881cd40119a2ab1

See more details on using hashes here.

Provenance

The following attestation bundles were made for mostlyrightmd_economy-2.0.0-py3-none-any.whl:

Publisher: release.yml on mostlyrightmd/mostlyright-sdk

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