Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Multi-provider async translate API
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.
Currently this uses Python 3.8 specific features.
Install with pip install -U async-translate
.
A few providers are baked into this package. You can install them with:
pip install -U async-translate[azure]
pip install -U async-translate[google]
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.
FAQs
Multi-provider async translate API
We found that async-translate demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.