Flask-RESTful
Simple framework for creating REST APIs
What it is and what it does
Flask-RESTful is a lightweight extension that sits on top of Flask to simplify REST API development. It provides decorators and resource classes that let you define endpoints as Python classes with methods for each HTTP verb (GET, POST, etc.), reducing the boilerplate needed to build a typical REST service. The package handles request argument parsing, response formatting, and HTTP status codes through a declarative interface.
The package depends on Flask, aniso8601 (for date/time parsing), pytz (for timezone handling), and six (for Python 2/3 compatibility). It is dormant—the last release was in May 2023 with no recent commits—but remains stable and widely used. The codebase is not archived and carries no known vulnerabilities, making it suitable for maintaining existing APIs or starting new ones if you accept that bug fixes and feature additions are unlikely.
Use it for:
- Build a simple REST API by defining resource classes with GET, POST, PUT, DELETE methods without writing raw Flask route decorators.
- Parse and validate incoming request arguments using built-in argument parsing utilities.
- Serialize Python objects into JSON responses with consistent field marshalling and type conversion.
- Organize multiple API endpoints by grouping related resources and registering them with a single Api instance.
- Migrate an existing Flask application to a REST-first architecture with minimal refactoring of core logic.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Flask-RESTful provides decorators and utilities to build REST APIs on top of Flask, handling request parsing, response marshalling, and HTTP method routing with minimal boilerplate.
Yes, if you are building a REST API with Flask and prefer a declarative resource-based approach over raw route decorators. The low install friction, permissive license, and stable codebase make it a safe choice for new or existing projects. However, be aware that the package is dormant—no active maintenance or updates are expected. If you need ongoing support or are starting a greenfield project, evaluate whether a more actively maintained alternative aligns better with your long-term requirements.
Install
flask-restful on PyPI
pip
pip install flask-restfuluv
uv add flask-restfulpoetry
poetry add flask-restfulInstalling Flask-RESTful
Before you install
Low install friction with a pure-Python wheel. However, the package is dormant—last release was in May 2023, and the repository shows no recent commits. For new projects, consider whether active maintenance matters for your use case.
License in practice
BSD license is permissive; you can use, modify, and distribute this package freely in commercial and open-source projects with minimal restrictions.
Quickstart
pip install Flask-RESTful
from flask import Flask
from flask_restful import Api, Resource
app = Flask(__name__)
api = Api(app)
class HelloWorld(Resource):
def get(self):
return {'hello': 'world'}
api.add_resource(HelloWorld, '/hello')
Verify before relying
- Whether the package remains compatible with modern Flask versions and current Python releases beyond those listed in classifiers.
- Whether dormancy affects real-world reliability or if the stable API is sufficient for production use.
Package facts
| License | BSD (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — aniso8601, Flask, six, pytz |
| Maintenance | dormant — 1,181 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 4,049,980/month — #2,390 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: Flask_RESTful-0.3.10-py2.py3-none-any.whl
Tags
More Application Frameworks packages
FastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
textualTextual is a Python framework for building…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
mcpBuild and connect to Model Context Protocol…
permissive · top 1,000 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
flask-restplusFlask-RESTPlus adds decorators and tools to…
permissive · top 15,000 on PyPI
flask-apispecflask-apispec decorates Flask view functions…
permissive · top 15,000 on PyPI
FlaskFlask is a lightweight WSGI web application…
permissive · top 1,000 on PyPI
flask-restxFlask-RESTX extends Flask with decorators and…
permissive · top 5,000 on PyPI
Flask-ScriptFlask-Script provides command-line interface…
permissive · top 15,000 on PyPI
flask-appbuilderFlask App Builder is a framework that generates…
permissive · top 5,000 on PyPI
prometheus-flask-exporterExports HTTP request metrics from Flask…
permissive · top 5,000 on PyPI
Flask-HTTPAuthAdds HTTP Basic, Digest, and Token…
permissive · top 5,000 on PyPI
appierAppier is a lightweight Python web framework…
permissive · top 5,000 on PyPI
apimatic-coreProvides core runtime utilities for REST API…
permissive · top 15,000 on PyPI