wiswa-typing
Shared TypedDict definitions and type aliases used across the Wiswa ecosystem
(wiswa, wiswa-vcs,
wiswa-mcp).
This package ships types only — there is no runtime code. It exists so consumers can strongly type Wiswa settings and remote-host payload shapes without pulling in the full Wiswa generator, the GitHub/GitLab API clients, or the MCP server.
Installation
pip install wiswa-typing
Usage
The Wiswa settings shape and related pyproject/package.json types live at the package level:
from wiswa.typing import Settings, PyProject, PackageJSON
For GitHub and GitLab payload types, import the submodule and use a short alias. Names inside
those modules are not prefixed (for example gh.Repository, gl.Config):
from wiswa.typing import github as gh
from wiswa.typing import gitlab as gl
def annotate(repo: gh.Repository, config: gl.Config) -> None: ...