SEC Edgar connector for the parsimony framework
Project description
parsimony-sec_edgar
SEC EDGAR connector plugin for parsimony — public-company filings, financial statements (XBRL), filing documents, and insider trades for U.S. issuers.
Part of the parsimony-connectors monorepo. Distributed standalone on PyPI as parsimony-sec_edgar.
Connectors
| Name | Kind | Description |
|---|---|---|
sec_edgar_find_company |
connector | Search EDGAR by name, ticker, or CIK. Returns CIK, name, ticker. |
sec_edgar_company_profile |
connector | Profile for one company: name, CIK, ticker, industry, SIC, fiscal year end. |
sec_edgar_income_statement |
connector | Income statement from 10-K/10-Q XBRL — multi-period summary or single-filing detailed view. |
sec_edgar_balance_sheet |
connector | Balance sheet from 10-K/10-Q XBRL — multi-period summary or detailed view. |
sec_edgar_cashflow_statement |
connector | Cash flow statement from 10-K/10-Q XBRL — multi-period summary or detailed view. |
sec_edgar_search_filings |
connector | Full-text search across all EDGAR filings, optionally scoped by form and date. |
sec_edgar_filings |
connector | List filings for a company or across all companies, filtered by form and date. |
sec_edgar_company_facts |
connector | All XBRL company facts for a company (custom time-series base). |
sec_edgar_filing_document |
connector | Filing content as markdown by accession number. |
sec_edgar_filing_metadata |
connector | Form-specific metadata summary for a filing. |
sec_edgar_filing_sections |
connector | Table of contents (item identifiers + titles) for a filing. |
sec_edgar_filing_item |
connector | Specific section/item of a filing as text. |
sec_edgar_filing_tables |
connector | List tables in a filing with caption, type, and shape. |
sec_edgar_filing_table |
connector | Specific table from a filing as a DataFrame. |
sec_edgar_insider_trades |
connector | Structured insider transactions (Form 4) for a company. |
Install
pip install parsimony-sec_edgar
Pulls in parsimony-core>=0.4,<0.5 automatically. Verify discovery:
python -c "from parsimony import discover; print([p.name for p in discover.iter_providers()])"
Quick start
import asyncio
from parsimony_sec_edgar import CONNECTORS
async def main():
connectors = CONNECTORS.bind_env()
result = await connectors["sec_edgar_find_company"](identifier="AAPL")
print(result.data.head())
asyncio.run(main())
For multi-plugin composition:
from parsimony import discover
connectors = discover.load_all().bind_env()
EDGAR requires a user-agent identity per SEC fair-access policy. Set EDGAR_IDENTITY (or SEC_EDGAR_USER_AGENT) to a string of the form "YourApp your-email@example.com" before issuing requests.
Provider
- Homepage: https://www.sec.gov
- EDGAR: https://www.sec.gov/edgar
- Fair-access policy: https://www.sec.gov/os/accessing-edgar-data
License
See LICENSE.
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 parsimony_sec_edgar-0.4.0.tar.gz.
File metadata
- Download URL: parsimony_sec_edgar-0.4.0.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56d57068209e05e66b7bc281fbe4243656f914d2c262c596791420a7ee6b915e
|
|
| MD5 |
0e4005a8d4db2428310a77be4e1e65b2
|
|
| BLAKE2b-256 |
5e6f7f4d66c35bfca89b74cab96fba072cd2a6ee37c320ab747f7c63450749c9
|
Provenance
The following attestation bundles were made for parsimony_sec_edgar-0.4.0.tar.gz:
Publisher:
release.yml on ockham-sh/parsimony-connectors
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
parsimony_sec_edgar-0.4.0.tar.gz -
Subject digest:
56d57068209e05e66b7bc281fbe4243656f914d2c262c596791420a7ee6b915e - Sigstore transparency entry: 1396611864
- Sigstore integration time:
-
Permalink:
ockham-sh/parsimony-connectors@07cfcb8090adf807be061382e7493529a056bb14 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ockham-sh
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@07cfcb8090adf807be061382e7493529a056bb14 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file parsimony_sec_edgar-0.4.0-py3-none-any.whl.
File metadata
- Download URL: parsimony_sec_edgar-0.4.0-py3-none-any.whl
- Upload date:
- Size: 14.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d71965d06f6da45153a43293070f35b7f736c7b02bdc217cfa9f56fe23fe0c62
|
|
| MD5 |
d9cf81469ad8e48eb4b14f0831d5f003
|
|
| BLAKE2b-256 |
6f5d4d30aa89427af2e2584e9e5e716da15f49dea62594cf7ebc3cc2f4f1172c
|
Provenance
The following attestation bundles were made for parsimony_sec_edgar-0.4.0-py3-none-any.whl:
Publisher:
release.yml on ockham-sh/parsimony-connectors
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
parsimony_sec_edgar-0.4.0-py3-none-any.whl -
Subject digest:
d71965d06f6da45153a43293070f35b7f736c7b02bdc217cfa9f56fe23fe0c62 - Sigstore transparency entry: 1396611866
- Sigstore integration time:
-
Permalink:
ockham-sh/parsimony-connectors@07cfcb8090adf807be061382e7493529a056bb14 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ockham-sh
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@07cfcb8090adf807be061382e7493529a056bb14 -
Trigger Event:
workflow_dispatch
-
Statement type: