# Install fred with Homebrew, zypper

Fully featured FRED Command-line Interface & Python API wrapper. Version 1.2.1 via Homebrew; verified 2026-05-21.

## Install

```sh
sudo av install brew:fred
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install fred
```

  Evidence: local Homebrew formula metadata

### Linux

- zypper (92%):

```sh
sudo zypper install fred
```

  Evidence: openSUSE Tumbleweed package metadata: fred from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:fred
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/fred>
- **Version:** 1.2.1
- **Source summary:** Fully featured FRED Command-line Interface & Python API wrapper
- **Homepage:** <https://fred.stlouisfed.org/docs/api/fred/>
- **Repository:** <https://github.com/zachspar/fred-py-api>
- **Upstream docs:** <https://fred-py-api.readthedocs.io/en/latest>
- **License:** MIT
- **Source archive:** <https://files.pythonhosted.org/packages/81/97/25f2721387b30613436d80e0d82d6b2dea76f053139950e5b02d7786dccd/fred_py_api-1.2.1.tar.gz>
- **Last updated:** 2026-05-21T13:53:34Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- categories (cli)
- fred (cli)
- releases (cli)
- series (cli)
- sources (cli)
- tags (cli)
- categories (alias)
- fred (alias)
- releases (alias)
- series (alias)
- sources (alias)
- tags (alias)

## Dependencies

- certifi
- python@3.14

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.2.1
- Package-manager updated: 2026-05-21
- Local data: ok
- Upstream repository: https://fred.stlouisfed.org/docs/api/fred/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

Fred CLI & Python API is a Python package and command-line interface for the Federal Reserve Bank of St. Louis FRED API. It wraps FRED data endpoints in Python modules and exposes separate CLI commands for major endpoint groups such as categories, releases, series, sources, and tags.

### Project history

The GitHub repository was created in June 2022. The first pre-alpha release was published on June 23, 2022 as the first PyPI release, followed quickly by dependency fixes, full API stubs, a first full implementation of all APIs, and a test suite.

The project metadata describes it as production/stable, intended for developers, finance users, and science/research users. The README documents installation through Homebrew and PyPI, Read the Docs API documentation, a GitHub wiki, FRED API documentation, and API key creation through the St. Louis Fed account site.

### Adoption history

The package is packaged for Homebrew as fred and for Python as fred-py-api on PyPI. Its README also documents shell completion snippets for zsh, bash, and fish, which is a sign that the CLI was intended for repeated terminal use rather than only occasional scripting.

### How it is used

Users install the package with brew install fred or pip install fred-py-api. The pyproject defines console scripts named fred, categories, releases, series, sources, and tags; these map to the main FRED data domains exposed by the official St. Louis Fed API documentation.

### Why package nerds care

Fred is interesting as a package because it turns a public economic-data web API into both importable Python modules and Unix-style subcommands. It packages a government-backed data source in a way that fits shell workflows, notebooks, finance scripts, and reproducible research pipelines.

### Timeline

- 2022: Repository created on June 22.
- 2022: v0.0.1-pre-alpha released as the first PyPI release.
- 2022: v0.0.5-pre-alpha marked the first full implementation of all APIs.
- 2022: v0.0.6-pre-alpha added a test suite with full coverage notes.
- 2022: v0.1.0-beta published after alpha releases.
- 2024: Read the Docs documentation generated for fred-py-api 1.2.0.
- 2026: Repository metadata shows active version 1.2.1 in pyproject.

### Related projects

- The project is directly related to the official FRED API, the FRED API key service, the fred-py-api Read the Docs site, and Python packaging through PyPI. It is also related to Click and Requests, which are listed as package dependencies.

### Sources

- <https://api.github.com/repos/zachspar/fred-py-api>
- <https://fred-py-api.readthedocs.io/en/latest>
- <https://fred.stlouisfed.org/docs/api/fred>
- <https://github.com/zachspar/fred-py-api>
- <https://github.com/zachspar/fred-py-api/releases>


## Security Notes

No matching local secret-handling manifest was found for fred. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** fred
- **Version Scheme:** 0
- **Revision:** 2
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- zypper - fred - 0.2.0-1.28: normalized package name match | openSUSE Tumbleweed package metadata: fred from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Forensic Registry EDitor, an editor for Microsoft Registry hives | https://www.pinguin.lu/fred
- zypper - tags - 1.8-1.3: installed executable or alias match | openSUSE Tumbleweed package metadata: tags from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A simple text tagger | https://github.com/phastmike/tags


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [aqbanking](https://www.automicvault.com/pkg/brew/aqbanking/) - Shares av.db curated category or tags: cli, data, finance.
- [bagit](https://www.automicvault.com/pkg/brew/bagit/) - Shares av.db curated category or tags: cli, data, python.
- [csvkit](https://www.automicvault.com/pkg/brew/csvkit/) - Shares av.db curated category or tags: cli, data, python.
- [glom](https://www.automicvault.com/pkg/brew/glom/) - Shares av.db curated category or tags: cli, data, python.
- [iredis](https://www.automicvault.com/pkg/brew/iredis/) - Shares av.db curated category or tags: cli, data, python.
- [kaskade](https://www.automicvault.com/pkg/brew/kaskade/) - Shares av.db curated category or tags: cli, data, python.
- [mysql-to-sqlite3](https://www.automicvault.com/pkg/brew/mysql-to-sqlite3/) - Shares av.db curated category or tags: cli, data, python.
- [overturemaps](https://www.automicvault.com/pkg/brew/overturemaps/) - Shares av.db curated category or tags: cli, data, python.
- [twarc](https://www.automicvault.com/pkg/brew/twarc/) - Both packages touch the same language runtime or ecosystem. Shared terms: api, certifi, cli, command-line, data.
- [pgxnclient](https://www.automicvault.com/pkg/brew/pgxnclient/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, client, command-line, data, line.

## Combined YAML source

View the package source record on GitHub. [combined/fred.yml](https://github.com/automic-vault/db/blob/main/combined/fred.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
