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
PyTranslation-1.0.3-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

1.0.3 This release

1 release file

1.0.2

3 release files

0.0.1

2 release files

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