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.1.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

quart_libretranslate-0.0.1-py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 3

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