Skip to main content

easytranslator

A Python package for reliable text translation using multiple free engines with automatic failover.

Currently, it supports the following languages:

  • English
  • Chinese Simplified
  • Chinese Traditional
  • Russian
  • Japanese
  • Korean
  • Czech
  • Danish
  • German
  • Spanish
  • French
  • Indonesian
  • Italian
  • Hungarian
  • Dutch
  • Polish
  • Portuguese
  • Swedish
  • Turkish

Installation

  1. Install: pip install easytranslator
  2. Translate a text:
    from easytranslator import EasyTranslator
    
    et = EasyTranslator()
    results = et.translate(
        text="Hello, world!", 
        dest_lang="Chinese Simplified", 
        src_lang="auto", 
        proxies=[])
    print(results) 
    '''
    {
        "translated_text": "你好,世界!",
        "status": "success",
    }
    '''
    
  3. More details can be found in the main.py file.

Metadata

Release files for easytranslator 2024.6.20

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

Source distribution (sdist)

Source distribution for easytranslator 2024.6.20
File Size Uploaded Provenance
easytranslator-2024.6.20.tar.gz 20.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for easytranslator 2024.6.20
File Interpreter ABI Platform
easytranslator-2024.6.20-py3-none-any.whl Python 3 none any Details

Total release size: 39.8 kB

Release files / easytranslator-2024.6.20.tar.gz

Download URL easytranslator-2024.6.20.tar.gz
Size 20.7 kB
Tags Source
SHA-256 checksum
How to use checksums
84a5225cf415627e4794cc7e96b0239bed60a3f63de1f5d48aa82c2ea2dd1d73
BLAKE2b-256 checksum
How to use checksums
f787df07cfbb7d87031a1513a9764eff03d6c4b8a630f3aac6a4a9f571a2cd48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.9.19

Release files / easytranslator-2024.6.20-py3-none-any.whl

Download URL easytranslator-2024.6.20-py3-none-any.whl
Size 19.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b92c951f36b135129f46806a64eefe48a6e69b1aab83907b99ea03b11d5f6481
BLAKE2b-256 checksum
How to use checksums
82bbff5e61ee9bb5a393aea640d7ef9b2b9636cb3e6b086267ff20fce3ba8ef2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.9.19

Security for easytranslator 2024.6.20

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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