parsimony-sec-edgar
SEC EDGAR connector plugin for parsimony — full-text search over filing content, company lookup, a filer's filings, raw filing documents, and XBRL financial data (per-company concept history, all-concepts facts, and cross-company frames) for U.S. issuers over the public efts.sec.gov / data.sec.gov / www.sec.gov APIs.
Part of the parsimony-connectors monorepo. Distributed standalone on PyPI as parsimony-sec-edgar.
Connectors
| Name | Kind | Description |
|---|---|---|
sec_edgar_full_text_search |
connector | Native EDGAR full-text search over the content of every filing since 2001, across all filers. Filter by form, date range, or CIK; returns the cik + accession + document needed to fetch a hit. |
sec_edgar_find_company |
connector | Fast exact lookup of a registrant by ticker symbol or CIK from the published ticker map (the ~10.4k exchange-listed issuers). Returns cik + ticker + company title. |
sec_edgar_submissions |
connector | List a CIK's filings (newest first): accession number, filing date, form type, primary document, report date. form filters to one form type; include_older walks the additional pages so the full history is reachable. |
sec_edgar_fetch_filing |
connector | Fetch one filing document body from the EDGAR archives. Resolves the primary document via the filing's index.json (works for any filing, however old). |
sec_edgar_company_concept |
connector | One XBRL concept's full reported history for a company, as a tidy long timeseries (period, value, unit, fiscal year/period, form, filed). |
sec_edgar_company_facts |
connector | Raw XBRL company-facts blob for a CIK (all reported concepts keyed by taxonomy). |
sec_edgar_frames |
connector | One XBRL concept for one period across every reporting company — a cross-sectional snapshot. |
Coverage
EDGAR is not a timeseries provider — it exposes four atomic units (registrant, filing, document, XBRL fact), and the seven connectors cover all of them. Discovery is native: sec_edgar_full_text_search searches the content of every filing since 2001 across all ~800k+ filers, so there is no built catalog (the provider has first-party search). Fetch reaches a filer's whole filing history (include_older), any document (index.json resolution), and the XBRL financial data three ways — per-company concept history, all-concepts facts, and cross-company frames.
Deliberately not wrapped (publish/ETL tooling, not on-demand agent fetches): the nightly bulk ZIP archives (companyfacts.zip, submissions.zip) and the quarterly full-index crawl. Data is U.S. federal public domain; SEC's only requirement is the fair-access User-Agent below.
Install
pip install parsimony-sec-edgar
Pulls in a compatible parsimony automatically. Verify discovery:
python -c "from parsimony import discover; print([p.name for p in discover.iter_providers()])"
User-Agent (required)
SEC's fair-access policy (max 10 requests/second) requires every request to carry a User-Agent header that identifies the requester (a name and contact email). A generic or missing User-Agent gets a 403/429. There is no API key — the User-Agent is the only thing you must supply, via the SEC_EDGAR_USER_AGENT environment variable:
export SEC_EDGAR_USER_AGENT="Acme Research contact@acme.com"
If it is unset, the connectors fail fast with UnauthorizedError naming the env var, before any network call.
Quick start
from parsimony_sec_edgar import CONNECTORS
# Discover filings by content across all filers...
hits = CONNECTORS["sec_edgar_full_text_search"](query="climate risk", forms="10-K")
print(hits.raw.head())
# ...or look up a known issuer and read its financials as a timeseries.
rev = CONNECTORS["sec_edgar_company_concept"](cik="320193", tag="Revenues")
print(rev.raw.head())
For multi-plugin composition:
from parsimony import discover
connectors = discover.load_all()
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.
Metadata
Release files for parsimony-sec-edgar 0.0.2
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 | |
|---|---|---|---|---|
| parsimony_sec_edgar-0.0.2.tar.gz | 22.5 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| parsimony_sec_edgar-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 49.3 kB
Release files / parsimony_sec_edgar-0.0.2.tar.gz
| Download URL | parsimony_sec_edgar-0.0.2.tar.gz |
|---|---|
| Size | 22.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a13b2182c80e18723753fce5534b705467ead1bd9223e56fc75c93da6485d822
|
|
BLAKE2b-256 checksum How to use checksums |
e16c8747e5325dc84f51d19a358cf5122f9e239c86319be74f56d65f9970fbab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 10, 2026.
Transparency logRelease files / parsimony_sec_edgar-0.0.2-py3-none-any.whl
| Download URL | parsimony_sec_edgar-0.0.2-py3-none-any.whl |
|---|---|
| Size | 26.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ede32503aef005c6ce13bea3fce065f26f3fd5062c365217644ad252773acb67
|
|
BLAKE2b-256 checksum How to use checksums |
276e2b2cdbca14972a6d8a52c2130931864137a7ae344e9d4b38d53e217d14f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 10, 2026.
Transparency logSecurity for parsimony-sec-edgar 0.0.2
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for parsimony_sec_edgar-0.0.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 10, 2026.
Transparency logA 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.