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.post14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sec_parser-0.9.0.post14.tar.gz | 25.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sec_parser-0.9.0.post14-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 64.7 kB
Release files / sec_parser-0.9.0.post14.tar.gz
| Download URL | sec_parser-0.9.0.post14.tar.gz |
|---|---|
| Size | 25.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7deb5a6ecb21223ef343ddb7131f258acac1da75c346e78a3ce2872ba2d58713
|
|
BLAKE2b-256 checksum How to use checksums |
93300fd61b747558c8e79952e42ab24b78abda85a20f1d87cf70fe61f16de579
|
| 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.post14-py3-none-any.whl
| Download URL | sec_parser-0.9.0.post14-py3-none-any.whl |
|---|---|
| Size | 39.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
26cbfcc9bfb9f58706c822b80b34f59aa4b1d9039ef329878908f1030d1845f0
|
|
BLAKE2b-256 checksum How to use checksums |
a6047999203f2ed7185abb70621a66c003d91b895fb9eb00091edaed5ab2d7a6
|
| 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
|