Skip to main content

Multi-provider async translate API

Project description

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:

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.

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

async_translate-1.1.2.tar.gz (27.1 kB view details)

Uploaded Source

Built Distribution

async_translate-1.1.2-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file async_translate-1.1.2.tar.gz.

File metadata

  • Download URL: async_translate-1.1.2.tar.gz
  • Upload date:
  • Size: 27.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for async_translate-1.1.2.tar.gz
Algorithm Hash digest
SHA256 42480f6fcd9c6e78c999d7ff83c8cbb3edb42803640b601727b038a44b07e7e1
MD5 b5de8d0e61c92a06ebb906d9c45007ed
BLAKE2b-256 e8beab9900a992f06783d27a467a5b139e128544d1f7568451d7c02c4e2c35bb

See more details on using hashes here.

File details

Details for the file async_translate-1.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for async_translate-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4069c5008adb3bb31fc23e49962d9bada196ad112b4195e43bb1ffe65bf4786c
MD5 13ab9c83ae341bd40023b6ed767c4a99
BLAKE2b-256 06f1c306e0d7095338c2c10a3b0cf3899934c9f67c0d5a029e99b1a158f0bb10

See more details on using hashes here.

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