wiswa

A highly opinionated way to generate and maintain projects with Jsonnet.

View on GitHub

wiswa

Python versions PyPI - Version GitHub tag (with filter) License GitHub commits since latest release (by SemVer including pre-releases) CodeQL QA Tests Coverage Status Dependabot Documentation Status mypy uv pydocstyle pytest Ruff Downloads Stargazers pre-commit Prettier

@Tatsh Buy Me A Coffee Libera.Chat Mastodon Follow Patreon

A highly opinionated way to generate projects with Jsonnet.

Installation

pip install wiswa

Usage

Add -d to show debug logs.

Usage: wiswa [OPTIONS] [FILE]

  Entry point for the Wiswa CLI.

Options:
  -d, --debug          Enable debug output.
  -J, --jpath TEXT     Add a directory to the Jsonnet search path (only used
                       when evaluating settings).
  -u, --user-defaults  Use defaults.jsonnet file in user preferences
                       directory.
  --skip-github        Skip configuring GitHub project.
  --skip-jsonnet       Skip Jsonnet evaluation.
  --skip-templates     Skip Jinja2 template evaluation.
  -h, --help           Show this message and exit.

MCP Server

Wiswa includes an MCP server (wiswa-mcp) that exposes settings discovery tools for AI assistants.

Claude Code

claude mcp add wiswa-mcp -- wiswa-mcp

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "wiswa-mcp": {
      "command": "wiswa-mcp"
    }
  }
}

GitHub Copilot CLI

Add to .github/copilot/mcp.json:

{
  "mcpServers": {
    "wiswa-mcp": {
      "command": "wiswa-mcp"
    }
  }
}