A PyGame powered tool for quickly sorting stuff into categories
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 eaef4a72ae Dump JSON to string first for final \n 10 months ago
triditko Dump JSON to string first for final \n 10 months ago
.gitignore Init python project 10 months ago
README.md README: interface clarifications 10 months ago
pyproject.toml Init python project 10 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)