Repository

Modular-Game-Components/punyecs

punyecs

A Python ECS framework based on attributes and queries.

5stars

Open github.com

Modular-Game-Components/punyecs

punyecs

A tiny Python ECS library that operates on class attributes with querying, inspired by tiny-ecs.

Visit project

Show me a random project

First shared
Aug 16, 2026
HN activity
10

Show HN@thyrgleAug 16, 2026

Show HN: Punyecs – A puny ECS library based on class attributes and querying

PyPI Python Version punyecs is a tiny Entity Component System (ECS) inspired by [tiny-ecs](https://github.com/bakpakin/tiny-ecs) for Python. punyecs operates directly on class attributes as opposed to creating components along with querying mechanisms for fine grain control over which objects are operated on by systems similar to how tiny-ecs works on Lua tables. Decouple what an object can do from what it inherits.

Community

Hacker News discussion

Loading the thread…