Skip to main content

Quart-Mongo bridges Quart, Motor, and Odmantic to create a powerful MongoDB extension for your Quart app.

Project description

Quart Mongo

Quart Mongo Logo

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.

Quart Plug Mongo

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


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)

Uploaded Source

Built Distribution

quart_mongo-0.1.0-py3-none-any.whl (11.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page