Skip to main content

Parse Securities and Exchange Commission Standard Generalized Markup Language (SEC SGML) files

Project description

SEC SGML

A python library to parse Securities and Exchange Commission Standardized Generalized Markup Language. Used to power the open-source datamule project.

Currently parses two types of files:

  1. Daily Archives
  2. Submissions

Will be expanded to also parse SGML Tables.

All Variations

Installation

pip install secsgml

Quickstart

# from file
parse_sgml_submission(filepath='samples/0000891618-94-000021.txt',output_dir='results')

# from content
parse_sgml_submission(content=sgml_content,output_dir='results')

Future

  • SGML Table parsing
  • Optimization + refactor in Cython/ C bindings.

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

secsgml-0.0.1.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

secsgml-0.0.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file secsgml-0.0.1.tar.gz.

File metadata

  • Download URL: secsgml-0.0.1.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for secsgml-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ab446a3e35018ae95c171c98937d60af38ae779a94bc0886779e09dd01ec3670
MD5 bb8f152b63746e0329df7b1171df9383
BLAKE2b-256 e4069c2b923148cf2af46549e1442da6182d04d1d6a7b2e9db4944c82a8fd63b

See more details on using hashes here.

File details

Details for the file secsgml-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: secsgml-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for secsgml-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9432654990adc08b487778d9d25c282390f09009f8a415bcd50402dedc8557e6
MD5 facc5085f963e6027b5d32eefb1876c0
BLAKE2b-256 b52365998244c1626ed5784e14dc740c7f12e3fbacfda69c6687bc8efa549584

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