Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/quart-addons/quart-mongo
- Owner: Quart-Addons
- License: mit
- Created: 2023-03-23T02:13:04.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-18T11:34:37.000Z (2 months ago)
- Last Synced: 2024-10-29T09:16:36.199Z (about 2 months ago)
- Topics: bson, gridfs, json, mongodb, motor, odmantic, pymongo, python3, quart, quart-schema
- Language: Python
- Homepage: https://quart-mongo.readthedocs.io/en/latest/
- Size: 290 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGE.md
- License: LICENSE
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 Mongoapp = 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