Skip to main content

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. Agency sources are fetched directly; their addresses resolve through the hosted manifest catalog, which requires an API key supplied by mostlyright.configure(api_key=...) or the MOSTLYRIGHT_API_KEY environment variable (subscriptions at https://app.mostlyright.md; both routes in docs/api-key.md). Imports as mostlyright.economy.

The public API includes economy.series() for historical releases, economy.snapshot() for the settlement-grade value knowable at a cutoff (the first print, never a later revision), economy.releases() for the release calendar, and economy.training_table() for joined market and release rows. series() and snapshot() exclude revisions published after the requested cutoff; training_table(as_of=...) instead raises LeakageError when a later-published row would enter the join. See docs/economy-vertical.md for every method and parameter.

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 default path makes no FRED call (the agency sources need no key of their own; the SDK's own key — mostlyright.configure(api_key=...) or MOSTLYRIGHT_API_KEY — addresses only the manifest catalog). 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 for the per-source table.

Docs

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

Release files for mostlyrightmd-economy 5.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mostlyrightmd-economy 5.0.1
File Size Uploaded
mostlyrightmd_economy-5.0.1.tar.gz 620.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mostlyrightmd-economy 5.0.1
File Interpreter ABI Platform
mostlyrightmd_economy-5.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 925.3 kB

Release files / mostlyrightmd_economy-5.0.1.tar.gz

Download URL mostlyrightmd_economy-5.0.1.tar.gz
Size 620.8 kB
Tags Source
SHA-256 checksum
How to use checksums
65599a81880b99822633fbb747eab4f4eda64575d3157b8f688a80d2310bb113
BLAKE2b-256 checksum
How to use checksums
8a30bed43f86c313a470333473795081227c043886113a72f5e2503e39414821
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 25, 2026.

Transparency log

Release files / mostlyrightmd_economy-5.0.1-py3-none-any.whl

Download URL mostlyrightmd_economy-5.0.1-py3-none-any.whl
Size 304.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
67d06ac4e3e8cc4c2ba3e012adc265983aec412402076f5c8ebf259fc043efa5
BLAKE2b-256 checksum
How to use checksums
1f8e09202dd5edc8e6a061567b6d2acf57ec0d07e2bf59945b135c6c3540c00d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 25, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

5.0.1 This release

2 release files

5.0.0

2 release files

4.1.1

2 release files

4.1.0

2 release files

4.0.0

2 release files

3.0.0

2 release files

2.1.0

2 release files

2.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page