mrtnvgr / async-translate

Multi-provider Async Translate API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Multi-provider Async Translate API

License:MIT License


Languages

Language:Python 100.0%