$npx skillfedfor your agent

fastapi-utils

Reusable utilities for FastAPI

With conditionsPyPI Software DevelopmentReleased Nov 20241.1M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — fastapi_utils-0.8.0-py3-none-any.whl
v0.8.0 · released 2024-11-11 · Python <4.0,>=3.8 · 3 runtime deps: fastapi, pydantic, psutil

Yes, if you are building FastAPI applications and want to reduce boilerplate for common patterns like CRUD resources and class-based views. The package is stable, has no known vulnerabilities, and installs with low friction. However, be aware that maintenance is aging—the last release was in 2024-11-11 with no commits for 641 days—so evaluate whether its utilities align with your project's needs before adopting it as a core dependency.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8 or later and FastAPI with pydantic>=1.0; optional SQLAlchemy dependency for session maker features.
  • Low friction installation with pure Python distribution.
  • Maintenance status is aging—last commit was 2025-03-03 and no release in 641 days—but the repository remains active and unarchivedwith 2307 stars, suggesting the package is stable rather than abandoned.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

last release 2024-11-11 (641 days) · last repo commit 2025-03-03 · 2,307 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,101,593 downloads/mo, #4,368 on PyPI

Verify before relying

pip install fastapi-utils

from fastapi_utils.cbv import cbv
from fastapi import FastAPI

app = FastAPI()

@cbv(app)
class MyEndpoint:
    def get(self):
        return {"message": "hello"}
  • Whether the 641-day gap since last release indicates the package is in stable maintenance or has stalled development.
  • Compatibility with the latest FastAPI and pydantic versions beyond what the classifiers declare.
  • Performance impact of the timing middleware on high-throughput applications.
Same gist for agents: .md · .json

What it is and what it does

fastapi-utils is a collection of utilities and base classes designed to reduce boilerplate when building FastAPI applications. It provides class-based views to eliminate repeated dependency declarations across related endpoints, a Resource base class for implementing CRUD operations using OOP patterns, and common utilities like APIModel and APISettings that extend pydantic's BaseModel and BaseSettings with sensible FastAPI defaults. The package also includes middleware for request timing, OpenAPI spec simplification, SQLAlchemy session management, string-valued enums, and helper functions for case conversion and UUID handling.

The package depends on fastapi, pydantic, and psutil, and is designed for Python 3.8 and later. It is installed as a pure Python wheel with no compiled dependencies. While the repository shows no recent releases (last commit 2025-03-03, last release 2024-11-11), it remains unarchived and has accumulated 2307 GitHub stars, suggesting it is in stable maintenance rather than active development.

Use it for

  • Build CRUD endpoints quickly using the Resource base class instead of writing individual route handlers for each operation.
  • Reduce repeated FastAPI dependency injection boilerplate by grouping related endpoints into class-based views.
  • Add request timing and performance logging to all endpoints automatically via the timing middleware.
  • Configure FastAPI applications through environment variables using APISettings instead of manual pydantic configuration.
  • Use string-valued enums (StrEnum, CamelStrEnum) to maintain cleaner enum definitions in API models.
  • Simplify OpenAPI operation IDs for cleaner code generation from OpenAPI specs.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are building FastAPI applications and want to reduce boilerplate for common patterns like CRUD resources and class-based views.

The package is stable, has no known vulnerabilities, and installs with low friction. However, be aware that maintenance is aging—the last release was in 2024-11-11 with no commits for 641 days—so evaluate whether its utilities align with your project's needs before adopting it as a core dependency.

Install

fastapi-utils on PyPI

Before you install

Low friction installation with pure Python distribution. Maintenance status is aging—last commit was 2025-03-03 and no release in 641 days—but the repository remains active and unarchivedwith 2307 stars, suggesting the package is stable rather than abandoned.

Requires Python 3.8 or later and FastAPI with pydantic>=1.0; optional SQLAlchemy dependency for session maker features.

License in practice

MIT license is permissive; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

Quickstart

pip install fastapi-utils

from fastapi_utils.cbv import cbv
from fastapi import FastAPI

app = FastAPI()

@cbv(app)
class MyEndpoint:
    def get(self):
        return {"message": "hello"}

Verify before relying

  • Whether the 641-day gap since last release indicates the package is in stable maintenance or has stalled development.
  • Compatibility with the latest FastAPI and pydantic versions beyond what the classifiers declare.
  • Performance impact of the timing middleware on high-throughput applications.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <4.0,>=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
fastapipydanticpsutil
MaintenanceAging 641 days since the last release
Last repo commit
First released
Downloads1,101,593 / month, #4,368 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
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.12Programming Language :: Python :: 3.13Programming 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

Evidence: fastapi_utils-0.8.0-py3-none-any.whl

Tags

Capabilities
fastapi boilerplate utilitiesfastapi class-based viewsfastapi crud resourcefastapi middleware timingfastapi pydantic base modelsfastapi session managementfastapi development tools
Topics
fastapi-ecosystemcrud-patternsboilerplate-reduction
PyPI keywords
fastapiOOPRESTful

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “fastapi middleware timing”

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also fastapi-restful · fastapi-utilities · fastcrud · FastAPI-SQLAlchemy · fastapi-pagination · restfly · starlette-admin · opentelemetry-util-http · fastapi-filter · fastapi-mcp