{"library":"sprig-essentials","title":"sprig-essentials","type":"library","description":"Simplifying the process of creating games and apps for the Sprig. Currently at v0.5.0, under active development with regular releases.","language":"python","status":"active","last_verified":"Sat May 09","install":{"commands":["pip install sprig-essentials"],"cli":null},"imports":["from sprig_essentials import Sprite","from sprig_essentials import Game","from sprig_essentials import Button"],"auth":{"required":false,"env_vars":[]},"links":{"homepage":null,"github":"https://github.com/WhenLifeHandsYouLemons/sprig_essentials","docs":null,"changelog":null,"pypi":"https://pypi.org/project/sprig-essentials/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null},"quickstart":{"code":"from sprig_essentials import Sprite, Game, Button\ngame = Game()\nsprite = Sprite('path_to_image.png', x=50, y=50)\ngame.add_sprite(sprite)\nbutton = Button('A', lambda: print('Pressed'))\ngame.add_button(button)\ngame.run()","lang":"python","description":"Initialize a game, create a sprite, add a button, and run the game loop.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}