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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cgh_docs-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e9ac15c75c45af3dae630736b8fc679f236dde331b710c5cc9973fb97d69d3b0
MD5 c19c6ff7ac3b2872ec1ea535c5d5c88f
BLAKE2b-256 a7f54ef2701787fb6c05089cb698ba9a1eeffabf3bb43021d2ae0b644b1390f4

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for cgh_docs-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 27bdb3e4520a7598a0331e7655beb8689a7478f6fd5fb1a10094b6b8d1adff52
MD5 d5626898f595d3229896a68d75f922c9
BLAKE2b-256 c6a1e89c15c29eb254555f2935359e0af142b97042a9bacf3f331a26c5e271db

See more details on using hashes here.

Provenance

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

0.2.0

2 files

0.1.2

2 files

0.1.1

2 files

This release

0.1.0 This release

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