Skip to main content

FastAPI Startkit

codecov PyPI version Python versions

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

Features

  • Service container — IoC container with bind/make/resolve auto-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 Router wrapper around FastAPI's APIRouter with a resource() 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

See the repository root for license details.

Metadata

Release files for fastapi-startkit 0.59.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fastapi-startkit 0.59.0
File Size Uploaded
fastapi_startkit-0.59.0.tar.gz 211.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fastapi-startkit 0.59.0
File Interpreter ABI Platform
fastapi_startkit-0.59.0-py3-none-any.whl Python 3 none any Details

Total release size: 559.9 kB

Release files / fastapi_startkit-0.59.0.tar.gz

Download URL fastapi_startkit-0.59.0.tar.gz
Size 211.1 kB
Tags Source
SHA-256 checksum
How to use checksums
57a621fbfd38f9a01c1a1df266f6b2609379ee373fe09e8922ecfa444ab90409
BLAKE2b-256 checksum
How to use checksums
30be6b4d11a181c27968519534a33e1ab0c7dfc2ccaccb9d7393843a3f833bec
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.59.0-py3-none-any.whl

Download URL fastapi_startkit-0.59.0-py3-none-any.whl
Size 348.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
480f3389fcf278681a67072efd7b233f5a59794cafcfee28d28eb43633ddc6c0
BLAKE2b-256 checksum
How to use checksums
d26303cac3f55db01c774f3003dd6fb6260a03454c343deab561807f17cf9a07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release history Release notifications | RSS feed

0.60.0

2 release files

This release

0.59.0 This release

2 release files

0.58.0

2 release files

0.57.0

2 release files

0.56.0

2 release files

0.54.0

2 release files

0.53.0

2 release files

0.52.0

2 release files

0.51.0

2 release files

0.50.0

2 release files

0.49.0

2 release files

0.46.0

2 release files

0.45.0

2 release files

0.44.0

2 release files

0.43.0

2 release files

0.42.0

2 release files

0.41.0

2 release files

0.40.1

2 release files

0.40.0

2 release files

0.28.0

2 release files

0.27.0

2 release files

0.26.0

2 release files

0.25.0

2 release files

0.24.0

2 release files

0.22.0

2 release files

0.21.0

2 release files

0.13.7

2 release files

0.13.6

2 release files

0.13.5

2 release files

0.13.4

2 release files

0.13.3

2 release files

0.13.2

2 release files

0.13.1

2 release files

0.13.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page