fastapi-restful
Quicker FastApi developing tools
What it is and what it does
fastapi-restful is a collection of utilities and base classes designed to accelerate FastAPI development by reducing repetitive code. It provides a Resource base class for implementing CRUD operations using object-oriented patterns, class-based views to avoid repeating dependency declarations, middleware for request timing, and helper types like APIModel, APISettings, and GUID for common data-handling tasks.
The package wraps around fastapi, pydantic, and psutil to offer conveniences like SQLAlchemy session management, OpenAPI spec simplification, and string enum utilities. It targets developers building RESTful APIs who want to write less boilerplate and follow established patterns, though its abandoned maintenance status means it receives no updates or bug fixes.
Use it for:
- Build CRUD endpoints quickly using the Resource class with standard OOP method patterns instead of writing individual route handlers.
- Organize related endpoints as class-based views to share dependencies and reduce signature repetition across multiple routes.
- Add request timing and logging middleware to monitor API performance without manual instrumentation in each route.
- Use the GUID type and APIModel base class to standardize database primary keys and request/response schemas across projects.
- Configure FastAPI applications through environment variables using the APISettings helper class.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides utilities and base classes to reduce boilerplate when building FastAPI applications, including resource-based CRUD patterns, class-based views, and common helper types.
No—while the package offers useful FastAPI utilities and has low install friction, the repository is archived and abandoned. There is no active maintenance, bug fixes, or compatibility assurance with current FastAPI and pydantic versions. Consider maintained alternatives or check whether FastAPI itself now provides equivalent functionality before adopting this package.
Install
fastapi-restful on PyPI
pip
pip install fastapi-restfuluv
uv add fastapi-restfulpoetry
poetry add fastapi-restfulInstalling fastapi-restful
Before you install
Low install friction with only 3 runtime dependencies (fastapi, pydantic, psutil). However, the repository is archived and marked as abandoned with no active maintenance.
License in practice
MIT license permits commercial and private use with minimal restrictions, requiring only attribution and inclusion of the license notice.
Quickstart
pip install fastapi-restful
from fastapi_restful import Resource
from fastapi import FastAPI
app = FastAPI()
class ItemResource(Resource):
def create(self, item):
return {"item": item}
app.include_router(ItemResource.router())
Requires FastAPI and pydantic; Python 3.7 or later.
Verify before relying
- Whether the abandoned status affects compatibility with current FastAPI and pydantic versions
- Whether the package's utilities remain idiomatic for modern FastAPI development patterns
- Active community alternatives or whether this functionality is now built into FastAPI itself
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (<4.0,>=3.7) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — fastapi, pydantic, psutil |
| Maintenance | abandoned — 829 days since the last release |
| Last repo commit | (repository archived) |
| First released | |
| Downloads | 220,994/month — #9,287 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: fastapi_restful-0.6.0-py3-none-any.whl
Keywords: fastapi, OOP, RESTful
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI 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
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
fastapi-utilsProvides reusable utilities and base classes…
permissive · top 5,000 on PyPI
restflyRESTfly is a framework for building libraries…
permissive · top 15,000 on PyPI
fastapi-utilitiesProvides reusable utilities for FastAPI…
permissive · top 15,000 on PyPI
fastcrudFastCRUD provides async CRUD operations and…
permissive · top 15,000 on PyPI
fastapi-paginationAdds pagination support to FastAPI applications…
permissive · top 5,000 on PyPI
FastAPI-SQLAlchemyProvides middleware and helpers to integrate…
permissive · top 15,000 on PyPI
fastapi-filterAdds declarative filtering, sorting, and…
permissive · top 15,000 on PyPI
scalar-fastapiServes interactive, browser-based API…
permissive · top 5,000 on PyPI
starlette-adminStarlette-admin provides a ready-made admin…
permissive · top 15,000 on PyPI
flask-appbuilderFlask App Builder is a framework that generates…
permissive · top 5,000 on PyPI