qmetrics.net

pandas-datareader

Remote economic data for pandas

pandas-datareader screenshot

pandas-datareader is a Python package that downloads macroeconomic, policy, and factor datasets from public internet sources into pandas DataFrames. It supports readers such as FRED, Fama/French, and the pandas_datareader.macro interface.

Overview

pandas-datareader extends pandas with functions to pull time series and tables from remote providers without hand-writing HTTP clients for each site. The maintained API emphasizes macroeconomic, central-bank, and academic factor sources named in the documentation, including FRED, Fama/French factor files, Bank of Canada, World Bank, OECD, Eurostat, and consolidated macro helpers.

Install the package with pip, import it as pandas_datareader, and call the reader that matches your source. Documentation walks through examples such as retrieving U.S. Treasury yield series from FRED by symbol. Optional query caching is documented for repeated requests.

Runtime dependencies include pandas, lxml, and requests; modern Python releases may need setuptools to supply distutils. The library targets analysts and researchers who already work in pandas and want a shared interface to public economic and financial datasets rather than ad hoc downloads.

Key features

  • FRED economic series reader
  • Fama-French factor data access
  • World Bank and OECD connectors
  • Eurostat and Bank of Canada readers
  • pandas DataFrame output
  • Macro data helper interface
  • Documented query caching
  • pip-installable Python package

Use cases

  • Loading FRED bond yield histories
  • Pulling Fama-French factors into notebooks
  • Comparing OECD macro indicators
  • Automating World Bank series downloads
  • Building pandas pipelines from public feeds

Tags

Similar software

CCXT

Multi-language unified cryptocurrency exchange API

CCXT connects applications to many cryptocurrency and prediction-market exchanges through one normalized API. It ships for JavaScript, Python, PHP, Go, C#, Java, and Rust.

  • 100+ exchange integrations
  • Unified REST and WebSocket API
  • Public and private endpoints
PythonDetails →
★ 45.1k⟳ todayMIT

yfinance

Python access to Yahoo Finance market data

yfinance wraps Yahoo Finance public APIs so Python code can pull quotes, history, fundamentals, options, and related market metadata. It is unofficial and meant for research and education.

  • Single and multi-ticker objects
  • Historical price download helper
  • Fundamentals and calendar fields
PythonDetails →
★ 26.1k⟳ 6 days agoApache-2.0

AKShare

Python interface library for China financial market data

AKShare is a Python package that fetches stocks, futures, funds, bonds, FX, and macroeconomic series from many public sources. Results come back as pandas DataFrames with Chinese column names.

  • Nearly 1000 finance and macro data endpoints
  • pandas DataFrame output with Chinese headers
  • Offline keyword search across interface catalog
PythonDetails →
★ 23.6k⟳ todayMIT

TA Lib Python

Python bindings for TA-Lib technical analysis indicators

ta-lib-python wraps the TA-Lib C library with Cython and NumPy for technical analysis on financial price series. It exposes function, abstract, and streaming APIs with optional Pandas and Polars inputs.

  • 200+ technical indicators
  • Function, abstract, streaming APIs
  • NumPy, Pandas, Polars inputs
CythonDetails →
★ 12.5k⟳ 6 days agoBSD-2-Clause

PyPortfolioOpt

Portfolio optimization methods in Python

PyPortfolioOpt implements mean-variance optimization, Black-Litterman allocation, hierarchical risk parity, and related portfolio methods with scikit-learn-style APIs.

  • Mean-variance optimization
  • Black-Litterman allocation
  • Hierarchical risk parity
Jupyter NotebookDetails →
★ 6.2k⟳ 4 months agoMIT

GoPay

Go SDK for WeChat Alipay and other payment APIs

GoPay wraps many Chinese and international payment providers in one Go module. Separate packages cover WeChat, Alipay, Douyin, PayPal, Apple verification, and others.

  • Multi-provider payment clients
  • WeChat and Alipay v3
  • PayPal and Apple verify
GoDetails →
★ 5.8k⟳ 3 months agoApache-2.0