Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/quart-addons/quart-mongo

Quart-Mongo bridges Quart, Motor, and Odmantic to create a powerful MongoDB extension for your Quart app.
https://github.com/quart-addons/quart-mongo

bson gridfs json mongodb motor odmantic pymongo python3 quart quart-schema

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# Quart Mongo

![Quart Mongo Logo](logos/logo.png)

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](logos/quart_mongo.png)

# 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](https://quart-mongo.readthedocs.io/en/latest/).

[Quart]: https://quart.palletsprojects.com/en/latest/>
[Motor]: https://motor.readthedocs.io/en/stable/>
[Odmantic]: https://art049.github.io/odmantic/
[Quart-Schema]: https://github.com/pgjones/quart-schema