essence

An Entity Component System for Python


License
MIT
Install
pip install essence==0.0.2

Documentation

essence

Documentation Status Latest PyPI version Number of PyPI downloads Supported Python Versions

Essence is an 'entity, component, system' framework for Python.

An example

>>> import essence
>>> world = essence.World()
>>> alice = essence.new_entity()
>>> position = PositionComponent(3, 4)
>>> alice.add(position)
>>> print alice.get(Position)
<PositionComponent(3, 4)>

Tests

You can use py.test to run the tests for just the current Python environment or tox to perform more comprehensive testing.