Licenses and attribution

The licenses that apply to code on this site, to Pygame itself, and to the third-party software and fonts the site uses.

Updated
On this page

Code published on this site (MIT)#

Game projects, tutorial and reference examples, editor examples and code generated by the site's tools are released under the MIT license:

Text
MIT License

Copyright (c) 2026 Pygame.net

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

The small images used by tutorials (player.png, walk_sheet.png, coin.png) and the built-in tiles of the tilemap editor were created for this site and are dedicated to the public domain (CC0). Use them however you like.

pygame and pygame-ce#

Pygame and pygame-ce are libraries created by their own contributors and licensed under the GNU Lesser General Public License, version 2.1 (license text). Pygame.net does not distribute modified versions of either library. The names refer to those projects; Pygame.net is independent of them. Official sites: pygame.org and pyga.me.

If you distribute a game that includes Pygame (for example as an executable), include the LGPL text and make sure users can replace the library. This is general information, not legal advice.

Third-party software used by this website#

ComponentUsed forLicense
Pyodide 0.27.7Python in the browser for Pygame OnlineMPL-2.0 (runtime); bundled packages keep their own licenses
pygame-ce (Pyodide build)Pygame in the browser, loaded on demandLGPL-2.1
CPython (inside Pyodide)The Python interpreterPython Software Foundation License
CodeMirror 6The code editorMIT
highlight.jsCode highlighting (applied when pages are built)BSD-3-Clause
marked, js-yaml, esbuildBuilding pages (not served to visitors)MIT

Fonts#

FontLicense
Atkinson Hyperlegible Next, by the Braille Institute of AmericaSIL Open Font License 1.1
JetBrains Mono, by JetBrainsSIL Open Font License 1.1

Trademarks#

Python is a registered trademark of the Python Software Foundation. Other names are the property of their respective owners. Their mention doesn't imply endorsement.

↑ ↓ to moveEnter to openEsc to close