Quart-Mongo bridges Quart, Motor, and Odmantic to create a powerful MongoDB extension for your Quart app.
Project description
Quart Mongo
Quart-Mongo bridges Quart, Motor, and Odmantic to create a powerful MongoDB extension to use in your Quart applications. It also provides some convenience helpers as well as being able to work with Quart-Schema.
Installation
Install the extension with the following command:
$ pip3 install quart-mongo
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_mongo import Mongo
app = Quart(__name__)
babel = Mongo(app)
Documentation
The documentation for Quart-Mongo and is available here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
quart_mongo-0.1.0.tar.gz
(9.7 kB
view hashes)
Built Distribution
Close
Hashes for quart_mongo-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e6928bba615575fbc11880c29c4bdc11f109e362b7bbfa901f1d56e93564dc3 |
|
MD5 | 24a16f81c6f393b8e85eb06bdf83fced |
|
BLAKE2b-256 | f1ae1efb9a3c30478dd82e3f55488c68cbdfe16314f74278dec8556a531425b6 |