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 python setup.py test to run tox as well as various other
pre-release tests.
Release files for essence 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| essence-0.0.2.tar.gz | 15.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| essence-0.0.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size:22.1 kB
Release files / essence-0.0.2.tar.gz
| Download URL | essence-0.0.2.tar.gz |
|---|---|
| Size | 15.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b3d40d48a978f82c7baa5825473c0d45ed6c6e316d23ce3f22f3e97a084d788f
|
|
BLAKE2b-256 checksum How to use checksums |
18f6b19d1de23c2617c07a26b83137eef1213ba0c21e4d455436c0a5d8294748
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / essence-0.0.2-py2.py3-none-any.whl
| Download URL | essence-0.0.2-py2.py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
489c972eff83d658667c5d795346d8d6f38981e8bf9eaa40eb27d98a816b1492
|
|
BLAKE2b-256 checksum How to use checksums |
a45e337e17293469f797f7eabe179b9eaef15487223343085e9833afaea1429c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |