Dependencies:
Setup:
poetry installRun local tests:
poetry run pytest
| bash | Powershell |
docker run \
-v $(pwd)/dist:/pkgdist:ro \
-w /pkgdist \
--name test_wipe_clean \
--rm -it \
python:3-alpine \
/bin/sh |
docker run `
-v $pwd/dist:/pkgdist:ro `
-w /pkgdist `
--name test_wipe_clean `
--rm -it `
python:3-alpine `
/bin/sh |
Then run, e.g.
pip install wipe-clean-0.1.4.tar.gz
wipe-cleanSome interesting APIs from rich
Control.move(x, y)Control.move_to(x, y)Segment(text, style, control)LiveRender
Expand
We can use Console.control() to insert any controls.
e.g.
from rich.console import Console
from rich.control import Control
r = Console()
r.control(Control.move_to(2, 3))
r.print('123')
r.control(Control.move_to(4, 3))
r.print('456') 12456
Combining with #2, this will benefit many Linux distributions.
Expand
e.g. speed, animation profiles
Expand
- Frame-based scheduler (instead of time-based). This allows more accurate control on frame timer, which may help solve the Windows timer issue.