batch_tr
batch translate long text and list of texts at 10000 chars/s
Use It
from batch_tr.batch_tr import batch_tr
res = batch_tr("very long text " * 10000)
print(res)
# to chinese/zh
print(batch_tr("test me", to_lang="de"))
# long list
res = batch_tr(("very long text \n" * 10000).splitlines())
# equally long list of translated text
# known to work for to_lang="zh" (default)
print(res)
Metadata
Release files for batch-tr 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 |
|---|---|---|---|---|
| batch-tr-0.1.0.tar.gz | 3.2 kB | Without provenance | Details for batch-tr-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| batch_tr-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for batch_tr-0.1.0-py3-none-any.whl |
Total release size: 6.5 kB
Release files / batch-tr-0.1.0.tar.gz
| Download URL | batch-tr-0.1.0.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c99c0486b218d0c49459c111f44bb759beea049e832ea5dfd3fff6d1fc7b15ba
|
|
BLAKE2b-256 checksum How to use checksums |
3232b37ca5eccce9c39855d540c79299aadc69f88f133767baf8b0401afa1232
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/3.7.9 Windows/10
|
Release files / batch_tr-0.1.0-py3-none-any.whl
| Download URL | batch_tr-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
16d12a52aea93842fcec6c8652236d279b9047e7ce731bd32697c68e5d362581
|
|
BLAKE2b-256 checksum How to use checksums |
7cf10e9545252a42b07175773fb4a776dfe796c61f11d6aa2cec9df8a29870bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/3.7.9 Windows/10
|
Security for batch-tr 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.
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.