A simple Python translation library using Google Translate.
Project description
transforx
A simple and lightweight Python translation library using Google Translate.
Installation
pip install transforx
Usage
from transforx import translate
print(translate("سلام دنیا", to_lang="en"))
# Output: Hello world
Features
- Automatic language detection
- Supports single strings and lists of strings
- Lightweight, no API key needed
License
MIT
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-1.7.3.tar.gz
(2.2 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-1.7.3.tar.gz.
File metadata
- Download URL: transforx-1.7.3.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5459b59a54999c0dc7dedf52d6507c418a7abb3f0a8d96f1e247cb0acbd1e5f0
|
|
| MD5 |
81350ae0b3ae7670ad190bf21c986631
|
|
| BLAKE2b-256 |
e4629f43fcaefafe7e21ab3771eda034bf0432c2ff3e846dc8c964ec48ac2e4a
|
File details
Details for the file transforx-1.7.3-py3-none-any.whl.
File metadata
- Download URL: transforx-1.7.3-py3-none-any.whl
- Upload date:
- Size: 3.3 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 |
7054d88527c08e9789641568d276daae9b5fbcc9d5d7744bc833baec8c002db3
|
|
| MD5 |
84a74658b6f07c5e206a833630d14286
|
|
| BLAKE2b-256 |
f727523b9ce6f4a70defdca0b28aaaeed43890e9e264244cbe0821d3a80a9f8c
|