pytranslater
A Python package that translates text and files into 100+ languages.
Installation
pip install pytranslater
Usage
In Python
from pytranslater import translate_text, translate_file, translator_languages
# Translate text to any language
translate_text("Hello", "de") # → Hallo (German)
translate_text("Hello", "ar") # → مرحبا (Arabic)
translate_text("Hello", "ja") # → こんにちは (Japanese)
# Translate a file
translate_file("notes.txt", "de") # → notes.txt_translated.txt (German)
translate_file("story.txt", "ar") # → story.txt_translated.txt (Arabic)
# Show all available languages
translator_languages() # Lists all 100+ language codes
From Command Line (Terminal)
# Translate text
pytranslater text "Hello World" de
pytranslater text "Good morning" ar
# Translate a file
pytranslater file notes.txt de
pytranslater file story.txt ja
# Show all languages
pytranslater languages
Features
- Translate to 100+ languages
- Translate entire files with encoding support
- Command-line interface
- Built-in language list
- Simple and fast
Metadata
Release files for pytranslater 0.7
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 |
|---|---|---|---|---|
| pytranslater-0.7.tar.gz | 3.6 kB | Without provenance | Details for pytranslater-0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytranslater-0.7-py3-none-any.whl | Python 3 | none | any | Details for pytranslater-0.7-py3-none-any.whl |
Total release size: 7.7 kB
Release files / pytranslater-0.7.tar.gz
| Download URL | pytranslater-0.7.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cee0c67d7f4dc6af8b3a29d9d1ad7bdccde227e9d7ee4a48896f20a62bd0a285
|
|
BLAKE2b-256 checksum How to use checksums |
268c14651fc769c7f9ea92a85bf02f995cef5ce136fd260e7d35c28311f0d251
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.1
|
Release files / pytranslater-0.7-py3-none-any.whl
| Download URL | pytranslater-0.7-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a58934f2674ac4dd1e4c3e14ff82b06891658e2110241c1acf8e04d68051709b
|
|
BLAKE2b-256 checksum How to use checksums |
1ec2ddda86208c6697a777c5793d0e40bc7fd1eca377b1d8d78c7e9453d9480a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.1
|
Security for pytranslater 0.7
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.