Create a new FastAPI project in one command
Project Links
Meta
Author: Sebastián Ramírez
Requires Python: >=3.10
Classifiers
Intended Audience
- Developers
Operating System
- OS Independent
Programming Language
- Python :: 3 :: Only
- Python :: 3.10
- Python :: 3.11
- Python :: 3.12
- Python :: 3.13
- Python :: 3.14
Topic
- Internet
- Software Development :: Libraries :: Application Frameworks
- Software Development :: Libraries :: Python Modules
- Software Development :: Libraries
- Software Development
Typing
- Typed
Development Status
- 4 - Beta
fastapi-new
Create a new FastAPI project in one command. ✨
How to use
Install uv following their guide for your system.
Run:
uvx fastapi-new awesomeapp
This will create a new project awesomeapp with a basic FastAPI app, configured with uv.
Enter the directory:
cd awesomeapp
Run the development server:
uv run fastapi dev
Open your browser and go to http://localhost:8000 to see your new FastAPI app running! 🚀
Existing directory
If you want to create a new FastAPI project in an existing directory, run the command without a project name:
uvx fastapi-new
License
This project is licensed under the terms of the MIT license.
Wheel compatibility matrix
Files in release
Extras:
None
Dependencies:
typer
(>=0.16.0)
rich
(>=13.7.1)
typing-extensions
(>=4.12.2)
rich-toolkit
(>=0.15.1)