Install & Compatibility
Where this runs
tested against v0.58.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 187.1MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 10.2s · import 0.000s · 181MB
192MB installed
● package 192MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Edgar10QParser
✓ from sec_parser import Edgar10QParser
✗ from sec_parser import SECParser
Parse SEC EDGAR HTML into a tree of semantic elements, then iterate over them.
from sec_parser import SECParser
from sec_parser.semantic_elements import TextElement
html = "<html><body><p>Revenue: $100</p></body></html>"
parser = SECParser()
tree = parser.parse(html)
# Print top-level elements
for element in tree:
if isinstance(element, TextElement):
print(element.text)
Upgrade
Version history
0.58.1latest on PyPI · released Jun 9, 2024
Audit
Dependencies
beautifulsoup4requiredHTML parsing
lxmlrequiredXML parser for BeautifulSoup