'A simplified aggegate of FRED data using fredapi package'
Project description
lazy_fred
Simple FRED data pulls for first-time Python users.
Quickstart
python -m pip install --upgrade lazy_fred
lazy-fred doctor
lazy-fred quick
If prompted, paste your FRED API key.
Command reference
| Command | What it does | Best for |
|---|---|---|
lazy-fred doctor |
Checks Python version, API key, write access, and FRED connectivity | First run/debug |
lazy-fred quick |
Pulls a small popular starter set | Fast validation |
lazy-fred standard |
Pulls a medium default set | Normal usage |
lazy-fred full |
Pulls all default categories | Full dataset |
lazy-fred favorites macro |
Pulls macro favorites | Macro analysis |
lazy-fred favorites rates |
Pulls rates/FX favorites | Rates work |
lazy-fred favorites labor |
Pulls labor favorites | Jobs/labor work |
lazy-fred favorites markets |
Pulls markets favorites | Market signals |
What you get
Output CSV files:
filtered_series.csvdaily_data.csvmonthly_data.csvweekly_data.csv
If files already exist, they are auto-backed up to backups/<timestamp>/.
Time and retry behavior
- Terminal shows estimate, elapsed time, and ETA while running.
- API calls use exponential backoff retries for rate limits/transient errors.
- You can choose a start date in:
- terminal prompt before
run/run-all - notebook date picker in Colab UI
- terminal prompt before
Colab UI
!pip install -U lazy_fred ipywidgets
import lazy_fred as lf
from google.colab import userdata
lf.launch_notebook_ui(userdata.get("fred_api_key"))
If launch_notebook_ui is missing in Colab:
!pip install -U "git+https://github.com/Jmetrics86/lazy_fred.git"
Troubleshooting
- Command not found
- Reinstall and open a new terminal:
python -m pip install --upgrade lazy_fred
- API key errors
- Confirm key is valid and active on FRED.
- Run
lazy-fred doctor.
- Colab function missing
- Install latest from GitHub (command above) and restart runtime.
- Run seems slow
- This is expected for large pulls due to FRED quotas.
- Use
quickor a favorites profile first.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lazy_fred-0.1.69.tar.gz
(25.1 kB
view details)
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 lazy_fred-0.1.69.tar.gz.
File metadata
- Download URL: lazy_fred-0.1.69.tar.gz
- Upload date:
- Size: 25.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d582d362a68719c344c680529100b73cf848d6cfc03ea935044698f23d25769
|
|
| MD5 |
83e4e3318b6b21d304a0725b9ed37301
|
|
| BLAKE2b-256 |
3fc31c9c952f4b91ff250f31de336220bdc78ea1b8e300904c3a0a74d70e8cbf
|
File details
Details for the file lazy_fred-0.1.69-py3-none-any.whl.
File metadata
- Download URL: lazy_fred-0.1.69-py3-none-any.whl
- Upload date:
- Size: 26.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9cc78f10153c30eade8567908d96e22d9280241190f0f953a60ad19b350ef30c
|
|
| MD5 |
d6cfb3f2aa7048cac441390512af6a18
|
|
| BLAKE2b-256 |
cca797e672c148f9f67b5ff1096f9d114252dd71e5b934d8adf4a19af6e56a2f
|