Hpl-specs

Latest version: v1.4.0

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

Scan your dependencies

Page 1 of 2

1.4.0

Added
- `get_conjuncts(p: HplPredicate | HplExpression)` function to `hpl.rewrite` module.
- `get_disjuncts(p: HplPredicate | HplExpression)` function to `hpl.rewrite` module.

Changed
- Small improvement in `hpl.rewrite.simplify`.

1.3.0

Added
- `split_and(p: HplPredicate | HplExpression)` function to `hpl.rewrite` module.
- `simplify(p: HplPredicate | HplExpression)` function to `hpl.rewrite` module.
- `is_inclusion` and `is_comparison` properties to `BinaryOperatorDefinition`.
- Factory functions `boolean`, `number` and `string` to `HplLiteral`.

Changed
- Small optimization to `HplExpression` type checking system.

Fixed
- `HplPredicateExpression.expression` is now cast to `DataType.BOOL` on construction.

1.2.0

Added
- `canonical_form(property: HplProperty)` function to `hpl.rewrite` module.

Changed
- `HplAstObject.but()` returns the same object if no attributes would change.

1.1.2

Fixed
- Sanity error when creating some types of predicates that was too strict.

1.1.1

Fixed
- Exception when parsing specifications.

1.1.0

Added
- `hpl` CLI script to test file/property parsing

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.