Rule-engine

Latest version: v4.5.0

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

Scan your dependencies

Page 1 of 4

4.5.0

* [StringSyntaxError](https://zerosteiner.github.io/rule-engine/rule_engine/errors.html#rule_engine.errors.StringSyntaxError) is now raised for invalid string literals
* [FunctionCallError](https://zerosteiner.github.io/rule-engine/rule_engine/errors.html#rule_engine.errors.FunctionCallError) is now raised when a typed function returns an incompatible value
* Added the new [BYTES](https://zerosteiner.github.io/rule-engine/rule_engine/types.html#rule_engine.types.DataType.BYTES) data type
* Added some new data attributes
* Added starts_with and ends_with to [ARRAY](https://zerosteiner.github.io/rule-engine/rule_engine/types.html#rule_engine.types.DataType.ARRAY), and [STRING](https://zerosteiner.github.io/rule-engine/rule_engine/types.html#rule_engine.types.DataType.STRING)

4.4.0

* Added the `$range` builtin function
* Added the `rule_engine.parser.utilities` module with a few functions and documentation

4.3.1

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

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.