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
Release history Release notifications | RSS feed
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.1.0.tar.gz
(3.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file transforx-0.1.0.tar.gz.
File metadata
- Download URL: transforx-0.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab593dfa37644c8a2adcad57c376e974a266752b281af6d5ffed75d779f7a7c8
|
|
| MD5 |
88dbec0f6bd6e67b06b5dc838516ac8a
|
|
| BLAKE2b-256 |
90c087857d496f7e1c72b84da27868beb9ac4b53fe7205dee69af903f4528043
|
File details
Details for the file transforx-0.1.0-py3-none-any.whl.
File metadata
- Download URL: transforx-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b86743de35a30de7c051cc87b1b5da09bce48a52ee337d0da637d9784739a19a
|
|
| MD5 |
1dee62344eb195416a204720ffc12cb7
|
|
| BLAKE2b-256 |
1b88212b36d3efd540bfe59e9abad76c5274bbdcf3a268a353f3c08f62df29ac
|