# Flask-MongoEngine2
[![PyPI version](https://badge.fury.io/py/flask-mongoengine2.svg)](https://badge.fury.io/py/flask-mongoengine2)
[![CI Tests](https://github.com/ahmetelgun/flask-mongoengine2/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/ahmetelgun/flask-mongoengine2/actions/workflows/tests.yml)
[![Documentation Status](https://readthedocs.org/projects/flask-mongoengine2/badge/?version=latest)](http://docs.mongoengine.org/projects/flask-mongoengine2/en/latest/?badge=latest)
[![Maintainability](https://api.codeclimate.com/v1/badges/709e5854f7b76b27637c/maintainability)](https://codeclimate.com/github/ahmetelgun/flask-mongoengine2/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/709e5854f7b76b27637c/test_coverage)](https://codeclimate.com/github/ahmetelgun/flask-mongoengine2/test_coverage)
![PyPI - Downloads](https://img.shields.io/pypi/dm/flask-mongoengine2)
Flask-MongoEngine2 is a Flask extension that provides integration with [MongoEngine]
and [FlaskDebugToolbar].
## Installation
By default, Flask-MongoEngine2 will install integration only between [Flask] and
[MongoEngine]. Integration with [FlaskDebugToolbar] are optional and
should be selected as extra option, if required. This is done by users request, to
limit amount of external dependencies in different production setup environments.
All methods end extras described below are compatible between each other and can be
used together.
### Installation with MongoEngine only support
```bash
# For Flask >= 2.3.0
pip install flask-mongoengine2
```
### Installation with Flask Debug Toolbar support
Flask-mongoengine provide beautiful extension to [FlaskDebugToolbar] allowing to monitor
all database requests. To use this extension [FlaskDebugToolbar] itself required. If
you need to install flask-mongoengine2 with related support, use:
```bash
# With FlaskDebugToolbar dependencies
pip install flask-mongoengine2[toolbar]
```
## Flask configuration
Flask-mongoengine does not provide any configuration defaults. User is responsible
for setting up correct database settings, to exclude any possible misconfiguration
and data corruption.
There are several options to set connection. Please note, that all except
recommended are deprecated and may be removed in future versions, to lower code base
complexity and bugs. If you use any deprecated connection settings approach, you should
update your application configuration.
Please refer to [complete connection settings description] for more info.
## Usage and API documentation
Full project documentation available on [read the docs].
## Contributing and testing
We are welcome for contributors and testers! Check [Contribution guidelines].
## License
Flask-MongoEngine2 is distributed under [BSD 3-Clause License].
[MongoEngine]: https://github.com/MongoEngine/mongoengine
[FlaskDebugToolbar]: https://github.com/flask-debugtoolbar/flask-debugtoolbar
[read the docs]: https://flask-mongoengine2.readthedocs.io/en/latest/
[Flask]: https://github.com/pallets/flask
[BSD 3-Clause License]: LICENSE.md
[Contribution guidelines]: CONTRIBUTING.md
Raw data
{
"_id": null,
"home_page": null,
"name": "flask-mongoengine2",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "Ahmet Elg\u00fcn <ahmetelgn@gmail.com>",
"keywords": "flask, forms, mongo, pymongo, mongoengine, extension",
"author": null,
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/43/da/db545cecda44b3eb4f37355e2eec689eebf4ba9cb4be93713e727800bf05/flask_mongoengine2-2.2.0.tar.gz",
"platform": "any",
"description": "# Flask-MongoEngine2\n\n[![PyPI version](https://badge.fury.io/py/flask-mongoengine2.svg)](https://badge.fury.io/py/flask-mongoengine2)\n[![CI Tests](https://github.com/ahmetelgun/flask-mongoengine2/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/ahmetelgun/flask-mongoengine2/actions/workflows/tests.yml)\n[![Documentation Status](https://readthedocs.org/projects/flask-mongoengine2/badge/?version=latest)](http://docs.mongoengine.org/projects/flask-mongoengine2/en/latest/?badge=latest)\n[![Maintainability](https://api.codeclimate.com/v1/badges/709e5854f7b76b27637c/maintainability)](https://codeclimate.com/github/ahmetelgun/flask-mongoengine2/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/709e5854f7b76b27637c/test_coverage)](https://codeclimate.com/github/ahmetelgun/flask-mongoengine2/test_coverage)\n![PyPI - Downloads](https://img.shields.io/pypi/dm/flask-mongoengine2)\n\nFlask-MongoEngine2 is a Flask extension that provides integration with [MongoEngine]\nand [FlaskDebugToolbar].\n\n## Installation\n\nBy default, Flask-MongoEngine2 will install integration only between [Flask] and\n[MongoEngine]. Integration with [FlaskDebugToolbar] are optional and\nshould be selected as extra option, if required. This is done by users request, to\nlimit amount of external dependencies in different production setup environments.\n\nAll methods end extras described below are compatible between each other and can be\nused together.\n\n### Installation with MongoEngine only support\n\n```bash\n# For Flask >= 2.3.0\npip install flask-mongoengine2\n```\n\n### Installation with Flask Debug Toolbar support\n\nFlask-mongoengine provide beautiful extension to [FlaskDebugToolbar] allowing to monitor\nall database requests. To use this extension [FlaskDebugToolbar] itself required. If\nyou need to install flask-mongoengine2 with related support, use:\n\n```bash\n# With FlaskDebugToolbar dependencies\npip install flask-mongoengine2[toolbar]\n```\n\n## Flask configuration\n\nFlask-mongoengine does not provide any configuration defaults. User is responsible\nfor setting up correct database settings, to exclude any possible misconfiguration\nand data corruption.\n\nThere are several options to set connection. Please note, that all except\nrecommended are deprecated and may be removed in future versions, to lower code base\ncomplexity and bugs. If you use any deprecated connection settings approach, you should\nupdate your application configuration.\n\nPlease refer to [complete connection settings description] for more info.\n\n## Usage and API documentation\n\nFull project documentation available on [read the docs].\n\n## Contributing and testing\n\nWe are welcome for contributors and testers! Check [Contribution guidelines].\n\n## License\n\nFlask-MongoEngine2 is distributed under [BSD 3-Clause License].\n\n[MongoEngine]: https://github.com/MongoEngine/mongoengine\n\n[FlaskDebugToolbar]: https://github.com/flask-debugtoolbar/flask-debugtoolbar\n\n[read the docs]: https://flask-mongoengine2.readthedocs.io/en/latest/\n\n[Flask]: https://github.com/pallets/flask\n\n[BSD 3-Clause License]: LICENSE.md\n\n[Contribution guidelines]: CONTRIBUTING.md\n",
"bugtrack_url": null,
"license": "BSD 3-Clause License",
"summary": "Flask extension that provides integration with MongoEngine.",
"version": "2.2.0",
"project_urls": {
"Changelog": "https://github.com/ahmetelgun/flask-mongoengine2/releases",
"Documentation": "https://flask-mongoengine2.readthedocs.io",
"Homepage": "https://github.com/ahmetelgun/flask-mongoengine2",
"Repository": "https://github.com/ahmetelgun/flask-mongoengine2"
},
"split_keywords": [
"flask",
" forms",
" mongo",
" pymongo",
" mongoengine",
" extension"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9f646ea622a0947ed34abc0d48fd4b6e76889f47b480755ddff50fcc318e5a8f",
"md5": "1f9180593b562941c0ddebbbdab1df58",
"sha256": "02449ad6f0507fd3b9fb90b55ae7a13cde26accf7416a33ef9241a5d837e76b8"
},
"downloads": -1,
"filename": "flask_mongoengine2-2.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1f9180593b562941c0ddebbbdab1df58",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 17163,
"upload_time": "2024-10-03T19:29:51",
"upload_time_iso_8601": "2024-10-03T19:29:51.631912Z",
"url": "https://files.pythonhosted.org/packages/9f/64/6ea622a0947ed34abc0d48fd4b6e76889f47b480755ddff50fcc318e5a8f/flask_mongoengine2-2.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "43dadb545cecda44b3eb4f37355e2eec689eebf4ba9cb4be93713e727800bf05",
"md5": "b2e5f3efb1321e57ab727ecbed48314f",
"sha256": "b1e5f1b623514580eead6a5d6bc1a2ddf8802e0d4d2bbdd1b494bd7c94fe9ed4"
},
"downloads": -1,
"filename": "flask_mongoengine2-2.2.0.tar.gz",
"has_sig": false,
"md5_digest": "b2e5f3efb1321e57ab727ecbed48314f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 192566,
"upload_time": "2024-10-03T19:29:53",
"upload_time_iso_8601": "2024-10-03T19:29:53.978213Z",
"url": "https://files.pythonhosted.org/packages/43/da/db545cecda44b3eb4f37355e2eec689eebf4ba9cb4be93713e727800bf05/flask_mongoengine2-2.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-03 19:29:53",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ahmetelgun",
"github_project": "flask-mongoengine2",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "flask-mongoengine2"
}