Skip to main content

python-translator

A python library to translate text from one language to another.

Why use this?

It uses the Google API, showing the best results. And unlike other repos, does not require an API key to operate.

Install

$ pip install python-translator

Example

from python_translator import Translator

translator = Translator()
result = translator.translate("Hello world!", "spanish", "english")

print(result)

Metadata

Release files for python-translator 1.0.3

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

Source distribution (sdist)

Source distribution for python-translator 1.0.3
File Size Uploaded Provenance Actions
python-translator-1.0.3.tar.gz 3.3 kB Without provenance Details for python-translator-1.0.3.tar.gz

Release files / python-translator-1.0.3.tar.gz

Download URL python-translator-1.0.3.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
339a2a61fd6bde68f80afaac8066acbffbc67a711ee04af4734554001b798007
BLAKE2b-256 checksum
How to use checksums
f8e7b61e7d30fb10638b55330a780f7615e7ed984c880ed394401111efb09ee5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

Security for python-translator 1.0.3

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.

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