A lightweight ECS-based simulation engine
Project description
tigen
A lightweight ECS (Entity Component System) based simulation engine.
Features
- ECS Core — Entity-Component-System architecture with generational IDs and efficient queries
- AI Module — Brain/context/memory abstractions for agent behavior
- Common Utilities — Math helpers, logging, data structures (generational containers, running stats)
- Configurable — Runtime configuration for simulation parameters
Installation
pip install tigen
Quick Start
from tigen.ecs.core import ECS
from tigen.ecs.component import Component
from tigen.ecs.system import System
# Define components
class Position(Component):
def __init__(self, x: float, y: float):
self.x = x
self.y = y
# Create ECS and entities
ecs = ECS()
ecs.create_entity("player", [Position(0, 0)])
License
MIT — see root LICENSE file.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tigen-0.2.1.tar.gz
(17.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
tigen-0.2.1-py3-none-any.whl
(21.4 kB
view details)
File details
Details for the file tigen-0.2.1.tar.gz.
File metadata
- Download URL: tigen-0.2.1.tar.gz
- Upload date:
- Size: 17.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c63294b31dcdccfc65fc5ad23bb31dabb620c19d1e1ac11df008ff6c669ff95
|
|
| MD5 |
da1ea5d2ac59f3087f3d68d2af2f9145
|
|
| BLAKE2b-256 |
7b2a0d275e995907975b6892314ca2a352724ac2eaafd1c303d1540f26336bc6
|
File details
Details for the file tigen-0.2.1-py3-none-any.whl.
File metadata
- Download URL: tigen-0.2.1-py3-none-any.whl
- Upload date:
- Size: 21.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7d9052d0a7776d7f6fc73147bac37640fbe587f8a08d7c3a245273de60433fc
|
|
| MD5 |
e36c0f523e23d7494da99983447edd9a
|
|
| BLAKE2b-256 |
33dffc3170b63669be7b2a60de107e8f0b7a5b22e50e95760042c16610ea0a81
|