john-friedman / datamule-python

A package to work with SEC data. Incorporates datamule endpoints.
MIT License
73 stars 7 forks source link

datamule

Downloads Hits GitHub

A Python package for working with SEC filings at scale. Includes Mulebot, an open-source chatbot for SEC data with no storage requirements. šŸ“š Full Documentation | šŸŒ Website

Articles:

Key Features

Quick Start

# Basic installation
pip install datamule

# Install with all features
pip install datamule[all]
import datamule as dm

# Download filings
downloader = dm.Downloader()
downloader.download(form='10-K', ticker='AAPL')

# Download filing attachments such as information tables
downloader.download(form='13F-HR',file_types=['INFORMATION TABLE'],date=('2024-09-14','2024-09-16'))

# Download every 10Q from 2023. Should take 2 minutes
downloader.download_dataset(dataset='10q_2023')

Available Extras

Resources

Datasets

Access comprehensive SEC datasets including:

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT License


For detailed usage examples, API reference, and advanced features, please visit our documentation.