{"id":27239,"library":"plink","title":"plink","description":"A Tk-based knot and link editor for creating, editing, and analyzing knots and links. Version 2.4.9; released irregularly on PyPI.","status":"active","version":"2.4.9","language":"python","source_language":"en","source_url":"https://github.com/mikestandbrook/plink","tags":["knot-theory","link-editor","tkinter"],"install":[{"cmd":"pip install plink","lang":"bash","label":"Install via pip"}],"dependencies":[],"imports":[{"note":"Primary class for the editor","symbol":"LinkEditor","correct":"from plink import LinkEditor"},{"note":"Data structure for knots/links","symbol":"Link","correct":"from plink import Link"}],"quickstart":{"code":"from plink import LinkEditor\n\napp = LinkEditor()\napp.mainloop()","lang":"python","description":"Launches the interactive Tk knot editor."},"warnings":[{"fix":"Install Tkinter via your system package manager (e.g., python3-tk on Ubuntu) or use a Python distribution that bundles Tkinter.","message":"plink requires a Tkinter-capable Python installation (tkinter must be importable).","severity":"gotcha","affected_versions":"2.x"},{"fix":"Run on a desktop environment or use Xvfb for headless testing, but GUI interaction is required.","message":"plink's GUI does not work in headless environments (no display server).","severity":"gotcha","affected_versions":"2.x"},{"fix":"Upgrade to Python 3.9+.","message":"Python 3.8 support is no longer tested; may break in future releases.","severity":"deprecated","affected_versions":"<3.9"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"pip install plink","cause":"plink is not installed.","error":"ModuleNotFoundError: No module named 'plink'"},{"fix":"Use a virtual display (e.g., Xvfb) or run locally with a GUI.","cause":"Running on a headless server or without a display.","error":"tkinter.TclError: no display name and no $DISPLAY environment variable"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}