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.0.tar.gz (3.6 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.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fastinit_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 3.6 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.0.tar.gz
Algorithm Hash digest
SHA256 9eeb41082b58eb9d36dfce7c05129edb64878125acf152b956f2e90ff4d1b648
MD5 d4c47bca37af4d1647a3c1b9b4cf9241
BLAKE2b-256 3d0648372cc6486b0785da52d5dfdf313b4917eb2e38ec3375e060177163cb0e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fastinit_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.1 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4bae7bb218312cd09eb72b2311e4a38008535e4f53b3cf8f177a61cd312bf4fe
MD5 96e5f2935f6d1b6911b8e3c6de5baa77
BLAKE2b-256 2851b4972c5c18d79f740b2aecec737b60cad43f1a5118e5a0b1e5a8cfbc659f

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