Skip to main content

Simple Python translation library using Google Translate unofficial API.

Project description

TransforX

Simple Python translation library using Google Translate unofficial API.

Installation

pip install transforx

Usage

from transforx import translate

print(translate("سلام دنیا", to_lang="en"))
# Output: Hello World

print(translate(["سلام", "دنیا"], to_lang="en"))
# Output: ['Hello', 'World']

Features

  • Translate a text or a list of texts.
  • Auto-detect source languages.
  • No Api-Key Requested.

LICENSE

The project is published with MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

transforx-0.18.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

transforx-0.18.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file transforx-0.18.0.tar.gz.

File metadata

  • Download URL: transforx-0.18.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for transforx-0.18.0.tar.gz
Algorithm Hash digest
SHA256 4ccb3cc3eb7437b69c6ec9ab3a4696445e8ed69f355a1171c657ac973f50e00d
MD5 0d9b53f08d9bc81a5d5b5e48a8f54b71
BLAKE2b-256 4fc3163bb5d00f33e1af230b1d1e1253197550fd6f0a14bab2fe5352ecf52816

See more details on using hashes here.

File details

Details for the file transforx-0.18.0-py3-none-any.whl.

File metadata

  • Download URL: transforx-0.18.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for transforx-0.18.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2746a35d13de0e4aa1f3d9907783d967af02c03facd91532e0187345e3c3b8e4
MD5 e617e86fdf0d5e059ca65974ec5342df
BLAKE2b-256 9257a94a78bb1993729dde730a457968d8d7b6988096fbe79a719358de8e13a2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page