Skip to main content

Python SDK for the hosted EdgarParser SEC filings API

Project description

edgarparser-sdk

Python SDK for the hosted EdgarParser API.

pip install edgarparser-sdk
from edgarparser import EdgarClient

client = EdgarClient(api_key="...")
print(client)

Status

This package is being implemented in the EdgarParser source repo and is not published yet. The current local package exports EdgarClient, typed SDK errors, and the first v1 hosted-API endpoint methods.

Package Boundary

Install edgarparser-sdk and import edgarparser when you want the hosted EdgarParser API from Python.

Use edgar-parser when you want the local parsing library.

Use edgar-mcp when you want AI-agent tools over the hosted API.

The SDK is intentionally a thin HTTP client. It should not parse filings locally, rank metric matches, resolve tag equivalence, or mutate server caches as a hidden side effect.

Configuration

EdgarClient accepts an explicit API key:

from edgarparser import EdgarClient

client = EdgarClient(api_key="edgar_...")

It can also read EDGAR_API_KEY:

from edgarparser import EdgarClient

client = EdgarClient()

Use base_url for staging or local API testing:

client = EdgarClient(api_key="edgar_...", base_url="http://127.0.0.1:8000")

V1 Methods

The current local SDK surface includes:

  • get_financials
  • get_metric
  • get_metric_series
  • list_metrics
  • search_metrics
  • get_statement
  • get_filings
  • get_filing_document
  • search_filing_text
  • warm_metric_cache
  • warm_metric_cache_status

Examples

From packages/edgarparser/ or the synced package repo, run examples with EDGAR_API_KEY set:

EDGAR_API_KEY=... python examples/financials.py
EDGAR_API_KEY=... python examples/metric_series.py
EDGAR_API_KEY=... python examples/filing_search.py

Development

From the repo root:

python -m pip install -e packages/edgarparser
python -m pytest packages/edgarparser/tests -q

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

edgarparser_sdk-0.1.0.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

edgarparser_sdk-0.1.0-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file edgarparser_sdk-0.1.0.tar.gz.

File metadata

  • Download URL: edgarparser_sdk-0.1.0.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for edgarparser_sdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b67a6ba9943565216c8b6216f22c5cc3c6818e706934c7dca6ad8256bb9fe9bf
MD5 0418ded2be576219931f31d4d871c353
BLAKE2b-256 5aed52d9aa37fb15ac91e772b40da8e811d2f9d3511c26151d8f9c14ed202530

See more details on using hashes here.

File details

Details for the file edgarparser_sdk-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for edgarparser_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bd658d0c59f0fa739126ada7e16fb78f31eb7ab785481a76e1dcc7ecb3ac72dd
MD5 34de2df4e1d9ab98f2681fda753bae6f
BLAKE2b-256 dfa2bc271b6329215c3b2d915c439ced76817134652c14697f4d760305121657

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page