FRED (Federal Reserve Economic Data) connector for the parsimony framework
Project description
parsimony-fred
FRED (Federal Reserve Economic Data) connector for the parsimony framework.
Part of the parsimony-connectors monorepo. Distributed standalone on PyPI as parsimony-fred.
What it does
Once installed, this plugin is discovered automatically and exposes the following connectors:
| Connector | Kind | Tool-tagged | Description |
|---|---|---|---|
fred_search |
connector | yes | Keyword search across FRED series (id, title, units, frequency). |
fred_fetch |
connector | — | Fetch observation-level data for a FRED series by series_id. |
Install
pip install parsimony-fred
Pulls in a compatible parsimony-core automatically.
Configuration
export FRED_API_KEY="<your-key>"
Get a key at https://fred.stlouisfed.org/docs/api/api_key.html.
Verify discovery:
python -c "from parsimony import discover; print([p.name for p in discover.iter_providers()])"
Quick start
import asyncio
from parsimony_fred import CONNECTORS
async def main():
connectors = CONNECTORS
result = await connectors["fred_fetch"](series_id="UNRATE")
print(result.data.head())
asyncio.run(main())
For multi-plugin composition:
from parsimony import discover
connectors = discover.load_all()
Catalog discovery
FRED ships a native search endpoint, so this plugin does not publish an
embedded catalog. Use fred_search for keyword discovery — it calls
/series/search directly against the FRED API.
Development
uv sync --extra dev
uv run pytest
Release-blocking conformance test: uv run pytest tests/test_conformance.py.
Provider
- Homepage: https://fred.stlouisfed.org
- API docs: https://fred.stlouisfed.org/docs/api/fred/
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file parsimony_fred-0.7.1.tar.gz.
File metadata
- Download URL: parsimony_fred-0.7.1.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
663da091bf15f7c8e313b66b2e76bb1f0618eadb74dbd57964c2979df679c2b7
|
|
| MD5 |
be782e63ac5b7079e76600b0f7c67526
|
|
| BLAKE2b-256 |
fcaa7dd7f2f58aadc13e2b520b5e90cdac19c91044076b97bc39e1e4b3d4e938
|
Provenance
The following attestation bundles were made for parsimony_fred-0.7.1.tar.gz:
Publisher:
release.yml on ockham-sh/parsimony-connectors
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
parsimony_fred-0.7.1.tar.gz -
Subject digest:
663da091bf15f7c8e313b66b2e76bb1f0618eadb74dbd57964c2979df679c2b7 - Sigstore transparency entry: 1724328430
- Sigstore integration time:
-
Permalink:
ockham-sh/parsimony-connectors@665d02635c8f4a6581b8d802bf37bbf6d3c4170d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ockham-sh
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@665d02635c8f4a6581b8d802bf37bbf6d3c4170d -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file parsimony_fred-0.7.1-py3-none-any.whl.
File metadata
- Download URL: parsimony_fred-0.7.1-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e649acead611d3a073b9a78e3c4093b6a715cf5772998ea0164c998bbc4e259a
|
|
| MD5 |
0b8e61952f67991c647547a38fd0a1d0
|
|
| BLAKE2b-256 |
0b7e88bc440ed434b35659dff0973a86a721a04770cff5d03a30024f1b7b0db1
|
Provenance
The following attestation bundles were made for parsimony_fred-0.7.1-py3-none-any.whl:
Publisher:
release.yml on ockham-sh/parsimony-connectors
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
parsimony_fred-0.7.1-py3-none-any.whl -
Subject digest:
e649acead611d3a073b9a78e3c4093b6a715cf5772998ea0164c998bbc4e259a - Sigstore transparency entry: 1724328461
- Sigstore integration time:
-
Permalink:
ockham-sh/parsimony-connectors@665d02635c8f4a6581b8d802bf37bbf6d3c4170d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ockham-sh
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@665d02635c8f4a6581b8d802bf37bbf6d3c4170d -
Trigger Event:
workflow_dispatch
-
Statement type: