
Security News
Insecure Agents Podcast: Certified Patches, Supply Chain Security, and AI Agents
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.
fastapi-utils
Advanced tools
Quicker FastApi developing tools
Documentation: https://fastapiutils.github.io/fastapi-utils/
Source Code: https://github.com/dmontagu/fastapi-utils
FastAPI is a modern, fast web framework for building APIs with Python 3.8+.
But if you're here, you probably already knew that!
This package includes a number of utilities to help reduce boilerplate and reuse common functionality across projects:
Resource base class that lets you implement methods quick.FastAPISessionMaker class provides an easily-customized SQLAlchemy Session dependencyIt also adds a variety of more basic utilities that are useful across a wide variety of projects:
pydantic.BaseModel-derived base class with useful defaultspydantic.BaseSettings that makes it easy to configure FastAPI through environment variablesStrEnum and CamelStrEnum classes make string-valued enums easier to maintainsnake_case to camelCase or PascalCase and backSee the docs for more details and examples.
This package is intended for use with any recent version of FastAPI (depending on pydantic>=1.0), and Python 3.8+.
pip install fastapi-utils # For basic slim package :)
pip install fastapi-utils[session] # To add sqlalchemy session maker
pip install fastapi-utils[all] # For all the packages
This project is licensed under the terms of the MIT license.
FAQs
Reusable utilities for FastAPI
We found that fastapi-utils demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.

Security News
The planned feature introduces a review step before releases go live, following the Shai-Hulud attacks and a rocky migration off classic tokens that disrupted maintainer workflows.