Create a new FastApp project in one command
Project description
fastapp-new
Create a new FastApp project in one command.
How to use
Install uv following their guide for your system.
Run:
uvx fastapp-new awesomeapp
This will create a new project awesomeapp with a full-stack 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 FastApp project running.
Existing directory
If you want to create a new FastApp project in an existing directory, run the command without a project name:
uvx fastapp-new
Generated Stack
app/main.py- FastAPI app assembly andapp.frontend()app/routes.py- HTMX partial routes and JSON API routesapp/components.py- htpy server-side HTML componentsfrontend/- static HTML/CSS frontend served by FastAPImodal_app.py- Modal ASGI entrypoint for deploying the FastAPI apppyproject.toml- managed byuv
Deploy
The generated project has two first-class deployment paths.
Deploy to FastAPI Cloud:
uv run fastapi deploy
Deploy to Modal:
uv run modal serve modal_app.py
uv run modal deploy modal_app.py
Positioning
fastapi-new creates a minimal general-purpose FastAPI project. fastapp-new
is positioned for app development where FastAPI owns both sides of the product:
static frontend serving, HTMX interactions, and JSON endpoints live in one
Python project without a Node build step. Server-rendered HTML fragments are
generated with htpy instead of raw string concatenation.
License
This project is licensed under the terms of the MIT license.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fastapp_new-0.0.1.tar.gz.
File metadata
- Download URL: fastapp_new-0.0.1.tar.gz
- Upload date:
- Size: 39.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05a0afc4539dbd0e7eae7abc90f93b0778623b3147608b1445aebaab24f4ee40
|
|
| MD5 |
1af82465e132b91a2eb5dba264120e07
|
|
| BLAKE2b-256 |
ec9dced973c03dd6cace520cd11154708dc1b131b5778e1ea6c10d451b9061eb
|
File details
Details for the file fastapp_new-0.0.1-py3-none-any.whl.
File metadata
- Download URL: fastapp_new-0.0.1-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58f71988476b41ddc6d989350a1a82ddc7a21e3c694b6c51e50cc782e61c63c0
|
|
| MD5 |
613ea31784d2b713d8c60b979d4f93dc
|
|
| BLAKE2b-256 |
b10a826f86636c13ca5758222c1b74307a7d8288ab2ccbb5302f7735509378aa
|