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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for Flask-RESTful-DRY-0.3.1.tar.gz
Algorithm Hash digest
SHA256 52d639941dc7bda8d30b5d25cc1405cd1c06e7c78c0c34da3b8a96a9a9fa3239
MD5 d808019c74ff6cfabd3b17d9243fd024
BLAKE2b-256 96018ee17c918892051cb0dafec40d7c02bc9f51bee27d43b6cb0f519654ae15

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Flask_RESTful_DRY-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c1827304899ee97f8273b75cec9c7ed868f170b963212c7ba6ebe7e90e7831f4
MD5 b15133d049c710c6d2a10162ef84fbcd
BLAKE2b-256 95574097bcf4807d875dc91696cda5720620f78f797145998e87143b3d15dd3d

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