Skip to main content

py-Xtranslator

Simple Python translation library using Google Translate unofficial API.

Installation

pip install py-Xtranslator

Usage

from py-Xtranslator 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.

Metadata

Release files for py-Xtranslator 0.1.0

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

Source distribution (sdist)

Source distribution for py-Xtranslator 0.1.0
File Size Uploaded
py_xtranslator-0.1.0.tar.gz 3.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for py-Xtranslator 0.1.0
File Interpreter ABI Platform
py_xtranslator-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.7 kB

Release files / py_xtranslator-0.1.0.tar.gz

Download URL py_xtranslator-0.1.0.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
fb0e38189d482cce56e1842aa7f1b13c30c76ed194dae51b5b8b805dce357dee
BLAKE2b-256 checksum
How to use checksums
a6e4b4cd90e1ad2a823d6a1764dd01d024b138190c9bac560c8c35ae086c098c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.1

Release files / py_xtranslator-0.1.0-py3-none-any.whl

Download URL py_xtranslator-0.1.0-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
85ab7bb4c5faeed405fae9d08a7cf3e2e6e97653b77c6d2474a415927fbc94d6
BLAKE2b-256 checksum
How to use checksums
acd98a72a7672696d25aa61cbebbbb56e461bf6684f4f960262a78d3ed17c939
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.1

Release history Release notifications | RSS feed

This release

0.1.0 This release

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