You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
LEdoian eea3379477 | 7 months ago | |
---|---|---|
triditko | 7 months ago | |
.gitignore | 8 months ago | |
README.md | 8 months ago | |
pyproject.toml | 8 months ago |
README.md
A PyGame powered tool for quickly sorting stuff into categories
This is a simple tool that will somehow present items of various types and allow categorising them interactively.
Usage
./TODO <stuff -c category1,category2,... -o result.json [-r renderer]
or
./TODO -i stuff -c category1,category2,... -o result.json [-r renderer]
The default renderer only displays the item as the text. The API for custom renderer is:
class Whatever(triditko.Renderer):
def render(itemname: str, w: int, h: int) -> pygame.Surface: ...
The renderer is passed as the fully qualified class name (i.e. if that code is
in file renderers.py
, pass renderers:Whatever
)