{"id":21594,"library":"mozterm","title":"mozterm","description":"Terminal abstractions built around the blessings module, used in Mozilla's testing and automation tools. Current version 1.0.0, low maintenance cadence.","status":"maintenance","version":"1.0.0","language":"python","source_language":"en","source_url":"https://github.com/mozilla/mozterm","tags":["terminal","blessings","mozilla","testing"],"install":[{"cmd":"pip install mozterm","lang":"bash","label":"Default install"}],"dependencies":[{"reason":"Required for terminal capabilities.","package":"blessings","optional":false}],"imports":[{"note":"Direct import from mozterm package.","symbol":"Terminal","correct":"from mozterm import Terminal"}],"quickstart":{"code":"from mozterm import Terminal\nterm = Terminal()\nprint(term.red('Hello, world!'))","lang":"python","description":"Quick usage of Terminal to print colored text."},"warnings":[{"fix":"Always use from mozterm import Terminal instead of from blessings import Terminal.","message":"mozterm wraps the blessings library. Do not import both; use mozterm for consistent behavior across Mozilla tools.","severity":"gotcha","affected_versions":"all"},{"fix":"Evaluate if you need mozterm's specific abstractions; otherwise use blessings or rich.","message":"The package is in maintenance mode with no active development. Consider using blessings directly or other modern terminal libraries if you need new features.","severity":"deprecated","affected_versions":">=1.0.0"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Run: pip install mozterm","cause":"mozterm not installed in the current environment.","error":"ImportError: No module named 'mozterm'"},{"fix":"Use: from mozterm import Terminal","cause":"Incorrect import statement, e.g., import mozterm then mozterm.Terminal.","error":"AttributeError: module 'mozterm' has no attribute 'Terminal'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}