qmetrics.net

FastCRUD

Async CRUD utilities and routers for FastAPI apps

FastCRUD screenshot

FastCRUD is a Python package that adds async CRUD helpers and optional auto-generated REST endpoints on FastAPI. It targets SQLAlchemy 2.0 and Pydantic v2 data models.

Overview

FastCRUD streamlines database-backed APIs by wrapping common create, read, update, and delete patterns for async SQLAlchemy sessions. Teams can mount a crud_router to get documented REST routes quickly, or call FastCRUD methods inside hand-written FastAPI routes for finer control.

Query features include dynamic filtering with operator syntax, sorting, joins with auto-detected join conditions, offset pagination, and cursor pagination for large lists. The design is modular so projects extend or override behavior without forking the whole stack.

SQLModel can replace separate SQLAlchemy models and Pydantic schemas where teams prefer a single class definition. Documentation notes aggregates, CTEs, bulk writes, and heavy analytics as cases better handled with raw SQLAlchemy instead of FastCRUD helpers.

A bundled Agent Skills file teaches coding agents the recommended setup pattern, pagination defaults, and filter operators when generating FastAPI data layers.

Key features

  • Fully async database operations
  • SQLAlchemy 2.0 and SQLModel support
  • Auto-generated CRUD routers
  • Dynamic filters and sorting
  • Join queries with auto conditions
  • Offset and cursor pagination
  • Direct use inside custom routes
  • Bundled AI agent skill guidance

Use cases

  • Rapid FastAPI resource endpoints
  • Admin APIs over relational data
  • Infinite-scroll list backends
  • Prototype services with SQLite
  • Standardized CRUD in larger apps

Tags

Similar software

FastAPI

Python web framework for building APIs with type hints

FastAPI is a Python web framework for building APIs using standard type hints. It builds on Starlette and Pydantic and generates interactive OpenAPI documentation for the endpoints you define.

★ 105.1k⟳ 9 days agoMIT

NestJS

Progressive TypeScript framework for Node.js backends

Nest organizes Node server apps with modules, dependency injection, and first-party packages for auth, data, queues, and observability.

★ 77.2k⟳ todayMIT

OkHttp

HTTP client for JVM, Android, and GraalVM

OkHttp is an HTTP client library tuned for efficient networking on Android, Java, and GraalVM native images. It offers synchronous and asynchronous call APIs with a fluent request builder.

★ 47.1k⟳ yesterdayApache-2.0
Frameworks & PlatformsDesktop/CLI app

gRPC

Cross-language remote procedure call framework

gRPC is an RPC framework that lets client and server programs communicate transparently and supports building connected, multi-language systems.

★ 45.5k⟳ todayApache-2.0

tRPC

End-to-end typesafe TypeScript APIs without code generation

tRPC helps teams define server procedures and call them from clients with full TypeScript types for inputs, outputs, and errors—no schemas or codegen step.

★ 40.9k⟳ todayMIT
Frameworks & PlatformsDesktop/CLI app

go-zero

Cloud-native Go microservices and RPC framework

go-zero is a Go web and RPC framework with code generation, built-in resilience middleware, and tooling aimed at stable high-traffic services.

★ 33.5k⟳ 9 days agoMIT