{"library":"pyxel","title":"Pyxel","description":"A retro game engine for Python, designed for creating pixel-art games. Latest version: 2.9.5. Release cadence: irregular, major updates every few months.","language":"python","status":"active","last_verified":"Sat May 09","install":{"commands":["pip install pyxel"],"cli":{"name":"pyxel","version":"invalid command: '--version'"}},"imports":["import pyxel"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import pyxel\n\npyxel.init(160, 120)\n\nclass App:\n    def __init__(self):\n        pyxel.run(self.update, self.draw)\n\n    def update(self):\n        if pyxel.btnp(pyxel.KEY_Q):\n            pyxel.quit()\n\n    def draw(self):\n        pyxel.cls(0)\n        pyxel.text(55, 41, \"Hello, Pyxel!\", 7)\n\nApp()","lang":"python","description":"Minimal Pyxel app with a window, update loop, and quit on Q.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}