Skip to main content

Project generator and manager for FastAPI.

Latest Commit
Package version


Source Code: View it on Github


Features 🚀

  • Creates customizable project boilerplate.

  • Creates customizable app boilerplate.

  • Handles the project structuring for you.

  • Optional Dockerfile generation.

  • Optional docker-compose generation for your project needs.

  • Optional pre-commit hook generation.

Installation 📌

  • Prerequisites
    • Python 3.6 +

Manage FastAPI can be installed by running

pip3 install git+https://github.com/sxhxliang/fastapi-cli
# or
git clone https://github.com/sxhxliang/fastapi-cli
cd fastapi-cli && python3 setup.py develop

Getting started 🎈

Easiest way to start is using the defaults:

fastapi startproject [name]

But there is an interactive mode!

fastapi startproject [name] --interactive

Command line options 🧰

Manage FastAPI provides three different commands.

You can list them with

fastapi --help

The idea is to have a highly customizable CLI, but at the same time a simple interface for new users. You can see the available options for startproject running fastapi startproject --help:

The other commands are already available but the current implementation is too shallow. More details about startapp and run commands will be provided once they have more functionalities, at the moment you can run startapp by just:

fastapi startapp {name}

On the other hand, the run command expects you to have a startproject structure:

fastapi run

License

This project is licensed under the terms of the MIT license.

Release files for fastapi-cli-service 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fastapi-cli-service 1.0.1
File Size Uploaded
fastapi-cli-service-1.0.1.tar.gz 373.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fastapi-cli-service 1.0.1
File Interpreter ABI Platform
fastapi_cli_service-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 404.6 kB

Release files / fastapi-cli-service-1.0.1.tar.gz

Download URL fastapi-cli-service-1.0.1.tar.gz
Size 373.3 kB
Tags Source
SHA-256 checksum
How to use checksums
6f9582b60b351381742f1f4e12782c5f47c2e7d6d06f47062079b72eefd88376
BLAKE2b-256 checksum
How to use checksums
c6e67ffe8217207361119ac2a56590ef9c4761d534eeeaacb554981780bee203
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.7

Release files / fastapi_cli_service-1.0.1-py3-none-any.whl

Download URL fastapi_cli_service-1.0.1-py3-none-any.whl
Size 31.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
09c4f60b10240bfc1b949e138fbba6010241f1946f3502789c34174043589593
BLAKE2b-256 checksum
How to use checksums
c1767a23eb37f0eceedfe08816a07b4fbb29eb1d3b5f205f5c2e60dc7d273ca4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.7

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page