Benmoran56 Esper Versions Save

An ECS (Entity Component System) for Python

v3.2

4 months ago

Maintenance release

Changes

  • Add esper.current_world property to easily check the current World context.
  • Made some minor docstring corrections, and added some programmer notes.

v2.5

1 year ago

Changes

  • Removing all Components from an Entity will no longer automatically delete the Entity.
  • Typing fixes and additions.
  • Entity DB check and creation is done once when Entity is created, not when adding Components.

v2.4

1 year ago

Changes

  • Minor typing changes, and docstring improvement.
  • Equality comparison changes.

v2.2

1 year ago

Changes

  • Fix incomplete docstrings for event functions.
  • Typing and docstring cleanups and rewording.

v2.1

1 year ago

Changes

  • Fix bug when adding a function as an event handler.
  • Add some event handler unit tests.

v2.0

2 years ago
  • Add a simple event system, for registering and dispatching events.
  • Replace usage of the lru_cache module with internal cache.
  • To help with type checking, esper has been converted to a package.

v1.5

2 years ago

Maintenance release

Changes

  • Update documentation with notes about dataclass decorator usage.
  • Add Python 3.9 to Continuous Integration testing.

v1.4

3 years ago

Maintenance release

Changes

  • Add missing docstrings.
  • Add additional typing definitions.

v1.3

4 years ago

This release brings two new convenience methods: World.has_components and World.try_components. These function identically to their singular versions, but allow querying for an arbitrary number of Components. In addition, many type names were privatized to prevent namespace pollution when you import esper.

v1.2

4 years ago

This release contains a few small but important improvements. Calls to super() are no longer necessary in your Processor subclasses, which should eliminate a fair amount of boilerplate. The README has also been updated with more usage examples - all methods should now have at least one example. And finally, wheels are now uploaded to PyPi. This should help with packaging systems that only support wheels. Addresses issue #38.