skillfed

Flask-RESTful

Simple framework for creating REST APIs

flask-restful v0.3.10 4.0M downloads/30d#2,390 on PyPI6,916
Permissive license BSD DORMANT released

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-restful

uv

uv add flask-restful

poetry

poetry add flask-restful

Installing 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

Framework :: FlaskLicense :: OSI Approved :: BSD LicenseProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8

Tags

rest api framework flaskflask rest api builderhttp request routing flaskrest endpoint decoratorsapi response marshallingflask request parsingrest resource routing
rest-apiflask-extension

More Application Frameworks packages