Metadata-Version: 2.4
Name: alabuga-fastapi-generator
Version: 0.1.0
Summary: CLI tool for generating FastAPI project components using Jinja2 templates
Author-email: AndMikhaylov <czunl24@gmail.com>
License-Expression: MIT
Keywords: fastapi,generator,cli,jinja2,typer
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Software Development :: Code Generators
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: typer>=0.9.0
Requires-Dist: jinja2>=3.0.0
Requires-Dist: typing-extensions>=4.0.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0.0; extra == "dev"
Requires-Dist: black>=22.0.0; extra == "dev"
Requires-Dist: flake8>=5.0.0; extra == "dev"
Dynamic: license-file

# 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

```bash
# Generate a service for a model
python generator.py --service user

# Generate a router for a model  
python generator.py --router product


# Generate authentication components
python generator.py --auth-service
python generator.py --auth-core
python generator.py --auth-router
