Skip to main content

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, FDIC).

PyPI - Version PyPI - Downloads PyPI - Python Version Dataset DOI Zenodo DOI License ORCID

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

Companion visualizations

Author

Jere Salmisto — Independent researcher, founder of calcfi.app

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.

Metadata

Release files for calcfidata 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for calcfidata 0.1.2
File Size Uploaded
calcfidata-0.1.2.tar.gz 8.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for calcfidata 0.1.2
File Interpreter ABI Platform
calcfidata-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 16.9 kB

Release files / calcfidata-0.1.2.tar.gz

Download URL calcfidata-0.1.2.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
85fb5e10ed21279b96bd9c65db871290890a7bdf59bdba027aba53900b607825
BLAKE2b-256 checksum
How to use checksums
276e8f05145ef1cda89dbc7c11e2e3176a4676902c30348c7280e25261c9dc47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release files / calcfidata-0.1.2-py3-none-any.whl

Download URL calcfidata-0.1.2-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9e6dc38eff4f3b78b69266eb895902092a5910371d5001bef27865521f400bd5
BLAKE2b-256 checksum
How to use checksums
667b2b2a87e1fbb9c51cb16e52a5d349ed2f527b11da198e4b62cca7af7a4acf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release 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