SEC-Edgar-Crawler
=============
Getting filings of various comapanies at once is really a pain but SEC-Edgar-Crawler does that for you.
you can Download all companies periodic reports, filings and forms from EDGAR database in a single command.
Installation
-------------
You may have to install the package using pip.
```bash
$ pip install SECEdgar
```
or
You can clone the project or download it as zip.
```bash
$ git clone https://github.com/rahulrrixe/SEC-Edgar.git
$ cd SEC-Edgar
$ python setup.py install
```
Runing
-------
Check [data.txt][1] to see the format in which name of company's, CIK code date (prior to) and count is given to get the filings of that company.
Now to run it start pyton shell
```bash
>>> from SECEdgar.crawler import SecCrawler
>>> seccralwer = SecCralwer()
>>> seccrawler.filing_10K('AAPL', '0000320193', '20010101', '10')
```
This will download the AAPL company's 10-K filings and the data will be saved in "SEC-Edgar-data" folder which will be created on the run time.
Example
--------
```python
import time
from SECEdgar.crawler import SecCrawler
def get_filings():
t1 = time.time()
# create object
seccrawler = SecCrawler()
companyCode = 'AAPL' # company code for apple
cik = '0000320193' # cik code for apple
date = '20010101' # date from which filings should be downloaded
count = '10' # no of filings
seccrawler.filing_10Q(str(companyCode), str(cik), str(date), str(count))
seccrawler.filing_10K(str(companyCode), str(cik), str(date), str(count))
seccrawler.filing_8K(str(companyCode), str(cik), str(date), str(count))
seccrawler.filing_13F(str(companyCode), str(cik), str(date), str(count))
t2 = time.time()
print "Total Time taken: ",
print (t2-t1)
if __name__ == '__main__':
get_filings()
```
Supported Methods
-----------------
Currently this cralwer supports only 4 filings
* 10-K
* 10-Q
* 8-K
* 13-F
I have maintained a list of companies with their cik code and the file can be downlaoded from [here][2].
[1]: https://github.com/rahulrrixe/SEC-Edgar/blob/master/SECEdgar/data.txt
[2]: https://github.com/rahulrrixe/SEC-Edgar/blob/master/SECEdgar/companylist.txt
=============
Getting filings of various comapanies at once is really a pain but SEC-Edgar-Crawler does that for you.
you can Download all companies periodic reports, filings and forms from EDGAR database in a single command.
Installation
-------------
You may have to install the package using pip.
```bash
$ pip install SECEdgar
```
or
You can clone the project or download it as zip.
```bash
$ git clone https://github.com/rahulrrixe/SEC-Edgar.git
$ cd SEC-Edgar
$ python setup.py install
```
Runing
-------
Check [data.txt][1] to see the format in which name of company's, CIK code date (prior to) and count is given to get the filings of that company.
Now to run it start pyton shell
```bash
>>> from SECEdgar.crawler import SecCrawler
>>> seccralwer = SecCralwer()
>>> seccrawler.filing_10K('AAPL', '0000320193', '20010101', '10')
```
This will download the AAPL company's 10-K filings and the data will be saved in "SEC-Edgar-data" folder which will be created on the run time.
Example
--------
```python
import time
from SECEdgar.crawler import SecCrawler
def get_filings():
t1 = time.time()
# create object
seccrawler = SecCrawler()
companyCode = 'AAPL' # company code for apple
cik = '0000320193' # cik code for apple
date = '20010101' # date from which filings should be downloaded
count = '10' # no of filings
seccrawler.filing_10Q(str(companyCode), str(cik), str(date), str(count))
seccrawler.filing_10K(str(companyCode), str(cik), str(date), str(count))
seccrawler.filing_8K(str(companyCode), str(cik), str(date), str(count))
seccrawler.filing_13F(str(companyCode), str(cik), str(date), str(count))
t2 = time.time()
print "Total Time taken: ",
print (t2-t1)
if __name__ == '__main__':
get_filings()
```
Supported Methods
-----------------
Currently this cralwer supports only 4 filings
* 10-K
* 10-Q
* 8-K
* 13-F
I have maintained a list of companies with their cik code and the file can be downlaoded from [here][2].
[1]: https://github.com/rahulrrixe/SEC-Edgar/blob/master/SECEdgar/data.txt
[2]: https://github.com/rahulrrixe/SEC-Edgar/blob/master/SECEdgar/companylist.txt
Metadata
Release files for secedgar 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| SECEdgar-0.1.1.tar.gz | 3.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| SECEdgar-0.1.1.macosx-10.9-intel.exe | Details |
Total release size: 69.6 kB
Release files / SECEdgar-0.1.1.tar.gz
| Download URL | SECEdgar-0.1.1.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b949f1c7134ae992cd0cfb700bfbded376191147f740fe615f9f4e6dc0e870c7
|
|
BLAKE2b-256 checksum How to use checksums |
96df6ce74919eaea3754ee60db4896317fb95993b3bd2f2f6fa3316cef2afe07
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / SECEdgar-0.1.1.macosx-10.9-intel.exe
| Download URL | SECEdgar-0.1.1.macosx-10.9-intel.exe |
|---|---|
| Size | 66.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bdc8da71fd0a2425f5a252c8b2c15bcf5fa56da1b50f93c2b7cb7429b44b2de0
|
|
BLAKE2b-256 checksum How to use checksums |
8f83531a41967321d31e86ac4d7cfa8452cb2ea177c395ebc9e4d88084c06ecd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |