A CLI to generate bare-bone FastAPI project
Project description
FastAPI CREATE APP
fastapi-create-app is a CLI tool for generating bare-bone FastAPI project.
When you run fastapi-create-app new [project_name]
, it generates the following project structure:
.
├── app/
│ ├── __init__.py
│ ├── config/
│ │ ├── __init__.py
│ │ └── config.py
│ ├── database/
│ │ ├── __init__.py
│ │ └── database.py
│ ├── models/
│ │ ├── __init__.py
│ │ └── models.py
│ ├── routers/
│ │ ├── __init__.py
│ │ └── routes.py
│ ├── schemas/
│ │ ├── __init__.py
│ │ └── schemas.py
│ └── services/
│ │ ├── __init__.py
│ │ └── services.py
│ └── statics/
│ └── templates/
│ └── tests/
│ │ ├── __init__.py
│ │ └── tests.py
│ └── utils/
│ ├── __init__.py
│ └── utils.py
├── Dockerfile
├── docker-compose.yaml
├── [project_name]_ven
├── .env
├── .gitignore
├── requirements.txt
└── README.md
INSTALLATION
pip install fastapi-create-app
COMMAND
fastapi-create-app new [project_name]
This command initialized an empty git repository, create a virtual environment using the python builtin venv
by appending _evv
to the project name, i.e [project_name]_env
.
Activate the virtual environment before installing dependencies.
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file fastapi_create_app-1.1.0.tar.gz
.
File metadata
- Download URL: fastapi_create_app-1.1.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.10.4 Linux/5.19.0-46-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b5f165264f57e751879b502d3ba6292d66e6309f80a4aa839c7444644aff228 |
|
MD5 | cd8ca9b4686cffa0c1db48c2112f045b |
|
BLAKE2b-256 | 48e620abc82da39b3448815da504ff67a31c481a8c03a06093de15750c3eee32 |
File details
Details for the file fastapi_create_app-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: fastapi_create_app-1.1.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.10.4 Linux/5.19.0-46-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61ded38a2d36dd614d1d1a9d0c4ad6f5791d166f3e32b68ec900ee8143a7cf3f |
|
MD5 | 60f84e0020e714e70127ce7fbef4a248 |
|
BLAKE2b-256 | 39e814efea0e8453f6b676d35bcabffd3905ad45edce471fe12c97cc9894e31a |