Skip to main content

LibreTranslate for Quart

Project description

Quart LibreTranslate

Quart Uploads Logo

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quart_libretranslate-0.0.2.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

quart_libretranslate-0.0.2-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

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

Hashes for quart_libretranslate-0.0.2.tar.gz
Algorithm Hash digest
SHA256 900bd32d958676e1b74157b68cd26cee54a9c5c94d880fbb9c1a224975bc6760
MD5 c8ef576c8e3f0fa7b130e99aa75550b7
BLAKE2b-256 e66633a4d4ee5d10d5857f85fa811bd7816b08bbbbb8f77eb173df06a8389d45

See more details on using hashes here.

File details

Details for the file quart_libretranslate-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for quart_libretranslate-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 373a710374822d3f502796b65168fbfe5c59bc375b84ed3f0ea0db111b17161c
MD5 b6cdcc291e48105480ba3143fdaddaa3
BLAKE2b-256 87adbf4a027bb726bd25f89a91a9b96e55661f2e5b0770656cc3a61a937aeffe

See more details on using hashes here.

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