FRED_Loader
A Python wrapper around the Federal Reserve FRED API that abstracts away
series IDs, resampling rules, and macro scoring behind a clean,
human-readable interface. Installs as fred-loader, for anyone who pulls
macroeconomic data into pandas.
Install
pip install fred-loader
Or from a checkout of this repository: pip install -e ..
Quickstart
from fred_loader import Config, pull_fred
cfg = Config(filename="fred_master.csv", output_path="./data")
df = pull_fred(cfg)
Cherry-pick series categories:
from fred_loader import INFLATION, LABOR, RATES, Config, pull_fred
cfg = Config(
filename="policy_inputs.csv",
output_path="./data",
series={**INFLATION, **LABOR, **RATES},
)
df = pull_fred(cfg)
Project structure
src/fred_loader/
__init__.py # public API re-exports
utils.py # Config
load.py # pull_fred entry point
series.py # series catalog: categories and subcategories
macro_scores.py # scoring layer: score, available_scores
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 fred_loader-0.1.0.tar.gz.
File metadata
- Download URL: fred_loader-0.1.0.tar.gz
- Upload date:
- Size: 34.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cea5e49eab210687926703f97a81a3ff7b0888af634c2b7e0a0289d70c5ebd00
|
|
| MD5 |
a4964bed2aa1ffe54a75f47d2c81c8d7
|
|
| BLAKE2b-256 |
64dda59a2a5be5f0e2af9d6e5ffc584601389b9f68500e53720290a34a8b6db9
|
Provenance
The following attestation bundles were made for fred_loader-0.1.0.tar.gz:
Publisher:
tests.yml on iasolb/fred-loader
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fred_loader-0.1.0.tar.gz -
Subject digest:
cea5e49eab210687926703f97a81a3ff7b0888af634c2b7e0a0289d70c5ebd00 - Sigstore transparency entry: 2820975783
- Sigstore integration time:
-
Permalink:
iasolb/fred-loader@2121e3fd2466ebd3430a5486984da567209314ce -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/iasolb
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
tests.yml@2121e3fd2466ebd3430a5486984da567209314ce -
Trigger Event:
push
-
Statement type:
File details
Details for the file fred_loader-0.1.0-py3-none-any.whl.
File metadata
- Download URL: fred_loader-0.1.0-py3-none-any.whl
- Upload date:
- Size: 24.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a67c07ca78fa376f00c9380531080ead884e8f556f90a968543df656c435af9f
|
|
| MD5 |
90e2f5538d4da8b3085f7f6c5d432cd8
|
|
| BLAKE2b-256 |
99dd76836fb10c920df3cf00f43358e8d3c99ebd7e3126541d7f13d022e8572f
|
Provenance
The following attestation bundles were made for fred_loader-0.1.0-py3-none-any.whl:
Publisher:
tests.yml on iasolb/fred-loader
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fred_loader-0.1.0-py3-none-any.whl -
Subject digest:
a67c07ca78fa376f00c9380531080ead884e8f556f90a968543df656c435af9f - Sigstore transparency entry: 2820975866
- Sigstore integration time:
-
Permalink:
iasolb/fred-loader@2121e3fd2466ebd3430a5486984da567209314ce -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/iasolb
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
tests.yml@2121e3fd2466ebd3430a5486984da567209314ce -
Trigger Event:
push
-
Statement type: