edgarcli
A CLI wrapper around edgartools by Dwight Gunning - access SEC EDGAR data from the command line.
Installation
uvx edgarcli --help
Quick Start
# Set your identity (required by SEC)
edgarcli config set-identity "Your Name your.email@example.com"
# Get company info
edgarcli company AAPL
# View recent filings
edgarcli filings AAPL --form 10-K --limit 5
# Get a specific filing
edgarcli filing AAPL --form 10-K --latest
# Get financial statements
edgarcli statements AAPL --form 10-Q --statement income
# Interactive mode - drop into Python REPL with edgar pre-configured
edgarcli -i
Commands
config- Manage configuration (identity, paths)company- Get company information by ticker/CIKfiling- Get specific SEC filing(s)filings- List historical filings for a companystatements- Get financial statements from filings
All commands support --help for detailed options.
Interactive Mode
Use edgarcli -i to launch an IPython REPL with the edgar library pre-configured:
edgarcli -i
The interactive environment includes:
- Full
edgarmodule access - Identity automatically configured
- Convenient imports:
Company,Filing,Filings,get_filings
Example session:
>>> company = Company("AAPL")
>>> filings = company.get_filings(form="10-K")
>>> filing = filings.latest()
>>> filing.financials
Configuration
Identity can be set via config file (~/.config/edgarcli/config.json), environment variable (EDGAR_IDENTITY), or --identity flag.
Credits
Built on edgartools by Dwight Gunning.
License
MIT
Metadata
Release files for edgarcli 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 | Provenance | Actions |
|---|---|---|---|---|
| edgarcli-0.1.1.tar.gz | 111.5 kB | Without provenance | Details for edgarcli-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| edgarcli-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for edgarcli-0.1.1-py3-none-any.whl |
Total release size: 125.6 kB
Release files / edgarcli-0.1.1.tar.gz
| Download URL | edgarcli-0.1.1.tar.gz |
|---|---|
| Size | 111.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1f2ff5e9e4864e59042aabf172658bbd83a6bc1a9d2747f0ff11d6c54e7dab91
|
|
BLAKE2b-256 checksum How to use checksums |
a589a7447e18eeda2401134912ebf6bcdb55193a317c3a78dc6665e8983f906a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.13
|
Release files / edgarcli-0.1.1-py3-none-any.whl
| Download URL | edgarcli-0.1.1-py3-none-any.whl |
|---|---|
| Size | 14.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fe80381ea65141a6ba41e4361fac2f8bc4e59c80e34be2b175b7770c31988ce6
|
|
BLAKE2b-256 checksum How to use checksums |
0acd34def193e58c8fd7f2735654df80bc00fe90761a9b27d0f2d7cd423688ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.13
|
Security for edgarcli 0.1.1
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.