Skip to main content

Python Translation

Document    |    Installation    |    Usage    |    GitHub

Getting Started

Well, here is the beginning of a simple code that you can use no matter what

Installation

Of course we will now install the library through a command pip
if your system is Windows

$ pip install pytranslation

if your system is Linux

pip3 install pytranslation

And here we finish installing the library

Usage

Through this code and instructions, you will be able to use the library as required

# Here we will call the library
# (py) Python
from pytranslation import Translation

translate = Translation()
# Through this command. You can convert from any language to the language you want
translate = translate.convert('en', 'ru', 'Welcome to USA!')
# This is here output 
print(translate)

You can also translate from the names of the entire language

translate = translate.convert('English', 'Russian', 'Welcome to USA!')

Oh! also, instead of typing the language, you can learn the language automatically (this feature wotk in Google Engin, I don't know if it works with other engines)

translate = translate.convert('auto', 'ru', 'Welcome to USA!')

Do you know that ? Indee, you can choose another engine for translation through this example

# If you don't use a specific engin, Google Translate will be the default
translate = translate.convert('en', 'ru', 'Welcome to USA!', engine="Liber")

Metadata

Release files for pytranslation 1.0.3

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

Built distribution (wheel)

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

Release files / PyTranslation-1.0.3-py3-none-any.whl

Download URL PyTranslation-1.0.3-py3-none-any.whl
Size 1.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fa7123d7b1972c175d9b502a118b8c521059538748b73148be4c8dfb76a749c3
BLAKE2b-256 checksum
How to use checksums
8043096c1314e8e3457f2252af650e9eb505fc6b37526c3f802e443c674b3b7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.27.1 setuptools/59.6.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.9.10

Security for pytranslation 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