Metadata-Version: 2.4
Name: shinigami-cli
Version: 0.1.1
Summary: Backend API code generation agent
Author-email: Anshul <anshul.ab17x@gmail.com>
License-Expression: MIT
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: typer>=0.9.0
Requires-Dist: rich>=13.0.0
Requires-Dist: jinja2>=3.1.0
Requires-Dist: pyyaml>=6.0
Requires-Dist: pydantic>=2.0.0
Requires-Dist: pydantic-settings>=2.0.0
Requires-Dist: anthropic>=0.40.0
Requires-Dist: openai>=1.50.0
Requires-Dist: google-genai>=1.0.0
Provides-Extra: dev
Requires-Dist: pytest-asyncio>=0.23.0; extra == "dev"
Dynamic: license-file

# Shinigami

Backend API code generation agent. Generates full working backend projects across 5 tech stacks using templates + LLM.

## Install

```bash
pip install shinigami-cli
```

## Usage

```bash
# List all available built-in project specs
shinigami list

# Show project details
shinigami info <name>

# Generate a project (requires API key)
export ANTHROPIC_API_KEY=sk-...
shinigami generate <name>

# Use OpenAI instead
export OPENAI_API_KEY=sk-...
shinigami generate <name> --provider openai

# Use Gemini instead
export GOOGLE_API_KEY=...
shinigami generate <name> --provider gemini

# Create a spec interactively
shinigami create

# Generate from your own spec
shinigami generate myproject --spec ./my-specs/my-project.yaml
```

## Stacks

| Stack | Framework |
|-------|-----------|
| TypeScript | Express + Prisma |
| Python | FastAPI + SQLAlchemy |
| Go | Gin |
| Rust | Actix-web + SQLx |
| C++ | Drogon |

Ships with a set of built-in specs across real-world, fintech, and agentic-AI categories — run `shinigami list` to see them, or write your own with `shinigami create`.

## Config

Set via environment or `shinigami.config.yaml`:

```yaml
provider: claude          # claude | openai | gemini
claude_model: claude-sonnet-4-6
openai_model: gpt-4o
gemini_model: gemini-2.5-pro
output_dir: ../backend
```

## Tests

```bash
pytest -v
```
