Skip to main content

Efficient Tiny State Machine using object callbacks.

Project description

MIT licensed NuGet Version

etsm

Efficient Tiny State Machine using object callbacks. Implemented in many languages.

Description

Implement a bare bones state machine in many languages. This library aim to be simple as possible and support only basic features:

  • states on object (owner)
  • optional enter/exit methods
  • virtual state user methods
  • is in
  • unrestricted transitions
  • no runtime allocation

Why

For small project or need of small and simple state machine.

Install

Depend on the language, etsm is designed to be a one file dropper in your project. A package might also be available.

Languages

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

etsm-0.1.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

etsm-0.1.0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file etsm-0.1.0.tar.gz.

File metadata

  • Download URL: etsm-0.1.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for etsm-0.1.0.tar.gz
Algorithm Hash digest
SHA256 64c3e97a3a96771e33c2ecb544ab8c6d2be59e5fa1e84ce6e294d10b9957271f
MD5 ddcb63cb6c49d86c437bbfe973841c00
BLAKE2b-256 1be756274218f388885f34f3ab53dbd80c9e979f4fbfdc38fab2b76d049b5043

See more details on using hashes here.

File details

Details for the file etsm-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: etsm-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for etsm-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b8e235cb5afb0f983d7ada55e0cc38d3899b84da6601a4963b18f66556a9816e
MD5 9491e68f50e06a32605f19544e62b692
BLAKE2b-256 b2a112c4a44542813f0fb655dfed24346cf88211fec3dfb7b0f529063bfa7794

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page