Skip to main content

tesstrain.py

Utilities for working with Tesseract >= 4 using artificial training data.

About

This repository contains a standalone fork of the official/upstream code at https://github.com/tesseract-ocr/tesstrain/tree/main/src to allow easier packaging for PyPI.

Installation

This package requires the Tesseract training tools to be available on your system. Additionally, a supported Python version (at least 3.6) is required for running.

You can install this package from PyPI:

python -m pip install tesstrain

Alternatively, you may use pip install . to install the package from a source checkout.

Running

  • Use the terminal interface to directly interact with the tools: python -m tesstrain --help.
  • Call it from your own code using the high-level interface tesstrain.run().

License

This package is subject to the terms of the Apache-2.0 license.

Metadata

Release files for tesstrain 0.2.0

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

Source distribution (sdist)

Source distribution for tesstrain 0.2.0
File Size Uploaded Provenance Actions
tesstrain-0.2.0.tar.gz 23.5 kB With provenance Details for tesstrain-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tesstrain 0.2.0
File Interpreter ABI Platform Actions
tesstrain-0.2.0-py3-none-any.whl Python 3 none any Details for tesstrain-0.2.0-py3-none-any.whl

Total release size: 49.3 kB

Release files / tesstrain-0.2.0.tar.gz

Download URL tesstrain-0.2.0.tar.gz
Size 23.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6f3bbf1b0466431f4f886d01222c13f8bb6980690c2ae97b416355e586ca8988
BLAKE2b-256 checksum
How to use checksums
a910d9d6aee11eea64dc15d8f8c0319fce53ddea5e793eb810eea34c4b757ef7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Mar 15, 2025.

Transparency log

Release files / tesstrain-0.2.0-py3-none-any.whl

Download URL tesstrain-0.2.0-py3-none-any.whl
Size 25.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
65b77ab88f7210bc11d7a0115704c40e39bf24fd66c5d4e07d85411c9f52d48e
BLAKE2b-256 checksum
How to use checksums
2ee38a6a129c7ad3f3fa24d7549c11dce1a9ed16e9906c6f2579a0eb540760bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Mar 15, 2025.

Transparency log

Security for tesstrain 0.2.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.

Select from 2 files

Attestation for tesstrain-0.2.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 Mar 15, 2025.

Transparency log

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.

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