# flask-restful/flask-restful

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/flask-restful-flask-restful).**

6,915 stars · 1,050 forks · Python · BSD-3-Clause

## Links

- GitHub: https://github.com/flask-restful/flask-restful
- Homepage: http://flask-restful.readthedocs.io
- awesome-repositories: https://awesome-repositories.com/repository/flask-restful-flask-restful.md

## Description

Flask-restful is a toolkit for building structured web services using Flask. It functions as a resource-based routing library and a RESTful web service toolkit that organizes endpoints into resource classes.

The framework implements a system that maps HTTP methods to specific class methods to handle requests and responses. It utilizes a central registry for resource registration to automate route creation and uses decorators for method dispatch and resource access control.

The project covers request and response management through declarative request parsing, argument validation, and data type casting. It also includes automatic content negotiation to transform Python objects into standardized output formats.

## Tags

### Web Development

- [RESTful API Development](https://awesome-repositories.com/f/web-development/restful-api-development.md) — Provides a framework for building structured web services based on the REST architectural style using standard HTTP methods. ([source](https://github.com/flask-restful/flask-restful/blob/master/README.md))
- [API Parameter Validation](https://awesome-repositories.com/f/web-development/api-parameter-validation.md) — Enforces data integrity by parsing and casting incoming API parameters into specific data types.
- [API Resource Mapping](https://awesome-repositories.com/f/web-development/api-resource-mapping.md) — Organizes API endpoints into logical resource classes that map specific URLs to their handling logic.
- [Class-Based Resource Mapping](https://awesome-repositories.com/f/web-development/class-based-resource-mapping.md) — Organizes endpoint logic by mapping HTTP verbs directly to corresponding methods within resource classes.
- [Request Parsing](https://awesome-repositories.com/f/web-development/request-parsing.md) — Provides declarative utilities for decoding and validating incoming HTTP request parameters into structured types. ([source](https://github.com/flask-restful/flask-restful/blob/master/CHANGES.md))
- [Resource-Based Routing](https://awesome-repositories.com/f/web-development/resource-based-routing.md) — Implements a routing system that maps HTTP methods to specific class methods within resource objects.
- [Response Formatting](https://awesome-repositories.com/f/web-development/response-formatting.md) — Transforms internal Python data structures into standardized media types like JSON for consistent API responses. ([source](https://github.com/flask-restful/flask-restful/blob/master/CHANGES.md))
- [RESTful API Frameworks](https://awesome-repositories.com/f/web-development/restful-api-frameworks.md) — Provides a comprehensive toolkit for building RESTful web services using Flask as the underlying framework.
- [RESTful Services](https://awesome-repositories.com/f/web-development/restful-services.md) — Ships a toolkit for building stateless web services with integrated request parsing and response formatting.
- [Content Negotiation](https://awesome-repositories.com/f/web-development/content-negotiation.md) — Implements automatic content negotiation to serve the appropriate media type based on client request headers.
- [Resource Registries](https://awesome-repositories.com/f/web-development/route-registration/resource-registries.md) — Uses a central registry to track resource classes and automate the creation of corresponding API routes.
- [Decorator-Based Dispatchers](https://awesome-repositories.com/f/web-development/routing-systems/routing/matching-algorithms/regex-based-url-dispatchers/decorator-based-dispatchers.md) — Uses decorators to route incoming HTTP requests to the appropriate handler functions.

### Part of an Awesome List

- [API Frameworks](https://awesome-repositories.com/f/awesome-lists/devtools/api-frameworks.md) — An extension for building REST APIs with Flask.
- [Web Frameworks](https://awesome-repositories.com/f/awesome-lists/devtools/web-frameworks.md) — Simple framework for creating REST APIs.
