Skip to main content

FRED (Federal Reserve Economic Data) connector for the parsimony framework

Project description

parsimony-fred

FRED (Federal Reserve Economic Data) connector for the parsimony framework.

What it does

Once installed alongside parsimony-core, this plugin is discovered automatically and exposes the following connectors:

Connector Kind Tool-tagged Description
fred_search search Keyword search across FRED series (id, title, units, frequency).
fred_fetch fetch Fetch observation-level data for a FRED series by series_id.
enumerate_fred_release enumerator Enumerate all series in a FRED release (catalog indexing).

Install

pip install parsimony-core parsimony-fred
export FRED_API_KEY=<your-key>  # https://fred.stlouisfed.org/docs/api/api_key.html

Verify discovery:

parsimony list-plugins

Use

from parsimony.connectors import build_connectors_from_env

connectors = build_connectors_from_env()
result = await connectors["fred_fetch"](series_id="UNRATE")
df = result.data  # pandas DataFrame

Or via the MCP server (exposes only tool-tagged connectors):

parsimony mcp serve --tool-only

Development

uv sync --extra dev
uv run pytest

Release-blocking conformance test: uv run pytest tests/test_conformance.py.

License

Apache-2.0 — 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_fred-0.1.1.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

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

parsimony_fred-0.1.1-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file parsimony_fred-0.1.1.tar.gz.

File metadata

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

File hashes

Hashes for parsimony_fred-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9892e28645f492845b729af718437504d2126c7b45e7af44c744f9258551f2c1
MD5 d32e6d46a1105f2a6ba23c2dd30de6d3
BLAKE2b-256 fd4166df0c97b9c30a01fb5c770074cdeecf793adc9674d4b074f0d0362afb5e

See more details on using hashes here.

Provenance

The following attestation bundles were made for parsimony_fred-0.1.1.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_fred-0.1.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for parsimony_fred-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 56bd2f3f8fbc35f53e0f8f150d78401deaabfbb9ff0f9c7f83c8e2bc10c4d14a
MD5 aea5db0c66a9e489108915a53e0d2154
BLAKE2b-256 e8a4e8321c80112a347fa4d1e59795be2f74187dc5148d4aba265f391fd7d364

See more details on using hashes here.

Provenance

The following attestation bundles were made for parsimony_fred-0.1.1-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