Skip to content

Installation

typer-swissknife needs Python 3.12 or newer.

uv add typer-swissknife
pip install typer-swissknife

It depends on Typer (0.26.8 or newer) and pyfiglet, which draws the ASCII-art banners.

Check it works

from typer_swissknife import render_ascii_art

print(render_ascii_art("Hi"))
██╗  ██╗██╗
██║  ██║██║
███████║██║
██╔══██║██║
██║  ██║██║
╚═╝  ╚═╝╚═╝

Development

uv sync
uv run pytest

Tests run with branch coverage, and the run fails below 100%.