Skip to main content

cgh-docs

Document parsers for cgh. Once installed, cgh index parses pdf, docx and xlsx files into searchable sections, exactly like markdown headings: search_docs, doc_outline, fts_search and the federated fan-out all work on them with no extra configuration.

pip install cgh-docs
cgh index          # .pdf / .docx / .xlsx files now land in the graph
cgh plugins        # shows docs: active (parsers)

What each format becomes:

  • pdf: one section per page (or per outline entry when the file has a table of contents), with the extracted text as the searchable body.
  • docx: heading paragraphs become the section tree, body text becomes the preview, mirroring the markdown parser.
  • xlsx: one section per sheet, with the header row and sheet size in the body so column names are searchable.

Parsing is best effort by design: an encrypted pdf or a corrupt workbook yields an empty index for that file and a log line, never a failed scan.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cgh_docs-0.1.1.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

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

cgh_docs-0.1.1-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file cgh_docs-0.1.1.tar.gz.

File metadata

  • Download URL: cgh_docs-0.1.1.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for cgh_docs-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0ab8377126be779887b57f3c3112e8cb7282f13e66dc328866ba28ea6524ed92
MD5 f1c72976c6245e05d8b2f08f5dff4f60
BLAKE2b-256 c1893139ebdd9c019dc400f453d9b955ae4a9a2eb298fb936847a0916aa7bcf1

See more details on using hashes here.

Provenance

The following attestation bundles were made for cgh_docs-0.1.1.tar.gz:

Publisher: release.yml on altikva/cgh

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cgh_docs-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: cgh_docs-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for cgh_docs-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5bb900a0fecde70d82728ba5be09509437a545312aa584d0b99761cf61123124
MD5 13cda67ce2c3b11a82d02496080817db
BLAKE2b-256 3149d85fe9e2f5fd5cda87c22223dd337477a70ae7e4c63e2f48735a8ec1bd0d

See more details on using hashes here.

Provenance

The following attestation bundles were made for cgh_docs-0.1.1-py3-none-any.whl:

Publisher: release.yml on altikva/cgh

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.2.0

2 files

0.1.2

2 files

This release

0.1.1 This release

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page