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. See ROADMAP.md

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.

Sample Usage

See sample.py for basic sample usage

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-0.0.12.tar.gz (7.8 kB view hashes)

Uploaded Source

Built Distribution

async_translate-0.0.12-py3-none-any.whl (10.1 kB view hashes)

Uploaded Python 3

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