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.2.0.tar.gz (7.7 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.2.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cgh_docs-0.2.0.tar.gz
  • Upload date:
  • Size: 7.7 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.2.0.tar.gz
Algorithm Hash digest
SHA256 1d235e044e6f9593438c10536375c8543d81fd46818af320cb73baaf69ab5b77
MD5 3a230cd258feb0fdc0b0dba8864a9562
BLAKE2b-256 15cfcc884fc783794216f1c8ef170ff517f4ce6df07de8048dc6ea38481d590e

See more details on using hashes here.

Provenance

The following attestation bundles were made for cgh_docs-0.2.0.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.2.0-py3-none-any.whl.

File metadata

  • Download URL: cgh_docs-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 7.6 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c2fb87550ecc2ccd913422e639902bbe9d020d98c70a537c00a93c979fc4491e
MD5 cc2ced08e0b496cafd0a9bbb00b7ed5c
BLAKE2b-256 b4c7c509f8dbd10c5b99346281495c8d8366e20773ce8c1af7c10191d6955381

See more details on using hashes here.

Provenance

The following attestation bundles were made for cgh_docs-0.2.0-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

This release

0.2.0 This release

2 files

0.1.2

2 files

0.1.1

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