Skip to main content

Flask extension that provides integration with MongoEngine and WTF model forms. This project is a forked of flask-mongoengine for compatable of new flask version

Project description

Flask-ME is forked a Flask-MongoEngine

PyPI version CI Tests Documentation Status Maintainability Test Coverage PyPI - Downloads

Flask-MongoEngine is a Flask extension that provides integration with MongoEngine, WtfForms and FlaskDebugToolbar.

Installation

By default, Flask-MongoEngine will install integration only between Flask and MongoEngine. Integration with WTFForms and 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

# For Flask >= 2.0.0
pip install flask-me

We still maintain special case for Flask = 1.1.4 support (the latest version in 1.x.x branch). To install flask-mongoengine with required dependencies use legacy extra option.

# With Flask 1.1.4 dependencies
pip install flask-me[legacy]

Installation with WTFForms and Flask-WTF support

Flask-mongoengine can be installed with Flask-WTF and WTFForms support. This will extend project dependencies with Flask-WTF, WTFForms and related packages.

# With Flask-WTF and WTFForms dependencies
pip install flask-me[wtf]

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-mongoengine with related support, use:

# With FlaskDebugToolbar dependencies
pip install flask-me[toolbar]

Installation with all features together

# With Flask-WTF, WTFForms and FlaskDebugToolbar dependencies
pip install flask-me[wtf,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-MongoEngine is distributed under BSD 3-Clause License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flask-me-1.0.2.tar.gz (235.7 kB view details)

Uploaded Source

Built Distribution

flask_me-1.0.2-py3-none-any.whl (33.4 kB view details)

Uploaded Python 3

File details

Details for the file flask-me-1.0.2.tar.gz.

File metadata

  • Download URL: flask-me-1.0.2.tar.gz
  • Upload date:
  • Size: 235.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for flask-me-1.0.2.tar.gz
Algorithm Hash digest
SHA256 a4dd67d3b098d9edee1d604f5ba3ec7ee89353061edbd1efe26af4c422c4296a
MD5 d5be499296ed83c6e54dcb5934533d5d
BLAKE2b-256 98cb1d532e6112097d62267230c45aa77a9efe86857f8450287353a85ada0123

See more details on using hashes here.

File details

Details for the file flask_me-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: flask_me-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 33.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for flask_me-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d1f06a3754e545ae837c1f5fd9d3662a05816193d89a29a0f4995dace670233c
MD5 58eb41179248328445b2160aaae8caa4
BLAKE2b-256 f1382b76d4befea3e99f91f591e2d37b166c11f9f32aeff5f391758b38d0ccbe

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page