async_translate
Multi-provider async translate API
Why?
Most translate APIs work on one backend (usually Google Translate), and few are fully asynchronous.
I wanted a translate API that uses async and await, and I wanted to be able to use multiple providers without having
to deal with their different APIs.
I built this to use with my Discord bot, Mr. Translate.
Installation
Currently this uses Python 3.8 specific features.
Install with pip install -U async-translate.
Optional Default Providers
A few providers are baked into this package. You can install them with:
- Azure Cognitive Services
pip install -U async-translate[azure] - Google Translate
pip install -U async-translate[google]
Custom Providers
See CUSTOM_PROVIDERS.md on making your own providers.
Feel free to contribute back to the project with a pull request containing code for other providers.
Release files for async-translate 1.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| async_translate-1.1.3.tar.gz | 27.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| async_translate-1.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 38.7 kB
Release files / async_translate-1.1.3.tar.gz
| Download URL | async_translate-1.1.3.tar.gz |
|---|---|
| Size | 27.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5a873aab271bc009252951710eca5cb83f53af66ea10ab66a34d4e03f3cd48e1
|
|
BLAKE2b-256 checksum How to use checksums |
cd1b20458551c3aa5346c2bafb3331cbdd53adb0c8ff22805333ec6a8e530501
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.18
|
Release files / async_translate-1.1.3-py3-none-any.whl
| Download URL | async_translate-1.1.3-py3-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5b3b77e956da7b0b0a490a04fa35c43b5cc05a61aa372596b4306e7538ad95bc
|
|
BLAKE2b-256 checksum How to use checksums |
21a848586b73eac6e6f6a85481000db1c0cf563dee5084676e101caecc12b828
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.18
|