LibreTranslate for Quart
Project description
Quart LibreTranslate
This is a basic extension to use LibreTranslate in your Quart app and is based on AIOHttp. LibreTranslate can be ran on the same server as your Quart app allowing you not needing a third-party provider.
Installation
Install the extension with the following command:
$ pip3 install quart-libretranslate
Usage
To use the extension simply import the class wrapper and pass the Quart app object back to here. Do so like this:
from quart import Quart
from quart_libretranslate import LibreTranslate
app = Quart(__name__)
translate = LibreTranslate(app)
Documentation
The for Quart-Babel and is available here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for quart_libretranslate-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23c08eb0cf0c75fab78f7a9f40d3f3ff7e7af9053268271d3593704b8f2a7981 |
|
MD5 | 488668c2273c3ba5a6d215f4cc1961c8 |
|
BLAKE2b-256 | 70b98fd1f3664a4230998657c2daa73b42cf49fcb76731ecbc23c5979c986646 |
Close
Hashes for quart_libretranslate-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a70226d0c5a18516ab6b770adeb809b9e0b514bcc5515b832769f13d2d40642 |
|
MD5 | 5e125c696e6c7abeb0428f25219da6b9 |
|
BLAKE2b-256 | 49a3bc0be3591e7a2e102d6c24859b7d23984e30992967ae9a23bed02f267bbb |