Skip to content

Releases: gkerherve/KhervePY

KhervePY v0.39.0

Choose a tag to compare

@gkerherve gkerherve released this 31 Jul 11:59

Added

  • Open Folder and New Instance in the mini window. The cockpit has no menu
    bar and no file tree, so switching project used to mean restoring the full
    window first. Two new icons sit left of Run: an open-folder glyph and a
    second-window glyph, both drawn in the active theme like the rest of the bar.
  • Opening a folder opens its entry point. KhervePY now looks in the project
    root for main.py, then for a script named after the folder itself
    (KherveStats/KherveStats.py), and opens the first one it finds — so Run
    works immediately after Open, which is the whole point of the cockpit. If
    neither exists the status line says so instead of leaving Run pointing at
    nothing. In the mini window, where the status bar is hidden, that message goes
    to the Output panel.

Fixed (0.38.1, first released here)

  • Run works in the installed build again. Windows keeps a 0-byte
    python.exe in %LOCALAPPDATA%\Microsoft\WindowsApps — an "app execution
    alias" whose only job is to open the Microsoft Store — and that directory sits
    near the front of PATH. Interpreter discovery took the first python on
    PATH, so the frozen KhervePY (which has no interpreter of its own to fall
    back on) always handed QProcess the placeholder, and every Run died with
    could not start the interpreter.
  • Discovery now walks PATH in full and skips those stubs, then falls back to
    the interpreters registered under SOFTWARE\Python\PythonCore and to the
    standard install directories (…\Programs\Python\Python3*,
    C:\Program Files\Python3*, C:\Python3*), newest first. A real install is
    found even when it was never added to PATH.
  • If a stub is genuinely the only thing on the machine, Run still reports the
    failure — but now explains that the path is a Store placeholder and how to fix
    it.

Downloads: KhervePY-Setup-0.39.0.exe (installer) or
KhervePY-0.39.0-windows.zip (portable). The installer is unsigned, so
SmartScreen will warn — choose More info → Run anyway.

KhervePY v0.38.0

Choose a tag to compare

@gkerherve gkerherve released this 29 Jul 09:42

KhervePY 0.38.0 gathers five releases' worth of work since 0.33.2. The theme is
running code: seeing what a run actually did, and keeping the window out of the
way while you watch it.

Running and output

  • Errors show in red in the Output panel. Anything the program writes to
    stderr — tracebacks, warnings, a failed pip — is coloured, so a failure is
    visible at a glance instead of being one more grey line in a wall of output.
    The closing [Process finished with exit code N] turns red only for a
    non-zero exit. The red is picked per theme from the background's luminance,
    so it stays legible in all thirteen.
  • The Output panel reads like a real console. Every run echoes the
    interpreter, the script and the working directory before starting, and closes
    with [Process finished with exit code N] (or [Process crashed] /
    [Process stopped]).
  • Never run a project in KhervePY's own virtualenv. With no project venv,
    the fallback used to be sys.executable — the editor's private environment,
    holding PyQt6 and nothing your project needs. It is now the base interpreter
    that venv was made from, or python on PATH: the same one a plain terminal
    would use.
  • A failed Run can no longer be silent. A run that failed before the child
    wrote a byte used to leave the Output panel empty and the Run button stuck on
    green for ever. It is now reported, and the icons return to idle.
  • Nothing is dropped or misplaced: both channels are streamed and drained again
    at exit, so a program that dies on line 1 still shows its traceback. Output is
    appended at the end rather than at the caret, and the view auto-scrolls.
  • Child output is decoded as UTF-8, so tracebacks with accents or arrows arrive
    readable instead of as mojibake.

Compact mode

  • The mini window is a real cockpit now. It opens at 720×420 instead of
    1100×600 and can be dragged down to about 260×268 — small enough to sit beside
    another window on a laptop screen.
  • Output left, Log right. The cockpit exists to watch a run and commit the
    result, so the left column is the Output panel; the right column is the Log,
    with the commit graph above and the full commit message below.
  • Chrome gives way to the panels: 18px icons, no "Run & Commit" label, no
    summary line or Author column in the Log, tighter Graph and Date columns.
  • The files-changed list is hidden while compact — double-clicking a file to
    open a diff makes no sense with the editor hidden. It returns on Maximise.

Updates

  • KhervePY updates itself. It checks GitHub Releases for a newer version and
    can install it: Help ▸ Check for updates…, plus a Check for updates on
    start-up
    toggle.
  • The start-up check is deliberately quiet — a worker thread three seconds after
    the window appears, at most once a day, silent unless there is something
    newer. Being offline is not an error worth a dialog.
  • The dialog shows the release notes and offers Download & install, Open release
    page, Skip this version, or Later. Nothing is downloaded or launched without
    an explicit click.

Install

KhervePY-Setup.exe is the per-user installer; KhervePY-0.38.0-windows.zip is
the portable copy-and-run folder. The installer is unsigned, so SmartScreen will
warn — choose More info ▸ Run anyway.

KhervePY 0.33.2

Choose a tag to compare

@gkerherve gkerherve released this 19 Jul 10:41

Live program output streams into the Output panel (python -u / PYTHONUNBUFFERED). Includes 0.33.1 (run in the project's own virtualenv) and 0.33.0 (Check requirements.txt — flag & install missing packages).

Windows installer: KhervePY-Setup-0.33.2.exe (or KhervePY-Setup.exe for the always-latest link). Portable zip: KhervePY-0.33.2-windows.zip.

KhervePY 0.31.0

Choose a tag to compare

@gkerherve gkerherve released this 16 Jul 14:44

Changed

  • Type directly in the Terminal: the separate "Type a command" box is gone — the console view is now editable in place, like a real terminal, with commands typed on the shell's own prompt line. Scrollback is protected, and Up/Down still recall history.
  • No duplicated commands: the shell's echo of what it read from the pipe no longer doubles the text already on screen.
  • Sharp icons at every size: khervepy.ico now carries a native render at 16/24/32/48/64/128/256px instead of one 256px image for Windows to downscale (23 KB rather than 270 KB).
  • New application icon: a three-tone KPy wordmark (Kherve white + Python blue/yellow), replacing "Py".

Fixed

  • Terminal would not accept typing: clicking the output view took focus and swallowed keystrokes; the view and dock now proxy focus to the command line.
  • Icon rendered as tofu boxes: make_icon.py forced Qt's offscreen platform, which has no font database on Windows, and asked for a comma-separated font list Qt cannot resolve as a family name.

Downloads

  • KhervePY-Setup-0.31.0.exe / KhervePY-Setup.exe — Windows installer (identical; the version-less name is what the website links to)
  • KhervePY-0.31.0-windows.zip — portable zip, no install required

KhervePY 0.30.1

Choose a tag to compare

@gkerherve gkerherve released this 14 Jul 15:44

Fixed

  • Windows encoding crash: child-process output (git/pip) is now decoded as UTF-8 with errors="replace", fixing UnicodeDecodeError reader-thread tracebacks (cp1252 could not decode bytes like 0x81).
  • Yellow folder icons: the Project tree now uses themed monochrome folder/file icons instead of the OS's yellow folders, matching the theme.

Downloads

  • KhervePY-Setup-0.30.1.exe — Windows installer
  • KhervePY-0.30.1-windows.zip — portable zip, no install required