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 here.

Project details

Download files

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

Files for Flask-RESTful-DRY, version 0.3.1
Filename, size File type Python version Upload date Hashes
Filename, size Flask_RESTful_DRY-0.3.1-py3-none-any.whl (150.6 kB) File type Wheel Python version 3.4 Upload date Hashes View
Filename, size Flask-RESTful-DRY-0.3.1.tar.gz (52.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page