
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Extract financial data from SEC EDGAR filings in 3 lines of Python code instead of 100+. Access company financials, insider trades, fund holdings, and XBRL data with an intuitive API designed for financial analysis.
With EdgarTools | Without EdgarTools |
---|---|
✅ Instant access to any filing since 1994 | ❌ Hours spent navigating SEC.gov |
✅ Clean Python API with intuitive methods | ❌ Complex web scraping code |
✅ Automatic parsing into pandas DataFrames | ❌ Manual extraction of financial data |
✅ Specialized data objects for each form type | ❌ Custom code for each filing type |
✅ One-line conversion to clean, readable text | ❌ Messy HTML parsing for text extraction |
✅ LLM-ready text extraction for AI pipelines | ❌ Extra processing for AI/LLM compatibility |
✅ Automatic throttling to avoid blocks | ❌ Rate limiting headaches |
balance_sheet = Company("AAPL").get_financials().balance_sheet()
# 1. Import the library
from edgar import *
# 2. Tell the SEC who you are (required by SEC regulations)
set_identity("your.name@example.com") # Replace with your email
# 3. Find a company
company = Company("MSFT") # Microsoft
# 4. Get company filings
filings = company.get_filings()
# 5. Filter by form
insider_filings = filings.filter(form="4") # Insider transactions
# 6. Get the latest filing
insider_filing = insider_filings[0]
# 7. Convert to a data object
ownership = insider_filing.obj()
Problem: Need to analyze a company's financial health across multiple periods.
We welcome contributions from the community! Here's how you can help:
See our Contributing Guide for details.
If you find EdgarTools valuable, please consider supporting its development:
lxml
and potentially PyArrow
for efficient data handling.EdgarTools is distributed under the MIT License.
FAQs
Navigate Edgar filings with ease
We found that edgartools demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.