substitutefor

Contribute to the catalog

Improve pyglet

Help someone find the right substitute. Share what you know, explain its limits, and show your sources.

Keep useful details and sources from the current draft as you make your changes.

Sign in or create an account ↗ to earn credit. You can also submit anonymously and save a private receipt. Contributions go to review before publication.

Your own projects are welcome, and an AI assistant can contribute on your behalf. Describe the project accurately and cite sources. You can submit immediately; no minimum karma or prior reviews are required.

1

Identify the subject

Which product or service are you writing about?

This entry can substitute forOptional

Choose the product this entry can replace. For example, when editing GIMP, choose Photoshop to describe GIMP as a substitute for Photoshop. Use “unknown” if the evidence does not show whether the task is supported; “unsupported” means the evidence shows it cannot do the task.

0 of 200 substitute relationships.

Draft comparisons

These comparisons link to articles by their planned address. Edit them under Structured data.

  • pygame — Developing event-driven Python desktop games and multimedia applications
2

Write & cite

Help readers understand what it does and where it falls short.

Article sections and citations
Sources for the overview

Sources

Reuse throughout the article

Add each source once. Select it under the paragraphs it supports.

Source 1 · pyglet overview

Source 1

Source details

To remove this source, first uncheck its citations.

Source 2 · Writing a pyglet application

Source 2

Source details

To remove this source, first uncheck its citations.

Source 3 · pyglet application API

Source 3

Source details

To remove this source, first uncheck its citations.

Source 4 · pyglet shaders and rendering

Source 4

Source details

To remove this source, first uncheck its citations.

Source 5 · pyglet sound and video

Source 5

Source details

To remove this source, first uncheck its citations.

Source 6 · pyglet runtime options

Source 6

Source details

To remove this source, first uncheck its citations.

Source 7 · pyglet license

Source 7

Source details

To remove this source, first uncheck its citations.

Source 8 · pygame quick start

Source 8

Source details

To remove this source, first uncheck its citations.

Article sections

Explain uses, limitations, or compatibility. Give each paragraph the sources that support it.

1 · Events and timing

Section 1

Sources for paragraph 1
2 · Rendering organization

Section 2

Sources for paragraph 1
3 · Loading application content

Section 3

Sources for paragraph 1
4 · Media dependencies

Section 4

Sources for paragraph 1
5 · Platform behavior

Section 5

Sources for paragraph 1
6 · Licensing

Section 6

Sources for paragraph 1
7 · Substitution considerations

Section 7

Linked to pygame. Keep surrounding spaces so the text reads naturally.

Sources for paragraph 1
Structured data Advanced

For agents and detailed edits, including links within paragraphs. Follow the article schema, or use the API. Applying JSON replaces the body, references, article address, and draft comparisons shown here.

Include up to 200 draft comparisons, preserving the existing sources and relationships when adding more.

3

Add useful details Optional

Add what you know. You can submit without filling these in.

Capabilities4

Describe a task this product can perform, its limits, and the evidence. Use “unknown” if the evidence does not show whether the task is supported; “unsupported” means the evidence shows it cannot do the task.

Help readers find related options Optional

Have a useful detail to add? Choose a question, give a short answer, and reuse an article source. Skip this section if you prefer.

Which article sources support this answer?
Only saved answers are included. A blank section is fine.
Screenshots Optional

Show the website or a useful part of its interface. Add up to three still PNG, JPEG or WebP images, each up to 5 MiB. Screenshot guidelines ↗

Crop to the relevant screen. Remove personal information, credentials, account balances and private messages. Images keep their stated rights; they are not automatically CC0.

Sign in to upload screenshots. You can submit the article without them.

License, other names & status
Sources for the license or business model
4

Check & submit

Give reviewers a clear summary and a source they can check.

Preview your article

pyglet

Python windowing and multimedia library with event-driven input and OpenGL rendering.

Overview

pyglet is a Python library for windowing, input, graphics and media playback on desktop systems. It combines an event-driven application loop with OpenGL access and higher-level objects such as sprites and text. It can form the foundation of a custom game or visualization application, while leaving game-specific architecture to the developer.[1][2]

Events and timing

A typical pyglet application creates a window and attaches handlers for drawing and input, then enters the library's application loop. That loop also services scheduled functions. Developers can customize drawing intervals and integrate more specialized behavior, but the normal workflow delegates platform event processing to pyglet. This differs from libraries whose introductory workflow has the application explicitly poll and present every frame.[2][3]

Rendering organization

Batch groups compatible vertex data and drawables so the renderer can submit related work together. Group objects associate rendering state and ordering with those objects. These abstractions are useful for sprites, labels and custom drawing, while direct OpenGL access remains available. References to editable vertex lists also matter for updating or explicitly deleting their GPU data, so scene removal and resource lifetime should be planned together.[1][4]

Loading application content

The quick-start guide distinguishes loading an application resource from loading an arbitrary user-selected image file. Resource loading locates content relative to the application rather than simply assuming the current working directory. This matters when launching a packaged program from a desktop shortcut or a different directory. Image loading provides graphics content, not conversion of another engine's scene objects or gameplay state.[2]

Media dependencies

The 2.1 media guide describes built-in WAV support and additional formats supplied by platform codecs or optional libraries. Video playback uses FFmpeg and exposes frames as OpenGL textures. Applications can stream media or decode reusable sound effects into memory. Supported formats therefore depend on the deployment's decoder stack, and shipping a Python program alone does not establish that every target machine can play its chosen video files.[5]

Platform behavior

pyglet targets Windows, macOS and Linux and exposes options for differences such as high-DPI sizing. A logical window size and its pixel framebuffer size can differ, so interface layout and input coordinates may require attention. Headless mode is documented for systems with EGL-capable graphics drivers. This article uses the 2.1 documentation and does not infer stable browser deployment from separate development-branch work.[1][6]

Licensing

pyglet uses the BSD three-clause license, permitting redistribution with notice and non-endorsement conditions. Optional media components have their own terms; the media documentation specifically discusses different FFmpeg build licenses. A project's dependency choices and bundled binaries therefore remain relevant even though pyglet's own license is permissive.[5][7]

Substitution considerations

pyglet can replace parts of a pygame desktop game or multimedia workflow when the project benefits from event-driven windows and OpenGL rendering. The change involves adapting the loop, image representation, drawing and playback APIs rather than renaming imports. It is most useful as a choice of application foundation, with the actual asset formats and target systems checked separately.[2][3][4][5][8]

References

  1. pyglet overview

    Desktop platforms, windowing, input and Python implementation

    vendor · retrieved 2026-10-07
  2. Writing a pyglet application

    2.1 event loop, on_draw and resource loading

    vendor · retrieved 2026-10-07
  3. pyglet application API

    Event loop, scheduled updates and drawing intervals

    vendor · retrieved 2026-10-07
  4. pyglet shaders and rendering

    Batch/Group rendering and vertex resource lifetime

    vendor · retrieved 2026-10-07
  5. pyglet sound and video

    Platform codecs, FFmpeg video and streaming/static sources

    vendor · retrieved 2026-10-07
  6. pyglet runtime options

    DPI, EGL headless mode and platform behavior

    vendor · retrieved 2026-10-07
  7. pyglet license

    BSD three-clause redistribution conditions

    vendor · retrieved 2026-10-07
  8. pygame quick start

    Explicit game loop and multimedia scope

    vendor · retrieved 2026-10-07

Also included: 4 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.

Contribution type

Agree to CC0 above to submit your contribution.