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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fastapi_startkit-0.51.0.tar.gz (198.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fastapi_startkit-0.51.0-py3-none-any.whl (338.7 kB view details)

Uploaded Python 3

File details

Details for the file fastapi_startkit-0.51.0.tar.gz.

File metadata

  • Download URL: fastapi_startkit-0.51.0.tar.gz
  • Upload date:
  • Size: 198.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for fastapi_startkit-0.51.0.tar.gz
Algorithm Hash digest
SHA256 01b405e6d56073efcf36bfa3e7e48d624fca58ffed92f7443e97c85161870f1f
MD5 f5ff9a2626df5495c67f9fe016d05cf1
BLAKE2b-256 6d6bb3c4cb632c5fc799ec139e9b6d71df1e526e585669f753510925ef95c1f7

See more details on using hashes here.

File details

Details for the file fastapi_startkit-0.51.0-py3-none-any.whl.

File metadata

File hashes

Hashes for fastapi_startkit-0.51.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d3adeb28bf07619175d30c1121b8f0f028857d8a87a41497cb50e6ad19d04d39
MD5 a2fd1105b1bf2aafdf81922667a5eb40
BLAKE2b-256 91dd928c906a363f965f9cd9c6d6be69406e75a097c95af91f9ec2693bdac0fc

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.51.0 This release

2 files

0.50.0

2 files

0.49.0

2 files

0.47.0

2 files

0.46.0

2 files

0.45.0

2 files

0.44.0

2 files

0.43.0

2 files

0.42.0

2 files

0.41.0

2 files

0.40.1

2 files

0.40.0

2 files

0.38.0

2 files

0.34.0

2 files

0.33.0

2 files

0.32.0

2 files

0.31.0

2 files

0.30.0

2 files

0.29.0

2 files

0.28.0

2 files

0.27.0

2 files

0.26.0

2 files

0.25.0

2 files

0.24.0

2 files

0.22.0

2 files

0.21.0

2 files

0.20.0

2 files

0.19.0

2 files

0.18.0

2 files

0.17.0

2 files

0.16.0

2 files

0.15.0

2 files

0.14.0

2 files

0.13.7

2 files

0.13.6

2 files

0.13.5

2 files

0.13.4

2 files

0.13.3

2 files

0.13.2

2 files

0.13.1

2 files

0.13.0

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page