Skip to main content

A simple CLI to quickly and cleanly create FastAPI projects and modules.

Project description

fastinit

A simple CLI to quickly and cleanly create FastAPI projects and modules.

This package provides commands to generate the basic structure of a FastAPI project, along with scaffolding for modules including routes, schemas, models, and services.

Installation

pip install fastinit

Usage

After installing the package, you will have access to the fastinit command in your terminal, which displays the available commands:

#root@machine:~# fastinit
  __           _   _       _ _   
 / _| __ _ ___| |_(_)_ __ (_) |_
| |_ / _` / __| __| | '_ \| | __|
|  _| (_| \__ \ |_| | | | | | |_
|_|  \__,_|___/\__|_|_| |_|_|\__|


                         by jp066

- Use 'fastinit new <project_name>' to create a new FastAPI project.
- Use 'fastinit g module <project_name> <module_name>' to create a new module.

Create a new FastAPI project:

fastinit new project_name

Generate a complete module:

fastinit g module module_name

Requirements

  • Python 3.8+
  • FastAPI (to use the generated project)

Contributing

Pull requests are welcome.

Made by João Pedro.

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

fastinit_cli-0.1.4.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fastinit_cli-0.1.4-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file fastinit_cli-0.1.4.tar.gz.

File metadata

  • Download URL: fastinit_cli-0.1.4.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for fastinit_cli-0.1.4.tar.gz
Algorithm Hash digest
SHA256 cef187bad17ced8fc571e65d2c40503086506cce9a12fb3efde164a52b3911b8
MD5 94e1b51ffc48aa6eb33abde1557b8de9
BLAKE2b-256 f8be0e717345284681e7fab6931b094b10b28e25f4fbadb89bfce6558d896f38

See more details on using hashes here.

File details

Details for the file fastinit_cli-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: fastinit_cli-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for fastinit_cli-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c863096bd0d4ef4c097e9b79583dec40b3389c21599696ce6c3a4236b170ba4e
MD5 81873ac020217fa187abedc36f326171
BLAKE2b-256 e4a6b6d1939c5fe227ad531efe23b072e5d0a5df1614299921183c11c97316d2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page