Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>fastapi-assistantNew to Visual Studio Code? Get it now.
fastapi-assistant

fastapi-assistant

madkarl

| (0) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

FastAPI Assistant

FastAPI Assistant is a Visual Studio Code extension that streamlines the quick creation of FastAPI projects and modules, as well as the automatic generation of schemas, filters, and APIs.

Features

  • Quick FastAPI Project Creation
    • Create projects via uv, with automatic installation of essential dependencies including FastAPI, SQLModel, psycopg, Alembic, and JWT
    • Set up the project file structure
    • Integrate core features such as user authentication, user management, automatic route registration, and schema-aware database migrations
  • Quick FastAPI Module Creation
  • Quick FastAPI Schema and Filter Creation
  • Quick FastAPI API Creation (with basic CRUD functionality)
  • CLI Mode Support (similar to django's manage.py)

Usage

Most features of FastAPI Assistant are accessible via the right-click context menu in the Explorer panel.

Create Project

Create a FastAPI project at the selected location (supports project creation in any directory within the workspace) create project

Create Module

Create a FastAPI module at the selected location create module

Create Schema

Add a set of schemas to schema.py and corresponding filters to filter.py within the module at the selected location create schema

Create API

Add basic CRUD operation APIs for the corresponding schema to api.py within the module at the selected location create api

Command Line

Execute CLI commands using the syntax: "python [OPTIONS] COMMAND [ARGS]`

Supported Commands:

  • migrate: Run database migrations with Alembic
  • root-user: Create an administrator user
  • serve: Start the FastAPI application with Uvicorn command line

Update Project Template

If you are not satisfied with the current project template, you can modify the project template style yourself. The template files are stored in[Extension Installation Directory]/assets directory. assets

Requirements

  • uv: An extremely fast Python package and project manager, written in Rust.

Release Notes

  • 0.1.0: Initial usable version. Implements project creation, module creation, schema generation, and API generation.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft