Metadata-Version: 2.5
Name: abhijanfastapi
Version: 1.0.2
Summary: Abhijan FastAPI scaffolding package with `abhijan init` and `abhijan alembic` CLI.
Project-URL: Homepage, https://github.com/Kilo-Org/kilocode
Project-URL: Issues, https://github.com/Kilo-Org/kilocode/issues
Author: Abhijan
License: MIT
Keywords: alembic,cli,fastapi,scaffolding
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Code Generators
Requires-Python: >=3.10
Requires-Dist: rich>=13
Requires-Dist: typer>=0.12
Description-Content-Type: text/markdown

# abhijanfastapi

Scaffolding CLI for Abhijan FastAPI projects.

Provides the `abhijan` command with two subcommands:

- `abhijan init` — creates `main.py`, `config.py`, `database.py`
- `abhijan alembic` — creates `alembic/env.py` with the async migration config

## Install

```bash
pip install abhijanfastapi
```

## Usage

```bash
# scaffold a new project in the current directory
abhijan init

# scaffold into a specific directory
abhijan init -d ./my-app

# (re)create alembic/env.py
abhijan alembic

# overwrite existing files without prompting
abhijan init -f
```

After scaffolding, run your app with:

```bash
uvicorn main:app --reload
```

And run migrations with:

```bash
alembic revision --autogenerate -m "initial"
alembic upgrade head
```

## Requirements

- Python >= 3.10

## License

MIT