Skip to main content

CLI tool for generating FastAPI project components using Jinja2 templates

Project description

FastAPI Project Generator

License: MIT

A CLI tool for generating FastAPI project components using Jinja2 templates. Quickly create services, routers, and authentication modules with predefined templates.

Features

  • Dynamic file generation: Create model‑specific services and routers with variable substitution

  • Static file generation: Copy authentication components without modifications

  • Jinja2 templating: Use flexible templates for code generation

  • Typer CLI: Intuitive command‑line interface with help documentation

  • UTF‑8 encoding: Full Unicode support for generated files

  • Error handling: Clear feedback for missing templates and operations

Installation

# Generate a service for a model
files --service user

# Generate a core for a project
files --core

# Generate a router for a model  
files --router product


# Generate authentication components
files --auth-service
files --auth-core
files --auth-router

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

alabuga_fastapi_generator-1.2.0.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

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

alabuga_fastapi_generator-1.2.0-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file alabuga_fastapi_generator-1.2.0.tar.gz.

File metadata

File hashes

Hashes for alabuga_fastapi_generator-1.2.0.tar.gz
Algorithm Hash digest
SHA256 1595e7543f1b2a5103efd6262e8d5f4e2aebed8be2b7570b98c5827b706bc050
MD5 46c4cc76cd8c96d0b26638314720a361
BLAKE2b-256 47f90c6e007719fd14562e9765d60cf2a0991d9e3e42d38693506127089c1de8

See more details on using hashes here.

File details

Details for the file alabuga_fastapi_generator-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for alabuga_fastapi_generator-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a82b390a2e9f1d3c21f253404ffe384f43187af3d80e96ab8959fafe656ec5d0
MD5 b7ac3e962b2160ef37ce3d734652fb24
BLAKE2b-256 eb223a5cc26c73b7f5ab168a42deba95b64bb92832cd99f4a5eb22532446289e

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