{"id":24695,"library":"termynal","title":"Termynal","description":"A lightweight and modern animated terminal window for Python, used to create animated terminal recordings for documentation and demos. Current version is 0.14.0, released monthly.","status":"active","version":"0.14.0","language":"python","source_language":"en","source_url":"https://github.com/termynal/termynal.py","tags":["termynal","terminal","animation","ascii"],"install":[{"cmd":"pip install termynal","lang":"bash","label":"pip"}],"dependencies":[],"imports":[{"note":"Importing the module itself does not expose the main class; you must import Termynal directly.","wrong":"import termynal","symbol":"Termynal","correct":"from termynal import Termynal"},{"note":"","wrong":"","symbol":"Line","correct":"from termynal import Line"}],"quickstart":{"code":"from termynal import Termynal, Line\n\n# Create a simple terminal animation\nt = Termynal()\nt.add(Line(\"$ pip install termynal\"))\nt.add(Line(\"Collecting termynal...\"))\nt.add(Line(\"Installing collected packages: termynal\"))\nt.show()","lang":"python","description":"Create a basic animated terminal session with a few lines."},"warnings":[{"fix":"Replace t.run() with t.show().","message":"Version 0.14.0 removed the old synchronous 'run' method and replaced it with 'show' which is blocking. Code using t.run() will raise AttributeError.","severity":"breaking","affected_versions":">=0.14.0"},{"fix":"Call show() only at end of script or in a separate thread.","message":"Termynal.show() blocks the main thread until the animation completes. This can freeze UI applications or CLI tools.","severity":"gotcha","affected_versions":">=0.14.0"},{"fix":"Use from termynal import Termynal and instantiate the class.","message":"The 'termynal' module-level function termynal() used for quick generation is deprecated since v0.12, use Termynal class directly.","severity":"deprecated","affected_versions":"<0.14.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Use: from termynal import Termynal","cause":"Wrong import: import termynal then termynal.Termynal fails because the top-level module does not re-export the class.","error":"AttributeError: module 'termynal' has no attribute 'Termynal'"},{"fix":"Add: from termynal import Termynal","cause":"Import statement missing or wrong.","error":"NameError: name 'Termynal' is not defined"},{"fix":"Check docs for current constructor signature; remove 'title' or use 'header'.","cause":"Version mismatch: older version used 'title' parameter; v0.14.0 renamed to 'header' or expects different arguments.","error":"TypeError: __init__() got an unexpected keyword argument 'title'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}