No description
Find a file
bronsen 4b4745eb9f
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful
ci/woodpecker/tag/workflow Pipeline was successful
ci: Our code only works in 3.14 and newer because we use uuid7
2026-02-14 23:26:15 +01:00
.forgejo/workflows actions: install a python and let's hope the rest will work 2026-02-14 22:02:47 +01:00
.woodpecker ci: Our code only works in 3.14 and newer because we use uuid7 2026-02-14 23:26:15 +01:00
__snapshots__/tests tests: new snapshot after we load data from the db 2026-02-14 18:56:48 +01:00
src/teilchensammler_cli main: don't add fake data during start up 2026-02-14 18:51:37 +01:00
.gitignore [git] keep all the sqlite files off of version control 2025-12-08 17:53:44 +01:00
database.db add database.db hoping it helps on CI 2026-02-14 22:46:24 +01:00
justfile just: add new recipes: dealing with deps and pretending we are on CI 2026-02-14 23:17:36 +01:00
mise.toml tooling: add linter and prek 2026-02-12 20:31:21 +01:00
prek.toml tooling: configure prek 2026-02-12 20:31:52 +01:00
pyproject.toml [deps] add ipython to dev dependencies 2026-02-07 02:53:11 +01:00
README.md [models] move Models into their own module 2025-12-08 17:38:54 +01:00
requirements.dev.txt update dependencies 2026-02-14 23:18:05 +01:00
requirements.txt update dependencies 2026-02-14 23:18:05 +01:00
tests.py [test] Make the tests pass even when we use relative imports 2026-01-08 12:08:13 +01:00
uv.lock update dependencies 2026-02-14 23:18:05 +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.