FastKit is a FastAPI meta-framework that standardizes your infrastructure. Repository layers, service patterns, multilingual validation, CLI scaffolding — so you can focus on features, not boilerplate.
# Database model with mixins from fastkit_core.database import ( BaseWithTimestamps, IntIdMixin, SoftDeleteMixin, TranslatableMixin ) from sqlalchemy.orm import Mapped, mapped_column from sqlalchemy import String, JSON class Article(BaseWithTimestamps, IntIdMixin, SoftDeleteMixin, TranslatableMixin): __tablename__= 'articles' # Optional - auto-generated as 'articles' __translatable__= ['title', 'content'] __fallback_locale__= 'en' # Optional - defaults to config title: Mapped[dict] = mapped_column(JSON) content: Mapped[dict] = mapped_column(JSON) author: Mapped[str] = mapped_column(String(100))
FastAPI is exceptional — fast, modern, type-safe. But every new project starts from zero. FastKit changes that.
FastAPI gives you the foundation. But repository layers, service patterns, standardized error responses, multilingual support, email infrastructure — you write all of that yourself, from scratch, on every project.
Django solves this with its batteries-included philosophy, but carries the weight of an older architecture. Teams choose Django not because they prefer it — but because the ecosystem is there.
FastKit is a growing ecosystem of focused, production-tested packages that standardize the infrastructure layer of FastAPI applications. Architecture, validation, CLI tooling, email — solved once, tested thoroughly, available everywhere.
Our vision is simple: give developers a set of tools that accelerate development, improve software quality, and standardize architecture across every project — so that building software becomes a creative and enjoyable process again.
The entire infrastructure layer — core framework, CLI, mail, auth — is open source and free. No feature gating on what you need to build production applications.
Licensed packages for teams that need more — SSO, 2FA, biometric authentication, advanced policy engines. The same quality, built for compliance-demanding environments.
Starting with core infrastructure, expanding to admin panels, starter kits, and Vue.js integrations. Each package solves one thing well and composes cleanly with the rest.
FastKit brings the developer experience Laravel teams love — structured patterns, conventions over configuration — to the Python ecosystem without sacrificing performance.
dxEvery validation error is formatted identically — field, message, and code. Your frontend team always knows exactly what to expect, in any language.
validation_layerClean separation between data access and business logic. Extend BaseRepository and BaseService — FastKit handles the boilerplate with lifecycle hooks.
architectureModel fields, validation messages, and error responses support multiple languages out of the box. No retrofitting localization into your app later.
i18nEvery package ships with comprehensive tests. You build on a foundation that is already verified — so your team can ship with confidence from day one.
reliabilityMailBridge abstracts away provider details. Test locally with SMTP, deploy with SES or SendGrid — the same interface, always. Zero lock-in.
mailbridgeInstall the core package, scaffold your first module with the CLI, and have a fully structured FastAPI app running in minutes.
# Install all packages $ pip install fastkit-core fastkit-cli mailbridge # Scaffold your first module $ fastkit make module Users # Start dev server $ fastkit serve