Home / Backtesting & trading frameworks

edgartools

Backtesting & trading frameworks2,896 GitHub starsPython⏱ Commits today

Python library for structured SEC EDGAR filings

What it is

An open-source Python library that turns SEC EDGAR filings into structured data, covering income statements, balance sheets, cash flow, insider trades, 13F holdings, 8-K events, and more than twenty other form types as typed objects and pandas DataFrames. XBRL-standardized financials support cross-company comparison, and built-in rate-limit handling, caching, an MCP server, and LLM-ready text make it usable in data pipelines and AI workflows. Quant developers and analysts who want programmatic access to US filings without manual parsing will find it a good fit. The library covers only SEC EDGAR filings, so it does not provide market price data or non-US sources, and users must supply an email address for SEC identification with each request.

At a glance

Worth watchingOur rating, based on popularity, maintenance and how ready it is for real use.

Best forDevelopers
Used forData source, Data analysis
MarketsUS equities
StackPython
Learning curveEasy to start
Practical valueMedium practical value
CostFree and open source
HardwareNo GPU needed
MaintenanceCommits today

Popularity snapshots

Daily snapshots of GitHub stars. Star changes are not a count of users or usage. Snapshots since 2026-11-02 (up to 30 days): first-to-last change +61 , latest 2,896. Gaps mean no snapshot was taken that day.

In the author's words

AI-native SEC EDGAR library with XBRL financials, clean text extraction, 17+ typed forms, and pandas DataFrames.

Open on GitHub ↗This week's trending toolsChinese page

Similar tools