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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fastinit_cli-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 a9adea55e9259d79329ff2c9647ee3c19ce0f1977f518b04e38f2e760f863be2
MD5 d4d9bf4725a06725373fef051f0d5ad6
BLAKE2b-256 888bc5628dd13f7891e34b639cd8634c0a5c57715f7079f69142c4d4b6ff4fc6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fastinit_cli-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 78eb22507e453bbdd78686e9757619594e0b401fcb04c1c1d9d5aa80b038c467
MD5 9e12567f233d109124fdd76a18814752
BLAKE2b-256 2511141d641360db7af87cf5fd4456b10e93ca9c5a1d6c9b2a07b26aaf6c5ce2

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