This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 0.2.0 instead.
kes-tools
Command-line client for the kes-tools website, which turns PDFs and Kurzweil 3000 .kes files into .kes files with OCR, layout and reading order from Datalab, tuned so Kurzweil reads whole sentences.
Conversions run on the kes-tools website with your account and the Datalab API key you set up there, so they are billed to your Datalab account.
Install
uv tool install kes-tools # or: pipx install kes-tools
Or run it without installing: uvx kes-tools …. Works on Windows, macOS and Linux with Python 3.9 or newer.
Sign in
kes-tools login
This opens your browser to sign in with your kes-tools account (email and password, or Google). The sign-in is kept in your system's keychain (macOS Keychain, Windows Credential Manager or the Linux Secret Service) and lasts a year. kes-tools logout signs out.
On a machine without a browser or keychain, such as a server or CI job, run kes-tools login --export on your own computer, store the printed token as a secret, and set it as KES_TOOLS_REFRESH_TOKEN where the CLI runs. Anyone with that token can use your account until it expires or you run kes-tools logout.
Use
kes-tools convert book.pdf chapter*.kes -o converted/ # upload, wait and download the results
kes-tools convert --no-wait *.pdf # only start the conversions
kes-tools jobs # list your conversions
kes-tools download JOB_ID … -o converted/ # download finished conversions
kes-tools delete JOB_ID … # delete conversions and their files
kes-tools whoami # who is signed in, and whether a Datalab key is set up
convert takes --mode fast|balanced|accurate (Datalab's mode, default balanced) and, for .kes files, --image color|bitmap (send the colour scan or the black-and-white text bitmap). Wildcards like *.pdf work in every shell, including PowerShell and cmd. Files are converted one at a time on the server; existing files in the output folder are kept and the new one gets " (2)" unless you pass --overwrite.
Every command takes --json for machine-readable output. Exit codes: 0 success, 1 a conversion or download failed, 2 wrong arguments or files, 3 not signed in or the sign-in expired.
--url or KES_TOOLS_URL points the CLI at another deployment of kes-tools.
License
Apache License 2.0. The full text is in the LICENSE file included in the package.
Metadata
Release files for kes-tools 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kes_tools-0.1.0.tar.gz | 52.8 kB | With provenance | Details for kes_tools-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kes_tools-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for kes_tools-0.1.0-py3-none-any.whl |
Total release size: 68.0 kB
Release files / kes_tools-0.1.0.tar.gz
| Download URL | kes_tools-0.1.0.tar.gz |
|---|---|
| Size | 52.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
09f5aa9111c1d9c3d78d4c51197da766a8f755cd5509bc34e435f34ff49f823c
|
|
BLAKE2b-256 checksum How to use checksums |
1b608e8ee911ed1bc9897e9606fa69d45f9e671eb249817d81ec333248e0fe72
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.
Transparency logRelease files / kes_tools-0.1.0-py3-none-any.whl
| Download URL | kes_tools-0.1.0-py3-none-any.whl |
|---|---|
| Size | 15.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
32ab539da52bb9eb7db1efb5a7255be0f027f6b7ad1cdbee3acf1814f62b4b03
|
|
BLAKE2b-256 checksum How to use checksums |
ee098ad244b184058013a55130c1c4de582c20f441532b37be0d7875e9a1b1c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.
Transparency logSecurity for kes-tools 0.1.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for kes_tools-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.
Transparency logA 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.