FastAPI Startkit
A modular, provider-driven framework for building Python applications with FastAPI. It bundles a service container, configuration system, an async-first ORM, facades, and a Cleo-powered console into a single cohesive foundation.
Installation
pip install fastapi-startkit
Optional extras enable additional capabilities:
fastapi-startkit[fastapi] # FastAPI + Starlette
fastapi-startkit[database] # SQLAlchemy async ORM
fastapi-startkit[vite] # Jinja2 for Vite integration
fastapi-startkit[ai] # LangChain agents
Python versions
Python 3.12, 3.13, 3.14 and 3.15 are supported.
Features
- Service container — IoC container with
bind/make/resolveauto-wiring and lifecycle hooks. - Configuration — dataclass-based config sourced from the environment with dotted-key access.
- Providers — two-phase (
register/boot) service registration. - Routing — a
Routerwrapper around FastAPI'sAPIRouterwith aresource()CRUD shortcut. - ORM — async-first Masonite ORM fork on SQLAlchemy async, with relationships and migrations.
- Facades — static-like access to container-resolved services (
Config,Auth, ...). - Console — Cleo-based CLI (
artisan) for migrations, seeders, and code generation.
Documentation
Full documentation is available at fastapi-startkit.github.io.
Development
# Install dependencies
uv sync --group dev --extra database --extra sqlite --extra fastapi --extra vite --extra postgres
# Run the test suite
uv run pytest tests/ -v
# Run tests with coverage
uv run pytest --cov --cov-report=term-missing
Coverage is collected in CI and reported to Codecov.
License
Released under the MIT License.
Metadata
Release files for fastapi-startkit 0.73.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fastapi_startkit-0.73.0.tar.gz | 268.7 kB | Without provenance | Details for fastapi_startkit-0.73.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fastapi_startkit-0.73.0-py3-none-any.whl | Python 3 | none | any | Details for fastapi_startkit-0.73.0-py3-none-any.whl |
Total release size: 708.8 kB
Release files / fastapi_startkit-0.73.0.tar.gz
| Download URL | fastapi_startkit-0.73.0.tar.gz |
|---|---|
| Size | 268.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
de331d3dc98c3e9a69941e1fdb15ca84f8411c44eb40f16a3efed4feb5a867eb
|
|
BLAKE2b-256 checksum How to use checksums |
ac2456dac6efd5f11e30b71869bf0f3dc7469798b8c3b7c2634500d501149c74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / fastapi_startkit-0.73.0-py3-none-any.whl
| Download URL | fastapi_startkit-0.73.0-py3-none-any.whl |
|---|---|
| Size | 440.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a03cf8c17f8366e8c0be5d09b440be947530e9ffd5de20761e1251523e204bc0
|
|
BLAKE2b-256 checksum How to use checksums |
f95579a42428201211eb611e0f7e03dc669dd1cea2dd1df81920aacf48d3bccd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Security for fastapi-startkit 0.73.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.