Scaffold production-grade FastAPI projects in seconds
Project description
fastnew
Scaffold production-grade FastAPI projects in seconds.
fastnew create myapi --database postgres --auth --docker
Features
- Production structure — app factory, layered architecture (api, core, models, schemas, services)
- Async SQLAlchemy — async engine, session management, repository-ready
- Pydantic Settings — type-safe env configuration with
.envsupport - JWT Auth (optional) — register/login endpoints, password hashing, User model
- Docker (optional) — multi-stage Dockerfile
- SQLite or Postgres — choose your database backend
Install
pip install fastnew
# or
uv tool install fastnew
Usage
# Minimal project
fastnew create myapi
# Full-featured
fastnew create myapi --database postgres --auth --docker
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
fastnew-0.1.1.tar.gz
(7.1 kB
view details)
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
fastnew-0.1.1-py3-none-any.whl
(10.5 kB
view details)
File details
Details for the file fastnew-0.1.1.tar.gz.
File metadata
- Download URL: fastnew-0.1.1.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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 |
00e10cfa7ca8fd0b4f4cd4f8699ef5dd5850a1168d54dec32a77b9cdae139fe4
|
|
| MD5 |
b5f4f2771c5eeee34d0d9992b6de6c72
|
|
| BLAKE2b-256 |
595c4eddb34124c7eee8ef8e14b8c33c214c7fb824698cd36c4d074e50658df4
|
File details
Details for the file fastnew-0.1.1-py3-none-any.whl.
File metadata
- Download URL: fastnew-0.1.1-py3-none-any.whl
- Upload date:
- Size: 10.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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 |
491efa36873db3d534e8b130dd1eca72f9b8c2721cd0795fae1c0ce095c11c6f
|
|
| MD5 |
309bd854bd831468456b3951b00ab2f6
|
|
| BLAKE2b-256 |
89d508468e2c486eec8c3c94a9a24bd3cd2597c01bbc4069c125f6694245c409
|