onyx-and-iris dbbc32f4ec swap out the NamedTuple for a frozen dataclass.
move the responsibility of sorting the numbers from the caller to the class initialisation.
(now the string representation matches the internal state)

move logging of ValueError from tui.py to lottery.py

patch bump
2026-02-23 16:53:33 +00:00
2026-02-21 21:06:21 +00:00
2026-02-21 22:08:45 +00:00
2026-02-21 21:06:21 +00:00
2026-02-21 21:06:21 +00:00
2026-02-21 22:16:14 +00:00
2026-02-21 21:06:21 +00:00

Lottery TUI

pdm-managed Ruff PyPI - Version PyPI - Python Version


img

Table of Contents

Installation

with uv

uv tool install lottery-tui

with pipx

pipx install lottery-tui

The TUI should now be discoverable as lottery-tui.

Use

Launch the TUI, select a lottery and press the Draw button!

To exit from the application press q or Ctrl+q

License

lottery-tui is distributed under the terms of the MIT license.

Description
A terminal user interface for National Lottery games (not affiliated).
Readme MIT 106 KiB
Languages
Python 100%