Skip to main content

auto-translation

auto-translation is a simple python library to translate any other language or transform it to speech with google traduction , all that using the user's Chrome browser with selenium in hidden mode , mean time to return the translation or speech 15 seconds

Installation :

| $ pip install auto-translation |

Simple usage :

| >>> from auto_browser.selenium_translation import Chrome |

| >>> test=Chrome() |

| >>> print( test.translate_text(text='Bonjour',from_lang='fr',to_lang='fr') )|

| >>> Good morning |

Methods :

Methods Return
translation_url(from_lang=str,to_lang=str) url of google translation (str)
translation_text_url(text=str,from_lang=str,to_lang=str) url of the translation needed (str)
translate_text(text=str,from_lang=str,to_lang=str) translation of text (str)
text_2_speech(text=str, language=str) None , text speech
translation_2_speech(text=str,from_lang=str,to_lang=str) None , translation speech

Note :

Use language codes >>> ISO-639 Language Codes

example :
Arabic:ar
French:fr

Metadata

Release files for auto-translation 0.1.5

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

Source distribution (sdist)

Source distribution for auto-translation 0.1.5
File Size Uploaded Provenance
auto_translation-0.1.5.tar.gz 2.7 kB Without provenance Details

Release files / auto_translation-0.1.5.tar.gz

Download URL auto_translation-0.1.5.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6322606eed7a99b92595b77b871ea29a57845f1b5566f388b57fdd80aa8dd2d1
BLAKE2b-256 checksum
How to use checksums
6aa98e99845c7b9998947bd236a5f6decf558a45263c706cac3e15526e9d1f75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.7.4

Security for auto-translation 0.1.5

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