Home
Search

Discussion

Discussion categories

General
Tech

Library

Library pages

Design
Resources
Websites
Articles
Web development
Cool Libraries
Tools
Resources
Papers and Studies
Articles
Language Models
Tech and Systems
Computers
Windows Tools and Modding
Windhawk
Raycast for Windows
Rainmeter
Vintage Computing Festival Berlin 2026
Plasma 6.7
Haiku: BeOS-Inspired Open-Source OS
Random fun stuff
Esoteric File Systems
Cool websites
Friends
Unity - Cheaterman's Bar
ChatGPT
Gentoo is Rice - Humor about Linux Obsession
Storyden
Selfh.st
OpenAlternative
Microlaunch
Peerlist
Glama.ai
AlternativeTo
Brandfetch
Dokploy
PitchHut
Piefed Social
Collections
Links
Members
Roles
RegisterLogin
Login
Library
keg-engine

No versions or drafts yet.

KEG – Lightweight ECS for Python Games

KEG is a small, typed, archetype-based ECS framework designed for game developers using Python. It provides a clean architectural pattern for organizing game logic through entity-component-system design without the overhead of heavy game engines.

Key Features:

  • No external dependencies required

  • Ordinary Python dataclasses as components—no base class inheritance needed

  • Column-oriented query design for efficient hot loops

  • Strong type hints for queries (up to 16 component types)

  • Automatic deferred structural changes for stability during queries

  • Includes example with Kivy showing a bouncing-balls simulation

The framework is ideal for developers building Python games who want a lightweight, well-typed tool for managing game entities and logic without the complexity of larger engines.

GitHub - Cheaterman/KEG: KEG is an Engine for Games

KEG is an Engine for Games. Contribute to Cheaterman/KEG development by creating an account on GitHub.

github.com