Skip to main content

etranslate is a free and unlimited python library for translate your texts

Project description

Etranslate

python License: MIT PyPI version

Etranslate is a free and unlimited python library for transiting your texts

Install it

#to install:
pip install etranslate

# to upgrade:
pip install etranslate -U

Features

  • Fast and reliable - it uses Google translate
  • Auto language detection
  • Bulk translations

Use it

The quality from this service is not as good as web google translate. There is nothing we can do about it.

It's unclear whether your ip will be blocked if you relentlessly use the service. Please feedback should you find out any information.

from etranslate import translate

# Translate to English by default
translate("Hallo Welt!")  # 'Hello world!'

translate("Hello world!", to="fa")  # '!سلام دنیا'
translate("Hello world!", to="de")  # 'Hallo Welt!'
translate("Hello world!", src="en", to="fa")  # '!سلام دنیا'

Requirements

Python >=3.7
requests

Disclaimer

Etranslate makes use of a translate interface floating around the net and is for study and research purpose only.

The interface may become invalid without notice, which would render Etranslate completely useless.

Licenses

This project is licensed under the MIT License - see the LICENSE file for details

Change log

0.0.1 (23/8/2021)
-------------------
- First Release

0.0.2 (23/8/2021)
-------------------
- fix some problems

0.0.3 (23/8/2021)
-------------------
- fix README.md

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

etranslate-0.0.3.tar.gz (3.9 kB view hashes)

Uploaded Source

Supported by

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