Plugin for using LibreTranslate with ocr_translate
This is a plugin for the ocr_translate server for implementing translations using LibreTranslate
Usage
For versions of the server >=0.7
- Install through the server plugin manager OR manually by running
pip install ocr_translate-libretranslate
IMPORTANT
LibreTranslate needs to be installed separately and reachable from the server.
For the plugin:
-
The environment variable
OCT_LIBRETRANSLATE_ENDPOINTshould be set to the endpoint of the LibreTranslate server (WITHOUT the/translate).Example:
export OCT_LIBRETRANSLATE_ENDPOINT=http://localhost:5000/
-
If the server requires an API key, set the environment variable
OCT_LIBRETRANSLATE_API_KEYto the API key. Example:export OCT_LIBRETRANSLATE_API_KEY=your_api_key_here
Metadata
Release files for ocr_translate-libretranslate 0.1.1
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 |
|---|---|---|---|---|
| ocr_translate_libretranslate-0.1.1.tar.gz | 16.2 kB | Without provenance | Details for ocr_translate_libretranslate-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ocr_translate_libretranslate-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for ocr_translate_libretranslate-0.1.1-py3-none-any.whl |
Total release size: 34.1 kB
Release files / ocr_translate_libretranslate-0.1.1.tar.gz
| Download URL | ocr_translate_libretranslate-0.1.1.tar.gz |
|---|---|
| Size | 16.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8c3503fa0bc08bec29f6d8a5c1e2a312b13aced8d8610c292248be45e18bba6f
|
|
BLAKE2b-256 checksum How to use checksums |
d1f42afaa79664006705f2f72927892c66f4364bdfc89538b45258620590868b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.5
|
Release files / ocr_translate_libretranslate-0.1.1-py3-none-any.whl
| Download URL | ocr_translate_libretranslate-0.1.1-py3-none-any.whl |
|---|---|
| Size | 17.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e8ac4281de5790b5fb93c26f16f13703b71ec4cd7d944ed9718601105a259f6b
|
|
BLAKE2b-256 checksum How to use checksums |
3a3672e2a839708dc8c38931d3a60fd69fe624539bf97599313dadb9d6ab6b1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.5
|
Security for ocr_translate-libretranslate 0.1.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.