Docs / Ecosystems

Open documentation actions

Python

Python API and AI-oriented scaffolds with web frameworks, ORMs, validation, queues, GraphQL, and quality tooling.

Python projects use uv and Python-native templates. Choose Python options for API frameworks, ORMs, validation, AI libraries, auth helpers, task queues, GraphQL, and quality tooling.

Prerequisites

  • Python.
  • uv.
  • Git if you want repository initialization.

Scripted example

npm create better-fullstack@latest my-python-api -- \  --ecosystem python \  --python-web-framework fastapi \  --python-orm sqlalchemy \  --python-validation pydantic \  --python-ai none \  --python-auth jwt \  --python-task-queue none \  --python-graphql none \  --python-quality ruff \  --python-testing pytest hypothesis \  --python-caching redis \  --python-realtime python-socketio \  --python-observability opentelemetry \  --python-cli typer rich \  --ai-docs none \  --version-channel stable \  --no-install \  --no-git

Python categories

CategoryValues
Web frameworkfastapi django flask litestar starlette none
ORMsqlalchemy sqlmodel tortoise-orm peewee none
Validationpydantic none
AIlangchain llamaindex openai-sdk anthropic-sdk langgraph crewai haystack pydantic-ai google-adk smolagents none
Authauthlib jwt fastapi-users none
APIdjango-rest-framework django-ninja none
Task queuecelery rq dramatiq huey taskiq none
GraphQLstrawberry ariadne none
Qualityruff mypy pyright none
Testing (multi-select)pytest hypothesis none
Cachingredis aiocache none
Realtimepython-socketio websockets none
Observabilityopentelemetry none
CLI tooling (multi-select)typer click rich none

Generated behavior

  • uv sync is the install path when install is enabled.
  • pythonAi is a multi-select category and is separate from TypeScript --ai.
  • Empty conditional Python template files are skipped when selected options do not need them.
  • AI instruction files are still available through --ai-docs, including --ai-docs none.