No description
Find a file
bronsen 444839b8e6
Some checks failed
ci/woodpecker/push/workflow Pipeline failed
have Textual handle log messages
2025-12-28 21:56:57 +01:00
.woodpecker [ci] install uv into venv, have uv handle the rest 2025-12-10 00:07:49 +01:00
__snapshots__/tests test(ui): Add snapshot test for our first very simple Screen 2025-12-04 20:17:56 +01:00
src/teilchensammler_cli have Textual handle log messages 2025-12-28 21:56:57 +01:00
.gitignore [git] keep all the sqlite files off of version control 2025-12-08 17:53:44 +01:00
justfile make it so that Textual can start the app 2025-12-28 21:56:21 +01:00
pyproject.toml [deps] add natsort so we can sort in a more natural way 2025-12-26 18:15:06 +01:00
README.md [models] move Models into their own module 2025-12-08 17:38:54 +01:00
requirements.dev.txt [deps] this seems a better to export dependencies 2025-12-09 23:39:01 +01:00
requirements.txt [project] determine version by hand (in pyproject.toml) 2025-12-10 00:07:06 +01:00
tests.py test(ui): Add snapshot test for our first very simple Screen 2025-12-04 20:17:56 +01:00
uv.lock [deps] add natsort so we can sort in a more natural way 2025-12-26 18:15:06 +01:00

Teilchensammler

This is a little TUI based on Textual for entering new Teilchen and for searching for existing Teilchen.

Data will eventuall be stored in a SQLite database.

Running tests

uv run pytest tests.py

Observing the app's console

You will need two terminals: one for showing the console, the other to run the app.

Since we use uv the incantation is bit different from the official documenation:

In one terminal:

textual console

And in the other:

uv run textual run --dev src/teilchensammler_cli/__init__.py

Creating a new release

  • make code changes
  • add tests; make them pass
  • commit
  • git tag vX.Y.Z
  • push commits and tags

uv build will now create correctly named tar balls and wheels.