SEC-PARSER
Essentials ➔
Health ➔
Quality ➔
Distribution ➔
Community ➔
Overview
The sec-parser project simplifies the process of extracting meaningful information from SEC EDGAR HTML documents. It organizes the document's source code into a list or tree of elements that correspond to the visual structure of the document. This includes distinct elements for section titles, paragraphs, and tables, making the data easier to analyze and understand.
This tool is especially beneficial for Artificial Intelligence (AI) and Large Language Models (LLM) applications. It significantly improves the efficiency of data extraction and analysis in these fields.
Installation
You can install sec-parser using pip:
pip install sec-parser
Usage
import sec_parser as sp
tree = sp.parse_latest("10-K", ticker="AAPL")
# Show the general structure of the tree
print(tree.render())
Console output:
RootSectionElement: PART I — FINANCIAL INFORMATION
├── TitleElement: Item 1. Financial Statements
│ ├── TitleElement: CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS (U...
│ │ ├── TextElement: (In millions, except number of shares which are re...
│ │ ├── TableElement: ...
│ ...
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for sec-parser 0.9.0.post17
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 |
|---|---|---|---|---|
| sec_parser-0.9.0.post17.tar.gz | 25.0 kB | Without provenance | Details for sec_parser-0.9.0.post17.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sec_parser-0.9.0.post17-py3-none-any.whl | Python 3 | none | any | Details for sec_parser-0.9.0.post17-py3-none-any.whl |
Total release size: 64.7 kB
Release files / sec_parser-0.9.0.post17.tar.gz
| Download URL | sec_parser-0.9.0.post17.tar.gz |
|---|---|
| Size | 25.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1dfc97cf3fd0f5bf7566949f8253196e43d8527b7452d740a474ccb8e2756721
|
|
BLAKE2b-256 checksum How to use checksums |
6218ef6b27343d180d6500feed2d648931f2977a74c5102be2c777eb8641c0a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.11.5 Linux/6.2.0-1011-azure
|
Release files / sec_parser-0.9.0.post17-py3-none-any.whl
| Download URL | sec_parser-0.9.0.post17-py3-none-any.whl |
|---|---|
| Size | 39.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4900cad44ed01ac06e716ba8538ac5a94a7a94b0f14d0f1922606258c74e08ba
|
|
BLAKE2b-256 checksum How to use checksums |
aee9631352bb6069e3c92eccf036e4f220d73786d2b255c3b17d452fa90dbc18
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.11.5 Linux/6.2.0-1011-azure
|
Security for sec-parser 0.9.0.post17
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.