Skip to main content

Python client for CalcFi Open Data — 34 CC-BY financial and macroeconomic time series mirrored from primary sources (FRED, BLS, Freddie Mac, US Treasury, BEA, World Bank)

Project description

calcfidata

Python client for CalcFi Open Data — 34 free CC-BY financial and macroeconomic time series mirrored from primary sources (FRED, BLS, Freddie Mac, US Treasury, BEA, World Bank, Federal Reserve).

PyPI Dataset DOI License

Install

pip install calcfidata

Quick start

import calcfidata as cf

# load a single series
df = cf.load("30-year-fixed")
print(df.tail())

# list every available series
catalog = cf.list_series()
print(catalog.head())

# load several series joined on date
inflation = cf.multi(["cpi", "pce"], align_on="inner")
print(inflation.tail())

# get the Frictionless datapackage metadata for any series
meta = cf.metadata("cpi")
print(meta["sources"][0]["title"])

What's included

34 time series across:

  • Mortgage rates — 30-year, 15-year fixed (Freddie Mac PMMS)
  • Treasury yields — 2Y, 10Y constant maturity (US Treasury)
  • Fed Funds + Prime + credit-card APR (Federal Reserve)
  • Inflation — CPI-U, PCE, world inflation (BLS, BEA, World Bank)
  • Employment — unemployment rate, labor-force participation, hourly earnings (BLS)
  • Energy — WTI, Brent crude, US regular gasoline (EIA)
  • FX — USD/EUR, USD/GBP, USD/JPY (Federal Reserve H.10)
  • Commodities — copper, corn (World Bank)
  • Macro — US + Eurozone GDP per capita, world unemployment (World Bank)
  • Consumer credit — credit card APR, personal loan, auto loan rates (Fed G.19)
  • Crypto — Bitcoin, Ethereum, Solana (CoinGecko — snapshot-only currently)
  • Deposit rates — savings, money-market, CDs (FDIC — snapshot-only currently)

Each series carries primary-source provenance in the # Source: and # Primary URL: comment headers of its CSV.

Methodology + citation

Citation

@dataset{salmisto_2026_calcfi_open_data,
  author       = {Salmisto, Jere},
  title        = {CalcFi Open Data: 34 Free CC-BY Financial and Macro Time Series Mirrored from Primary Sources},
  year         = 2026,
  publisher    = {Figshare},
  doi          = {10.6084/m9.figshare.32332290},
  url          = {https://doi.org/10.6084/m9.figshare.32332290},
  orcid        = {0009-0000-0916-8684},
  license      = {CC-BY-4.0}
}

Salmisto, J. (2026). CalcFi Open Data: 34 Free CC-BY Financial and Macro Time Series Mirrored from Primary Sources [Dataset]. Figshare. https://doi.org/10.6084/m9.figshare.32332290

License

  • Package code: MIT
  • Underlying data: CC BY 4.0 — attribution to CalcFi and the named primary source for each series

Live tools

For 300+ free personal-finance calculators built on the same primary-source data layer, see calcfi.app.

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

calcfidata-0.1.0.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

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

calcfidata-0.1.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file calcfidata-0.1.0.tar.gz.

File metadata

  • Download URL: calcfidata-0.1.0.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for calcfidata-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ca5db45fecdb1a382955c9dc91c4de79890a0e3c8dd1e0eaaa8a3bc3b8f0323c
MD5 a3fd2a28af230e701a943bc743195874
BLAKE2b-256 f766b7380f1583377b655e9e5ce78c7c42646c59ca599a7ca294f39d1d29c617

See more details on using hashes here.

File details

Details for the file calcfidata-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: calcfidata-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for calcfidata-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d0ba7b5cb02e695940a8139629d299a426481b074fc54e45cc5f3935993f43b4
MD5 48f05f15cee879e969e76f79ccc0489c
BLAKE2b-256 754638a1d695b875e914fcf8537079b14e2e01e8a1dc64d0cd9e333e25838b9f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page