{"library":"pyboy","title":"PyBoy - Game Boy Emulator in Python","description":"PyBoy is a Game Boy and Game Boy Color emulator written in Python, version 2.7.0. It supports full emulation including CPU, memory, graphics, and sound, with a Python API for scripting and AI research. Release cadence: irregular, ~1-2 major versions per year.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install pyboy"],"cli":{"name":"pyboy","version":"UserWarning: Using SDL2 binaries from pysdl2-dll 2.32.0"}},"imports":["from pyboy import PyBoy","from pyboy import PyBoy"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from pyboy import PyBoy\n\n# Replace with path to a ROM file or None for no ROM\nrom_path = 'rom.gb'\npyboy = PyBoy(rom_path, window='null')\n\n# Run 100 frames (approx 1.6 seconds)\nfor _ in range(100):\n    pyboy.tick()\n\npyboy.stop()","lang":"python","description":"Initialize PyBoy with null window (headless) and run 100 frames.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}