Quart Babel
Implements i18n and l10n support for Quart. This is based on the Python babel module as well as pytz both of which are installed automatically for you if you install this library.
The original code for this extension was taken from Flask-Babel and can be found here
Installation
Install the extension with the following command:
$ pip3 install quart-babel
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_babel import Babel
app = Quart(__name__)
babel = Babel(app)
Documentation
The for Quart-Babel and is available here.
Metadata
Release files for quart_babel 1.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| quart_babel-1.0.7.tar.gz | 11.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| quart_babel-1.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.3 kB
Release files / quart_babel-1.0.7.tar.gz
| Download URL | quart_babel-1.0.7.tar.gz |
|---|---|
| Size | 11.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8ceb418f16bee0f7ffbdbb4d0612dac63f3baf70462e2d27f1de2314fd97a997
|
|
BLAKE2b-256 checksum How to use checksums |
69d4a2145c383117fee02bfe20fcf184e392a221c15218777df896298a6fa67e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.6 Linux/6.10.4-linuxkit
|
Release files / quart_babel-1.0.7-py3-none-any.whl
| Download URL | quart_babel-1.0.7-py3-none-any.whl |
|---|---|
| Size | 13.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8725f119e4c1fc56b555aee674d063a25e478924f471145cb1fa4a41ac459a74
|
|
BLAKE2b-256 checksum How to use checksums |
328cad281355b5a69088a2c0823f78805a3870f763eb5b4d6697945c40a1f883
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.6 Linux/6.10.4-linuxkit
|