Skip to main content

Automatically generates CRUD endpoints from defined models

Project description

flask-mongo-crud is a Flask extension which generates CRUD endpoints out of the box from defined models of the mongo database. This initiative was driven by the tedious nature of manually writing CRUD logic for every Flask application entity.

Features

  • Automatically generates CRUD endpoints from defined model.

  • Allows to specify custom MongoDB collection name of each model.

  • Allows to customize app base URL as well as each model’s url prefix.

  • Allows to paginate when getting many documents from collection. *TO BE IMPROVED*

  • Allows documents sorting (Ascending or Descending order). *COMING SOON*

Installation

You can install flask-mongo-crud via Python Package Index:

pip install flask-mongo-crud

Documentation

See Flask Mongo CRUD’s Documentation.

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_mongo_crud-0.0.26.tar.gz (10.3 MB view details)

Uploaded Source

File details

Details for the file flask_mongo_crud-0.0.26.tar.gz.

File metadata

  • Download URL: flask_mongo_crud-0.0.26.tar.gz
  • Upload date:
  • Size: 10.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.0

File hashes

Hashes for flask_mongo_crud-0.0.26.tar.gz
Algorithm Hash digest
SHA256 c576c56f1eaf976e784d5f28010e121dcc354f5cc3064141a7fe8f7a6e78a2c3
MD5 62d37b17f35e3a76516bfe3fdbb7464b
BLAKE2b-256 fcdbcf0ec00cb373bc8fb8430d0d58a8dc854670207d94109dcc8698e7b45ddd

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