skillfed

fastapi-restful

Quicker FastApi developing tools

fastapi-restful v0.6.0 221.0K downloads/30d#9,287 on PyPI176
Permissive license MIT Abandoned released

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

uv

uv add fastapi-restful

poetry

poetry add fastapi-restful

Installing 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

Development Status :: 4 - BetaEnvironment :: Web EnvironmentFramework :: AsyncIOFramework :: FastAPIIntended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: InternetTopic :: Internet :: WWW/HTTPTopic :: Internet :: WWW/HTTP :: HTTP ServersTopic :: Software DevelopmentTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTopic :: UtilitiesTyping :: Typed

Tags

fastapi boilerplate reductionfastapi crud resource classfastapi class-based viewsfastapi utilities helpersfastapi development tools
fastapi-utilitiescrud-patternsabandoned

More Software Development packages