secfeed (Python)
Client for the SecFeed SEC EDGAR API. No dependencies, Python 3.8+.
pip install secfeed
from secfeed import Client
sf = Client("sf_...") # free key at https://secfeedapi.com
sf.filings('ticker:AAPL AND formType:"10-K"', size=5)
sf.insider_trades(ticker="NVDA", code="P")
sf.financial_statements("AAPL")
sf.events_8k(item="5.02")
for filing in sf.stream(form_types=["8-K"]):
print(filing["companyName"], filing["formType"])
Federal contracts use the same key: SAM.gov opportunities and entity registrations, USAspending awards, awards by ticker, and the recompete radar (contracts ending in the next 24 months; Developer plans and up).
sf.sam_opportunities(naics="5415", setAside="SBA")
sf.sam_entity(cage="02GJ5")
sf.company_federal_awards("LMT")
sf.recompetes(naics="5415", setAside="SBA", hasNotice="true")
Every endpoint in the API docs has a method. Errors raise SecFeedError.
SecFeed is an independent service and is not affiliated with or endorsed by the U.S. Securities and Exchange Commission. Filing data comes from SEC EDGAR, which is public.
Metadata
Release files for secfeed 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| secfeed-0.1.3.tar.gz | 4.3 kB | Without provenance | Details for secfeed-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| secfeed-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for secfeed-0.1.3-py3-none-any.whl |
Total release size: 8.9 kB
Release files / secfeed-0.1.3.tar.gz
| Download URL | secfeed-0.1.3.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
355e830273139b8030d699a53b4b80e48a8ae29cd7d7a4f3cfd889e3fecd4a76
|
|
BLAKE2b-256 checksum How to use checksums |
7c0553cfc081894c948903ee91798f2d95cf51421b628d1a456e62fe8db42648
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.8.8
|
Release files / secfeed-0.1.3-py3-none-any.whl
| Download URL | secfeed-0.1.3-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9afcb276575210e6cce8041c674f092feabaef2cc20bf43ac7afc8d073b224bd
|
|
BLAKE2b-256 checksum How to use checksums |
b388954bd6225f24f4e69ec8eed65b2f051680c99400a2d2b9301783458ae4b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.8.8
|
Security for secfeed 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.