Skip to main content

Flask-RESTful APIs using declarations, not code

Project description

Allows the declaration of RESTful APIs using simple declarations so that you don’t need to write executable code for every HTTP method on every API. Introduces:

  • Inheritable declarations at the class level, including the ability to modify the base class declarations.

  • Dynamic creation of Flask-RESTful API Resource classes, so that you can automatically generate the same pattern of URLs many times.

  • Reducing HTTP method code to a series of re-usable steps. These are automatically ordered for each HTTP method to meet ordering constraints specified on each step. This allows the requirements for the HTTP method code to be reduced to a simple declaration of what steps to include. Because these steps are automatically ordered, they may be specified in any order, making it easy to add or remove steps from inherited standard recipes.

  • Adds column validation and introspection to Flask-SQLAlchemy tables, and automatically generates metadata descriptions of what colums are allowed to be POSTed or PUT, including the server validation rules that will be applied to each column. This lets you specify the validation rules in one place for both server and client.

  • Provides column-level authorization for all HTTP methods.

  • Supports nested child rows (relationships) in APIs (and nested column-level authorization).

The documentation is on ReadTheDocs.org here.

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-RESTful-DRY-0.3.tar.gz (52.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Flask_RESTful_DRY-0.3-py3-none-any.whl (63.1 kB view details)

Uploaded Python 3

File details

Details for the file Flask-RESTful-DRY-0.3.tar.gz.

File metadata

File hashes

Hashes for Flask-RESTful-DRY-0.3.tar.gz
Algorithm Hash digest
SHA256 cc625085951e1980865052f54d8516e0b9a6cdce6d33ce7e47be64ce1bc12259
MD5 560ee3206ce626bebbc7b67588e93c23
BLAKE2b-256 de15d57cf1729377c525bd3d891047f9002d28d7ed8c76f469ebae8a770d317e

See more details on using hashes here.

File details

Details for the file Flask_RESTful_DRY-0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for Flask_RESTful_DRY-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 343c172a19fc40b5d65848093f0a0fab9851404f7cd211b238016438ae1f887f
MD5 d8b90405f84dd412cd842574ab54a534
BLAKE2b-256 7d762a5fe58c99be3845d3cf37a085928a471a107d5d293656f8a1dab39d7e84

See more details on using hashes here.

Supported by

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