A Python package for scraping 13F filings from the SEC Edgar database.
Project description
Edgar13F Scraper
A Python package for scraping 13F filings from the SEC Edgar database.
Installation
To install this package, clone this repository, navigate to its directory, and then use pip:
git clone https://github.com/jackabrown21/Edgar13F.git
cd Edgar13F
pip install .
Duplicate the .env.example file, rename it to .env, and replace the dummy values with your actual values.
Usage
from Edgar13F import SecEdgarScraper
companies = {
"FiduciaryManagementInc": 764532, # "Company": CIK Number
"SoutheasternAssetManagement": 807985,
...
}
base_file_path = 'data/csvs' # Folder of CSVs with the specific companies with this specific information: Form Type, Form Description, Filing Date, Accession Number
data_path = 'data/raw/' # Folder where you would like the XMLs to be downloaded to
scraper = SecEdgarScraper(companies, base_file_path, data_path)
scraper.scrape()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file Edgar13F-0.2.0.tar.gz.
File metadata
- Download URL: Edgar13F-0.2.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e23214d89204646fc454feb615df72190018d7828fc3e249e482a5db53e1921
|
|
| MD5 |
c7a6f57738a0450915fa876bc4acbedf
|
|
| BLAKE2b-256 |
e0b07d252317095beaf35cf0924d8e316cb4d1d753bfe12652398fab7ff5f7c0
|
File details
Details for the file Edgar13F-0.2.0-py3-none-any.whl.
File metadata
- Download URL: Edgar13F-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a5b3555d9cd34b8cdaf17f636d9e4f7e1ba2b2043865074ae19d5aec2b7ff71
|
|
| MD5 |
45f6524fff4e8df69a60a2f4750e7ba6
|
|
| BLAKE2b-256 |
0dd33721c9b28169e04f156b5105bd85f7687f341bd1d85d69d10812b519b6b5
|