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.2.tar.gz (3.4 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.2-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fastinit_cli-0.1.2.tar.gz
  • Upload date:
  • Size: 3.4 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.2.tar.gz
Algorithm Hash digest
SHA256 826cc504b023d19f4cc866024f2a5d7459ac18b6f9e819d57f19eafa9b57c8e5
MD5 7067e9e52c7d9ecae013199bfc1cee05
BLAKE2b-256 03d8d10d765c9d77de0eb7627c7754a39612a413fe40c67ecfab9fb1fd1255a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fastinit_cli-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9c359926c1b1923e78a4c1697e60083226710b53df5382e3097cd39117f3a807
MD5 191ce5613a4180f523742cf45a0ce11d
BLAKE2b-256 6c04630e85242348421776bd0d04ce521f8d3e8eb9f89e28444aff208715953a

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