Skip to main content

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

fred_loader-0.1.0.tar.gz (34.3 kB view details)

Uploaded Source

Built Distribution

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

fred_loader-0.1.0-py3-none-any.whl (24.1 kB view details)

Uploaded Python 3

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

Hashes for fred_loader-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cea5e49eab210687926703f97a81a3ff7b0888af634c2b7e0a0289d70c5ebd00
MD5 a4964bed2aa1ffe54a75f47d2c81c8d7
BLAKE2b-256 64dda59a2a5be5f0e2af9d6e5ffc584601389b9f68500e53720290a34a8b6db9

See more details on using hashes here.

Provenance

The following attestation bundles were made for fred_loader-0.1.0.tar.gz:

Publisher: tests.yml on iasolb/fred-loader

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

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

Hashes for fred_loader-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a67c07ca78fa376f00c9380531080ead884e8f556f90a968543df656c435af9f
MD5 90e2f5538d4da8b3085f7f6c5d432cd8
BLAKE2b-256 99dd76836fb10c920df3cf00f43358e8d3c99ebd7e3126541d7f13d022e8572f

See more details on using hashes here.

Provenance

The following attestation bundles were made for fred_loader-0.1.0-py3-none-any.whl:

Publisher: tests.yml on iasolb/fred-loader

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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 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