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.1.tar.gz (52.7 kB view hashes)

Uploaded Source

Built Distribution

Flask_RESTful_DRY-0.3.1-py3-none-any.whl (150.6 kB view hashes)

Uploaded Python 3

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