Finite-state-machine

Latest version: v0.4.0

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.4.0

Changes

- Find all transition conditions that are not True; list them in the raised Exception (20)
- Condition functions accept same arguments as transition function (21)
- add codecov badge
- bump version to 0.4.0

0.3.0

Changes

- Specify target state if transition method raises an Exception (10)
- Only support Python 3.6+ (13)
- Codecov Configuration (14)
- Generate state machine diagram in Mermaid Markdown (12)
- Handle transition function edge case when on_error is not set (16)
- Add LICENSE file (17)
- Upgrade to flit==3.0.0 (18)
- bump version to 0.3.0

0.2.0

StateMachine.state` can be an integer, a boolean, a string, or a list of the previous primitive types.

We stopped testing against Python 2.7 in CI. The library should still work in Python 2.7, but I don't want to support a larger test suite.

Changes

- States can be integers, booleans, or strings (5)
- Code Coverage and Release scripts (6)
- bump version to 0.2.0

0.1.1

Changes

- Clean up and add pre-commit hooks (3)

0.1.0

Initial release. See README.md for description.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.