SEC-Edgar implements a basic crawler for downloading filings from the SEC Edgar database. It is most useful for automatically collecting public filings from the SEC.
Getting filings of various companies at once is really a pain, but SEC-Edgar does that for you. You can download all of a company’s periodic reports, filings and forms from the EDGAR database with a single command.
You may have to install the package using pip:
$ pip install secedgar
You can clone the project or download it as zip.
$ git clone https://github.com/sec-edgar/sec-edgar.git $ cd sec-edgar $ python setup.py install
from secedgar.filings import Filing, FilingType my_filings = Filing(cik_lookup='aapl', filing_type=FilingType.FILING_10Q) # 10Q filings for Apple (ticker "aapl") my_filings.save('~/path/to/dir')
Currently this crawler supports many different filing types. To see the full list, please refer to the docs. If you don’t see a filing type you would like to be supported, please create an issue on GitHub.
To learn more about the APIs and latest changes in the project, read the official documentation.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size secedgar-0.2.2-py3.9.egg (78.6 kB)||File type Egg||Python version 3.9||Upload date||Hashes View|
|Filename, size secedgar-0.2.2-py3-none-any.whl (36.1 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size secedgar-0.2.2.tar.gz (1.2 MB)||File type Source||Python version None||Upload date||Hashes View|