{"id":13501641,"url":"https://github.com/lordmauve/pgzero","last_synced_at":"2025-05-14T06:14:00.379Z","repository":{"id":29811705,"uuid":"122837644","full_name":"lordmauve/pgzero","owner":"lordmauve","description":"A zero-boilerplate games programming framework for Python 3, based on Pygame.","archived":false,"fork":false,"pushed_at":"2025-01-19T10:05:47.000Z","size":3810,"stargazers_count":564,"open_issues_count":129,"forks_count":196,"subscribers_count":28,"default_branch":"main","last_synced_at":"2025-04-13T13:12:25.922Z","etag":null,"topics":["education","game-framework","pygame","python-game-development","python3"],"latest_commit_sha":null,"homepage":"https://pygame-zero.readthedocs.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lordmauve.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-25T13:16:02.000Z","updated_at":"2025-04-13T12:51:14.000Z","dependencies_parsed_at":"2024-06-18T13:38:19.375Z","dependency_job_id":"67f02ae9-9d4d-48c6-b672-c6d99792af88","html_url":"https://github.com/lordmauve/pgzero","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lordmauve%2Fpgzero","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lordmauve%2Fpgzero/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lordmauve%2Fpgzero/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lordmauve%2Fpgzero/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lordmauve","download_url":"https://codeload.github.com/lordmauve/pgzero/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254083786,"owners_count":22011902,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["education","game-framework","pygame","python-game-development","python3"],"created_at":"2024-07-31T22:01:44.685Z","updated_at":"2025-05-14T06:14:00.358Z","avatar_url":"https://github.com/lordmauve.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"\n.. image:: https://img.shields.io/github/actions/workflow/status/lordmauve/pgzero/test.yml?branch=main\n    :target: https://github.com/lordmauve/pgzero/actions/workflows/test.yml\n    :alt: GitHub Test Status\n\n.. image:: https://img.shields.io/pypi/v/pgzero\n   :target: https://pypi.org/project/pgzero/\n   :alt: PyPI\n\n.. image:: https://img.shields.io/pypi/dm/pgzero\n   :target: https://pypistats.org/packages/pgzero\n   :alt: PyPI - Downloads\n\n.. image:: https://img.shields.io/readthedocs/pygame-zero\n   :target: https://pygame-zero.readthedocs.io/\n   :alt: Read the Docs\n\nPygame Zero\n===========\n\n\nA zero-boilerplate games programming framework for Python 3, based on Pygame.\n\nSome examples\n-------------\n\nPygame Zero consists of a runner ``pgzrun`` that will run a Pygame Zero script\nwith a full game loop and a range of useful builtins.\n\nHere's some of the neat stuff you can do. Note that each of these is a\nself-contained script. There's no need for any imports or anything else in the\nfile.\n\nDraw graphics (assuming there's  a file like ``images/dog.png`` or\n``images/dog.jpg``)::\n\n    def draw():\n        screen.clear()\n        screen.blit('dog', (10, 50))\n\nPlay the sound ``sounds/eep.wav`` when you click the mouse::\n\n    def on_mouse_down():\n        sounds.eep.play()\n\nDraw an \"actor\" object (with the sprite ``images/alien.png``) that moves across\nthe screen::\n\n    alien = Actor('alien')\n    alien.pos = 10, 10\n\n    def draw():\n        screen.clear()\n        alien.draw()\n\n    def update():\n        alien.x += 1\n        if alien.left \u003e WIDTH:\n            alien.right = 0\n\nInstallation\n------------\n\nSee `installation instructions`__.\n\n.. __: http://pygame-zero.readthedocs.org/en/latest/installation.html\n\n\nDocumentation\n-------------\n\nThe full documentation is at http://pygame-zero.readthedocs.org/.\n\nRead the tutorial at http://pygame-zero.readthedocs.org/en/latest/introduction.html\nfor a taste of the other things that Pygame Zero can do.\n\nContributing\n------------\n\nThe project is hosted on Github:\n\nhttps://github.com/lordmauve/pgzero\n\nIf you want to help out with the development of Pygame Zero, you can find some\ninstructions on setting up a development version in the docs:\n\nhttp://pygame-zero.readthedocs.org/en/latest/contributing.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flordmauve%2Fpgzero","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flordmauve%2Fpgzero","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flordmauve%2Fpgzero/lists"}