Skip to content

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

License

Notifications You must be signed in to change notification settings

Quart-Addons/quart-mongo

Folders and files

NameName
Last commit message
Last commit date
Sep 13, 2024
Sep 13, 2024
Oct 6, 2024
May 26, 2023
Oct 18, 2024
Sep 13, 2024
Sep 13, 2024
Mar 23, 2023
Mar 23, 2023
Mar 23, 2023
May 26, 2023
Oct 6, 2024

Repository files navigation

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__)
mongo = Mongo(app)

Documentation

The documentation for Quart-Mongo and is available here.