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.1.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.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fastinit_cli-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 fd541fca65655096e7e50e58f9c78c49f8b9485c9a7446e0a1a1315bb0962783
MD5 b2272f0f87c4d2d030977f8655fe0ea6
BLAKE2b-256 225841fbbc994299af86cb506800ff88287ff64ba039752797b1e05754768556

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fastinit_cli-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2ccfda3190eb1c314480e2a26213c78bbf9d07b8d0519c697c455fa6fabc5c59
MD5 40fe1aa85993d7c8628f286948e3c594
BLAKE2b-256 5e063341b9f688fd97f09e2e4acd3f412e96912966053d3ba7005ad60f664f57

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