All checks were successful
Build Blog Docker Image / build docker (push) Successful in 2m4s
57 lines
2.5 KiB
Markdown
57 lines
2.5 KiB
Markdown
---
|
|
title: "Fastapi-Toolsets"
|
|
date: 2026-01-25
|
|
slug: "fastapi-toolsets"
|
|
showAuthor: false
|
|
showWordCount: false
|
|
showReadingTime: false
|
|
showRelatedContent: false
|
|
showPagination: false
|
|
tags: ["fastapi", "package", "toolsets"]
|
|
---
|
|
|
|

|
|
{{< github repo="d3vyce/fastapi-toolsets" >}}
|
|
|
|
> Reusable tools for FastAPI: async CRUD, fixtures, CLI, and standardized responses
|
|
|
|
FastAPI Toolsets provides production-ready utilities for FastAPI applications built with async SQLAlchemy and PostgreSQL. It includes generic CRUD operations, a fixture system with dependency resolution, a Django-like CLI, standardized API responses, and structured exception handling with automatic OpenAPI documentation.
|
|
|
|
[](https://github.com/d3vyce/fastapi-toolsets/actions/workflows/ci.yml)
|
|
[](https://codecov.io/gh/d3vyce/fastapi-toolsets)
|
|
[](https://github.com/astral-sh/ty)
|
|
[](https://github.com/astral-sh/uv)
|
|
[](https://github.com/astral-sh/ruff)
|
|
[](https://www.python.org/downloads/)
|
|
[](https://opensource.org/licenses/MIT)
|
|
|
|
---
|
|
|
|
**Documentation**: [https://fastapi-toolsets.d3vyce.fr](https://fastapi-toolsets.d3vyce.fr)
|
|
|
|
**Source Code**: [https://github.com/d3vyce/fastapi-toolsets](https://github.com/d3vyce/fastapi-toolsets)
|
|
|
|
---
|
|
|
|
## Installation
|
|
|
|
```bash
|
|
uv add fastapi-toolsets
|
|
```
|
|
|
|
## Features
|
|
|
|
- **CRUD**: Generic async CRUD operations with `CrudFactory`
|
|
- **Fixtures**: Fixture system with dependency management, context support and pytest integration
|
|
- **CLI**: Django-like command-line interface with fixture management and custom commands support
|
|
- **Standardized API Responses**: Consistent response format across your API
|
|
- **Exception Handling**: Structured error responses with automatic OpenAPI documentation
|
|
|
|
## License
|
|
|
|
MIT License - see [LICENSE](LICENSE) for details.
|
|
|
|
## Contributing
|
|
|
|
Contributions are welcome! Please feel free to submit issues and pull requests.
|