Skip to main content

TranslatorX

A Python package for translation that uses Google translator and also supports asynchronous programming!

Please star the GitHub repository to support me :)

Simpale Example

import asyncio
import TranslatorX

trans = TranslatorX.Translator()

async def main():
    print(trans.translator(text='hi', to_lang='fa'))

asyncio.run(main())

Async Support

import asyncio
import TranslatorX

trans = TranslatorX.AsyncTranslator()

async def main():
    print(await trans.translator(text='hi', to_lang='fa'))

asyncio.run(main())

Install Package

pip3 install -U TranslatorX

Metadata

Release files for TranslatorX 1.2

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

Source distribution (sdist)

Source distribution for TranslatorX 1.2
File Size Uploaded
TranslatorX-1.2.tar.gz 2.2 kB Details

Release files / TranslatorX-1.2.tar.gz

Download URL TranslatorX-1.2.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
1a36b2a08011d6f6b56e195bca40a92558dbc96c405c041cfd541816540c4795
BLAKE2b-256 checksum
How to use checksums
3615aa2df5b5eae44d39f373c8649794b80d93ba5b4df4d4f1aace0c2ea0bfbb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.3

Release history Release notifications | RSS feed

This release

1.2 This release

1 release file

1.1

1 release file

1.0

1 release file

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