quart_babel-1.0.7
توضیحات
Implements i18n and l10n support for Quart.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | quart_babel-1.0.7 |
| نام | quart_babel |
| نسخه کتابخانه | 1.0.7 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Chris Rood |
| ایمیل نویسنده | quart.addons@gmail.com |
| آدرس صفحه اصلی | https://github.com/Quart-Addons/quart-babel |
| آدرس اینترنتی | https://pypi.org/project/quart_babel/ |
| مجوز | MIT |
# 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][flask-babel]
# 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][docs].
[babel]: https://github.com/python-babel/babel
[pytz]: https://pypi.python.org/pypi/pytz/
[flask-babel]: https://flask-babel.tkte.ch/
[docs]: https://quart-babel.readthedocs.io
نیازمندی
| مقدار | نام |
|---|---|
| - | quart>=0.19 |
| - | Babel>=2.11 |
| - | pytz>=2023.3 |
| - | types-pytz>=2024.1.0.20240417 |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl quart_babel-1.0.7:
pip install quart_babel-1.0.7.whl
نصب پکیج tar.gz quart_babel-1.0.7:
pip install quart_babel-1.0.7.tar.gz