Skip to content

// FastAPI + Pydantic v2 + SQLAlchemy 2: async Python APIs with auto-generated OpenAPI docs.

FastAPI Python ProVerified Creator

git log --oneline --stat
HEAD
Stars
3.1k
Forks
121
Updated
May 23, 2026
repo --stat
  • stars

    3.1k

  • forks

    121

  • last update

    May 23, 2026

  • license

    MITv2.0.0

quickstart.sh
3 steps
  1. Install

    // Drops SKILL.md into ~/.claude/skills/

    $ claude skills add fastapi-python-pro
  2. Invoke

    // Run from any project directory

    $ claude --skill fastapi-python-pro "scaffold a typed REST endpoint"
  3. Iterate

    // Re-run with edits — Claude keeps the skill loaded

    $ claude --skill fastapi-python-pro "now refactor it"
fastapi-python-pro/
references
  • references/
  • SKILL.mdopen
  • README.mdopen
SKILL.md
readonly
name:
FastAPI Python Pro
slug:
fastapi-python-pro
version:
v2.0.0
license:
MIT
author:
@python-craft
categories:
tags:
#fastapi#python#pydantic#sqlalchemy#async
description:

FastAPI + Pydantic v2 + SQLAlchemy 2: async Python APIs with auto-generated OpenAPI docs.

features.md
5 capabilities

// What you can do with it

  • Generates Pydantic v2 schemas using modelconfig = ConfigDict(fromattributes=True), Field constraints, and fieldvalidator / modelvalidator — not the deprecated v1 Config class or @validator.
  • Sets up async SQLAlchemy with createasyncengine, DeclarativeBase, and Mapped[...] / mapped_column() typed models.
  • Provides a get_db() dependency yielding an AsyncSession, injected via Depends(), and an OAuth2PasswordBearer flow issuing JWTs (python-jose + passlib/bcrypt).
  • Initializes Alembic (alembic init, env.py pointed at your async engine) and writes the first autogenerated revision.
  • OpenAPI docs come free at /docs and /redoc from your typed signatures.

README.md

fastapi-python-pro/README.md
7 sections
Loading README…

$ cat reviews/

Reviews

// No reviews yet. Be the first.
Loading review form…