Skip to main content

glm-ocr-cli

GLM-OCR PDF/Image to Markdown conversion CLI.

Usage

# Convert local PDF/image file
uvx glm-ocr-cli convert path ./path/to/file.pdf

# Convert PDF/image URL
uvx glm-ocr-cli convert url https://example.com/file.pdf

# Show all commands
uvx glm-ocr-cli --help

Output Layout

Outputs are saved under ~/.glm-ocr-cli/.

~/.glm-ocr-cli/
├── history.json
└── converts/
    └── md/
        └── {sha256_16}/
            ├── main.md
            ├── result.json
            ├── original.md
            └── images/

Configuration

Config path follows the XDG Base Directory Specification:

~/.config/glm-ocr-cli/config.toml

See config.example.toml for all available options.

Development

just setup-dev

Tooling

Dependencies

Automated via Renovate. Dependency update PRs are created automatically.

Release

Automated via release-please. Merge the auto-generated Release PR to bump version, update CHANGELOG.md, and create a tag.

Metadata

Release files for glm-ocr-cli 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for glm-ocr-cli 0.0.1
File Size Uploaded Provenance Actions
glm_ocr_cli-0.0.1.tar.gz 97.5 kB Without provenance Details for glm_ocr_cli-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for glm-ocr-cli 0.0.1
File Interpreter ABI Platform Actions
glm_ocr_cli-0.0.1-py3-none-any.whl Python 3 none any Details for glm_ocr_cli-0.0.1-py3-none-any.whl

Total release size: 124.8 kB

Release files / glm_ocr_cli-0.0.1.tar.gz

Download URL glm_ocr_cli-0.0.1.tar.gz
Size 97.5 kB
Tags Source
SHA-256 checksum
How to use checksums
08c546637019d9570fa47e05f56ae08fc9f384dada95009c9d864c144dd306b7
BLAKE2b-256 checksum
How to use checksums
67d4182fd0a2864d73620348c13b433ce2296f69d9b9b1573152a522a82cb91d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / glm_ocr_cli-0.0.1-py3-none-any.whl

Download URL glm_ocr_cli-0.0.1-py3-none-any.whl
Size 27.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
618698e2b9ff4bee73e26fe9fbe7f20c36b262027084425f2e38cf7f09755006
BLAKE2b-256 checksum
How to use checksums
a3f81369dd8d5ffa4e1df95caf884b9a27b1d3af831faf766e1446005aa021c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for glm-ocr-cli 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page