Skip to content

For Python

PyGX's symbolic foundations enable patterns that are awkward to express with plain Python objects. These walkthroughs introduce the core concepts in the context of everyday Python programming.

Authoring pg.Object subclasses

  • pg.Object design & style guide — conventions for positional __init__s, **dict(...) forwarding, ClassVar configs, and field-default overrides that keep both runtime and pyright happy.