Metadata-Version: 2.1
Name: quart-babel
Version: 1.0.1
Summary: Implements i18n and l10n support for Quart.
License: MIT
Author: Chris Rood
Author-email: quart.addons@gmail.com
Requires-Python: >=3.10,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: Babel (>=2.11.0,<3.0.0)
Requires-Dist: asgi-tools (>=0.64.8,<0.65.0)
Requires-Dist: importlib-metadata (>=6.0.0,<7.0.0)
Requires-Dist: ipapi (>=1.0.4,<2.0.0)
Requires-Dist: quart (>=0.18.3,<0.19.0)
Description-Content-Type: text/markdown

# Quart Babel

![Quart Uploads Logo](logos/logo.png)

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 Flask-BabelPlus. 
Flask-Babel can be found [here][flask-babel] and Flask-BabelPlus can be found 
[here][flask-babelplus]

# 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/
[flask-babelplus]: https://github.com/sh4nks/flask-babelplus
[docs]: https://quart-babel.readthedocs.io

