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

Uploaded Python 3

File details

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

File metadata

  • Download URL: cgh_docs-0.1.2.tar.gz
  • Upload date:
  • Size: 6.6 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.2.tar.gz
Algorithm Hash digest
SHA256 a94a12db2b9aab65d771e4037206a5591feecf2f8c58e8620d636e36ce39daef
MD5 ea35d889105584d1e742ac6fa51ce204
BLAKE2b-256 6faa745fc14081c66f24d331b9fbd7c23c67bc0c1647130b22ee93d7c3f0c7e5

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: cgh_docs-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.8 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f10125e7a3d776a5ab373a7eb7fc92b148b0370e2d7e07e602ea8d2cbf1bf756
MD5 e4fdcbc1c8c35ca34881a8598d989d91
BLAKE2b-256 15ba4f9e838f0a98b484f85545f5e06de1c89ce6e8c057aa1bc4e7487740c022

See more details on using hashes here.

Provenance

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

This release

0.1.2 This release

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