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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file quart_libretranslate-0.0.2.tar.gz.
File metadata
- Download URL: quart_libretranslate-0.0.2.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.6 Linux/6.10.4-linuxkit
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
900bd32d958676e1b74157b68cd26cee54a9c5c94d880fbb9c1a224975bc6760
|
|
| MD5 |
c8ef576c8e3f0fa7b130e99aa75550b7
|
|
| BLAKE2b-256 |
e66633a4d4ee5d10d5857f85fa811bd7816b08bbbbb8f77eb173df06a8389d45
|
File details
Details for the file quart_libretranslate-0.0.2-py3-none-any.whl.
File metadata
- Download URL: quart_libretranslate-0.0.2-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.6 Linux/6.10.4-linuxkit
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
373a710374822d3f502796b65168fbfe5c59bc375b84ed3f0ea0db111b17161c
|
|
| MD5 |
b6cdcc291e48105480ba3143fdaddaa3
|
|
| BLAKE2b-256 |
87adbf4a027bb726bd25f89a91a9b96e55661f2e5b0770656cc3a61a937aeffe
|