--- id: flask-restful version: "0.3.10" license: BSD license_treatment: permissive maintenance: dormant --- # Flask-RESTful — Simple framework for creating REST APIs License: permissive · Maintenance: dormant · Downloads: 4.0M/mo ## 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 above — 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 pip install flask-restful uv add flask-restful 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: unspecified - Install friction: low - Maintenance: dormant - Downloads: 4.0M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags rest api framework flask, flask rest api builder, http request routing flask, rest endpoint decorators, api response marshalling, flask request parsing, rest resource routing, rest-api, flask-extension [View on SkillFed](https://skillfed.io/packages/flask-restful) · [View on PyPI](https://pypi.org/project/flask-restful/)