plink

raw JSON →
2.4.9 verified Fri May 01 auth: no python

A Tk-based knot and link editor for creating, editing, and analyzing knots and links. Version 2.4.9; released irregularly on PyPI.

pip install plink
error ModuleNotFoundError: No module named 'plink'
cause plink is not installed.
fix
pip install plink
error tkinter.TclError: no display name and no $DISPLAY environment variable
cause Running on a headless server or without a display.
fix
Use a virtual display (e.g., Xvfb) or run locally with a GUI.
gotcha plink requires a Tkinter-capable Python installation (tkinter must be importable).
fix Install Tkinter via your system package manager (e.g., python3-tk on Ubuntu) or use a Python distribution that bundles Tkinter.
gotcha plink's GUI does not work in headless environments (no display server).
fix Run on a desktop environment or use Xvfb for headless testing, but GUI interaction is required.
deprecated Python 3.8 support is no longer tested; may break in future releases.
fix Upgrade to Python 3.9+.

Launches the interactive Tk knot editor.

from plink import LinkEditor

app = LinkEditor()
app.mainloop()