remove gitignore
This commit is contained in:
@@ -0,0 +1 @@
|
||||
pip
|
||||
@@ -0,0 +1,83 @@
|
||||
Metadata-Version: 2.4
|
||||
Name: Flask-PyMongo
|
||||
Version: 3.0.1
|
||||
Summary: PyMongo support for Flask applications
|
||||
Project-URL: Download, https://github.com/mongodb-labs/flask-pymongo/tags
|
||||
Project-URL: Homepage, http://flask-pymongo.readthedocs.org/
|
||||
Author-email: Dan Crosta <dcrosta@late.am>
|
||||
License: Copyright (c) 2011-2017, Dan Crosta
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice,
|
||||
this list of conditions and the following disclaimer.
|
||||
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
||||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
License-File: LICENSE
|
||||
Classifier: Environment :: Web Environment
|
||||
Classifier: Framework :: Flask
|
||||
Classifier: Intended Audience :: Developers
|
||||
Classifier: License :: OSI Approved :: BSD License
|
||||
Classifier: Operating System :: OS Independent
|
||||
Classifier: Programming Language :: Python :: 3.9
|
||||
Classifier: Programming Language :: Python :: 3.10
|
||||
Classifier: Programming Language :: Python :: 3.11
|
||||
Classifier: Programming Language :: Python :: 3.12
|
||||
Classifier: Programming Language :: Python :: 3.13
|
||||
Classifier: Programming Language :: Python :: Implementation :: CPython
|
||||
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
||||
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
|
||||
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
||||
Requires-Python: >=3.9
|
||||
Requires-Dist: flask>=3.0
|
||||
Requires-Dist: pymongo>=4.0
|
||||
Description-Content-Type: text/markdown
|
||||
|
||||
# Flask-PyMongo
|
||||
|
||||
PyMongo support for Flask applications. Requires `flask>=3.0` and `pymongo>=4.0`
|
||||
|
||||
## Quickstart
|
||||
|
||||
```python
|
||||
from flask import Flask, render_template
|
||||
from flask_pymongo import PyMongo
|
||||
|
||||
app = Flask(__name__)
|
||||
app.config["MONGO_URI"] = "mongodb://localhost:27017/myDatabase"
|
||||
mongo = PyMongo(app)
|
||||
|
||||
|
||||
@app.route("/")
|
||||
def home_page():
|
||||
online_users = mongo.db.users.find({"online": True})
|
||||
return render_template("index.html", online_users=online_users)
|
||||
```
|
||||
|
||||
## More Info
|
||||
|
||||
- [Flask-PyMongo Documentation](https://flask-pymongo.readthedocs.org/)
|
||||
|
||||
- [PyMongo Documentation](https://pymongo.readthedocs.io/en/stable/)
|
||||
|
||||
- [Flask Documentation](https://flask.palletsprojects.com/)
|
||||
|
||||
- [Quart-Motor (Motor for the Quart Framework)](https://github.com/marirs/quart-motor)
|
||||
|
||||
- [Motor Non-Blocking mongodb driver for asyncio applications](https://github.com/mongodb/motor)
|
||||
@@ -0,0 +1,15 @@
|
||||
flask_pymongo-3.0.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
||||
flask_pymongo-3.0.1.dist-info/METADATA,sha256=sr480snTdrnLj0mqZImyvqc5tEXXvyGs8fvzbuAmriY,3535
|
||||
flask_pymongo-3.0.1.dist-info/RECORD,,
|
||||
flask_pymongo-3.0.1.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||
flask_pymongo-3.0.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
||||
flask_pymongo-3.0.1.dist-info/licenses/LICENSE,sha256=Ap8d3yrzplSqXFfool6NTo87qPxXRHk_ikV97lurKvY,1298
|
||||
flask_pymongo/__init__.py,sha256=GhuTgw5kiTNEyCUNXgQxb7DLr0uc3GmJDJbQe0XkmOs,10550
|
||||
flask_pymongo/__pycache__/__init__.cpython-310.pyc,,
|
||||
flask_pymongo/__pycache__/_version.cpython-310.pyc,,
|
||||
flask_pymongo/__pycache__/helpers.cpython-310.pyc,,
|
||||
flask_pymongo/__pycache__/wrappers.cpython-310.pyc,,
|
||||
flask_pymongo/_version.py,sha256=E3P6AbnCwaWk6ndR1zNqlOTVebX9z5rv9voltc71dos,22
|
||||
flask_pymongo/helpers.py,sha256=Mi4ZLLbMaHtp42AXx9rWPneRkOffSuOSBxo4A0u7pRI,4337
|
||||
flask_pymongo/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||
flask_pymongo/wrappers.py,sha256=WoQUhgvGq5xW4N2XP5QouhuIZEg7dbEyXa3eWpjRY70,4216
|
||||
@@ -0,0 +1,4 @@
|
||||
Wheel-Version: 1.0
|
||||
Generator: hatchling 1.27.0
|
||||
Root-Is-Purelib: true
|
||||
Tag: py3-none-any
|
||||
@@ -0,0 +1,24 @@
|
||||
Copyright (c) 2011-2017, Dan Crosta
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice,
|
||||
this list of conditions and the following disclaimer.
|
||||
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
||||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
Reference in New Issue
Block a user