Metadata-Version: 2.1
Name: quart-babel
Version: 0.0.3
Summary: Implements i18n and l10n support for Quart.
Home-page: https://github.com/Quart-Addons/quart-uploads
License: MIT
Author: Chris Rood
Author-email: quart.addons@gmail.com
Requires-Python: >=3.10,<4.0
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: Babel (>=2.10.3,<3.0.0)
Requires-Dist: ipapi (>=1.0.4,<2.0.0)
Requires-Dist: nest-asyncio (>=1.5.5,<2.0.0)
Requires-Dist: quart (>=0.18.0,<0.19.0)
Project-URL: Documentation, https://quart-babel.readthedocs.io/
Project-URL: Repository, https://github.com/Quart-Addons/quart-uploads
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)


# Documention

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://flask-babel.tkte.ch/
