Library for initializing FastAPI project structure - create-app-fastapi
Project description
create-app-fastapi
A simple CLI tool for generating FastAPI projects with a predefined structure, including APIs, database setup, models, schemas, and configuration files, enabling a quick start to development.
Installation
To install this package, use the following command:
pip install create-app-fastapi
Usage
After installation, create a new FastAPI project by running:
create-app-fastapi project-name
Navigate to the project directory
cd project-name
Start the development server
fastapi dev main.py
Your FastAPI is now up and running on port 8000! 🚀
Output
The generated project will have the following structure:
root-folder/
|- APIs/
| |- __init__.py
| |- api.py
|- models/
| |- __init__.py
| |- model.py
|- schemas/
| |- __init__.py
| |- schema.py
|- settings/
| |- __init__.py
| |- auth.py
| |- config.py
| |- db.py
|- testcase/
| |- __init__.py
| |- test_main.py
|- venv/
|-.gitignore
|- main.py
|- requirements.txt
Features
-
Predefined project structure for FastAPI applications.
-
Includes APIs, models, schemas, and settings files.
-
Ready-to-use database connection file (db.py).
-
Simplifies setting up new FastAPI projects.
------- Happy Coding! 🎉 --------
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
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 create_app_fastapi-0.1.6.tar.gz.
File metadata
- Download URL: create_app_fastapi-0.1.6.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9e47daee3eba2db232300b85e423a9fd34f565902de1f49352decef334bfa41
|
|
| MD5 |
83975d0664b8f6a3486c6db37100460e
|
|
| BLAKE2b-256 |
aecbf2d73a7e2abbb2ead83699b9b5560e031d81ba5de9e70f9995424c06f126
|
File details
Details for the file create_app_fastapi-0.1.6-py3-none-any.whl.
File metadata
- Download URL: create_app_fastapi-0.1.6-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a919996864acbe44d23d664b88c17dda4a7894486e5bbcd98fd90c6f60190b2
|
|
| MD5 |
7a8c255218720e7d559114c6672b3e19
|
|
| BLAKE2b-256 |
af75535700b91f5b7b547aaa8e22efaeee398505214efc003804e4a7f28b958a
|