Rule-engine

Latest version: v4.5.3

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

Scan your dependencies

Page 2 of 4

4.3.0

* Added the `is_nan` attribute for `FLOAT` values

4.2.0

* Added attributes for coercion of types to themselves, e.g. `to_str` for `STRING` values

4.1.0

* Added the `$abs` builtin function
* Added support to `from_type` Python’s type hints

4.0.1

4.0.0

- **Breaking:** Changed `STRING.to_ary` to return an array of characters instead of splitting the string
- Use the new builtin `$split` function to split a string on whitespace into an array of words
- **Breaking:** Changed `Context` to use keyword-only arguments
- **Breaking:** Dropped support for Python versions 3.4 and 3.5
- **Breaking:** Invalid floating point literals now raise `FloatSyntaxError` instead of `RuleSyntaxError`
- **Breaking:** Moved `rule_engine.engine.Builtins` to `rule_engine.builtins.Builtins`
- Added the new `FUNCTION` data type

3.6.0

Page 2 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.