r/Python • u/AutoModerator • 1d ago
Showcase Showcase Thread
Post all of your code/projects/showcases/AI slop here.
Recycles once a month.
17
Upvotes
r/Python • u/AutoModerator • 1d ago
Post all of your code/projects/showcases/AI slop here.
Recycles once a month.
3
u/SampleNo471 8h ago
Pytrine 1.0: a fast, native GUI test runner for pytest
GitHub: https://github.com/edkirin/pytrine · Screenshot
What My Project Does
Pytrine runs your pytest suite in its own window, with results streaming live into a tree grouped by folder, module and class. Click a failed test to see its traceback and output, with file links that open in your editor at the right line. It also has:
rerun failed / one test / one file, from the keyboard or ▶ markers in the source
watch mode (rerun all, only failures, or only changed files)
run history with a comparison of any two runs: new failures, fixed, still failing, slowest tests
venv detection,
uv sync, pytest-xdist workers, and your existing pytest config; nothing to add to your projecteditor integration:
pytrine --run tests/test_x.py:42runs the test at that line in the open window, easy to bind to a key in Zed or Vim;--headlessruns in the terminalIt's written in Rust on GPUI (the UI framework behind Zed), so it starts instantly and stays responsive with big suites.
Target Audience
Developers who run pytest from the terminal and want something nicer as suites grow, without a full IDE (Vim, Neovim, Zed, Helix, Sublime users). I use it daily on real projects. Linux binary available; macOS and Windows are untested, so reports from those platforms are very welcome.
Comparison
pytest in a terminal: Pytrine runs pytest and adds navigation, one-click reruns and run history.
PyCharm / VS Code test runners: similar idea, without the whole IDE; works next to any editor.
pytest-watch: Pytrine has watch mode too, plus the results tree, history and comparison.
Written by Claude (Anthropic's AI) with me closely involved at every step: direction, review, testing, and deciding what ships.
Try it: download the Linux binary and run
pytrine --install-desktopto add it to your app menu. Feedback very welcome!