FastAPI-fastkit: Fast, easy-to-use starter kit for new users of Python and FastAPI
This project was created to speed up the configuration of the development environment needed to develop Python-based web apps for new users of Python and FastAPI.
This project was inspired by the SpringBoot initializer & Python Django's django-admin cli operation.
Key Features
- Immediate FastAPI project creation : Super-fast FastAPI workspace & project creation via CLI, inspired by
django-adminfeature of Python Django - Prettier CLI outputs : beautiful CLI experiment (rich library feature)
- Standards-based FastAPI project template : All FastAPI-fastkit templates are based on Python standards and FastAPI's common use
Installation
Install FastAPI-fastkit at your Python environment.
$ pip install FastAPI-fastkit
---> 100%
Usage
Create a new FastAPI project workspace environment immediately
Create a new FastAPI project workspace with:
$ fastkit startproject
Enter project name: <your-project-name>
Available Stacks and Dependencies:
MINIMAL Stack
┌──────────────┬─────────┐
│ Dependency 1 │ fastapi │
│ Dependency 2 │ uvicorn │
└──────────────┴─────────┘
STANDARD Stack
┌──────────────┬────────────┐
│ Dependency 1 │ fastapi │
│ Dependency 2 │ uvicorn │
│ Dependency 3 │ sqlalchemy │
│ Dependency 4 │ alembic │
│ Dependency 5 │ pytest │
└──────────────┴────────────┘
FULL Stack
┌──────────────┬────────────────┐
│ Dependency 1 │ fastapi │
│ Dependency 2 │ uvicorn │
│ Dependency 3 │ sqlalchemy │
│ Dependency 4 │ alembic │
│ Dependency 5 │ pytest │
│ Dependency 6 │ redis │
│ Dependency 7 │ celery │
│ Dependency 8 │ docker-compose │
└──────────────┴────────────────┘
Select stack (minimal, standard, full): minimal
Creating Project:
new-fastapi-project
┌───────────┬────────┐
│ Component │ Status │
│ fastapi │ ✓ │
│ uvicorn │ ✓ │
└───────────┴────────┘
Creating virtual environment...
Installing dependencies...
⠙ Setting up project environment...Collecting <packages~>
---> 100%
╭─────────────────────────────────────────────────────────────────── Success ────────────────────────────────────────────────────────────────────╮
│ ✨ Project '<your-project-name>' has been created successfully! │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭───────────────────────────────────────────────────────────────────── Info ─────────────────────────────────────────────────────────────────────╮
│ ℹ To activate the virtual environment, run: │
│ │
│ source /<new-venv-path>/venv/bin/activate │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
This command will create a new FastAPI project workspace environment with Python virtual environment.
Place a structured FastAPI project immediately
Place a structured FastAPI project immediately with:
$ fastkit startup
Enter the project name: <your-project-name>
Enter the author name: <your-name>
Enter the author email: <your-email>
Enter the project description: <your-project-description>
Deploying FastAPI project using 'fastapi-default' template
Template path:
/<fastapi_fastkit-package-path>/fastapi_project_template/fastapi-defau
lt
Project Information
┌──────────────┬──────────────────────────────────────────┐
│ Project Name │ <your-project-name> │
│ Author │ <your-name> │
│ Author Email │ <your-email> │
│ Description │ <your-project-description> │
└──────────────┴──────────────────────────────────────────┘
Do you want to proceed with project creation? [y/N]: y
FastAPI template project will deploy at '<your-project-path>'
---> 100%
╭─────────────────────────────────────────────────────────────────── Success ────────────────────────────────────────────────────────────────────╮
│ ✨ FastAPI project '<your-project-name>' from 'fastapi-default' has been created and saved to │
│ <your-project-path>! │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Significance of FastAPI-fastkit
FastAPI-fastkit aims to provide a fast and easy-to-use starter kit for new users of Python and FastAPI.
This idea was initiated with the aim of full fill to help FastAPI newcomers to learn from the beginning, which is the production significance of the FastAPI-cli package added with the FastAPI 0.111.0 version update.
As one person who has been using and loving FastAPI for a long time, I wanted to develop a project that could help me a little bit to practice the wonderful motivation that FastAPI developer tiangolo has.
License
This project is licensed under the MIT License - see the LICENSE file for details.
@author bnbong bbbong9@gmail.com
Metadata
Release files for FastAPI-fastkit 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fastapi_fastkit-0.1.1.tar.gz | 36.3 kB | With provenance | Details for fastapi_fastkit-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fastapi_fastkit-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for fastapi_fastkit-0.1.1-py3-none-any.whl |
Total release size: 92.4 kB
Release files / fastapi_fastkit-0.1.1.tar.gz
| Download URL | fastapi_fastkit-0.1.1.tar.gz |
|---|---|
| Size | 36.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9916da8da5c931afc8cfea27c7413c28377fa9c6482384e61c65b32fa4086280
|
|
BLAKE2b-256 checksum How to use checksums |
02f4659cbdf2c894692c43a150f7e1a7e4945313d335de5096c1b2ff458cb759
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 21, 2025.
Transparency logRelease files / fastapi_fastkit-0.1.1-py3-none-any.whl
| Download URL | fastapi_fastkit-0.1.1-py3-none-any.whl |
|---|---|
| Size | 56.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4b45f1206713b0e5d4c6bf76fd38e56c0eb6e6782991a0114c455105a06ff0c0
|
|
BLAKE2b-256 checksum How to use checksums |
dd05d353c34774574964ae9093750a51f8ebad6e3d3953a9fc816182a4e7fddb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 21, 2025.
Transparency logSecurity for FastAPI-fastkit 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for fastapi_fastkit-0.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 21, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.