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__)
mongo = 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.1.tar.gz
(9.6 kB
view hashes)
Built Distribution
Close
Hashes for quart_mongo-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8a8658b6eb6309bf058a5d5133d8bd100e419b1fd97cb0ae1fa75ed76e84000 |
|
MD5 | 3cf1fc13bf8dee77854b8c1d00c549e3 |
|
BLAKE2b-256 | ba9e4830cc7f651e9d1bae1e704efecdf6c2a8af77add4e9b927b9617a9cc6c2 |