Mini-lambda

Latest version: v2.2.3

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

Scan your dependencies

Page 3 of 3

1.1.0

* It is now possible to use any function in a lambda expression, through use of the `make_lambda_friendly_...` methods (see [documentation](./usagesupporting-any-other-methods-and-classes))
* All `built-in` methods as well as all constants, methods and classes from the `math.py` and `decimal.py` modules are provided in a lambda-friendly way by the package for convenience
* Updated documentation accordingly, and made main page clearer
* Renamed class `_InputEvaluator` into `_LambdaExpression`
* A few bugfixes in particular support for keyword arguments when a function call is made in a lambda expression
* `<expr>.nnot()`, `<expr>.any()` and `<expr>.all()` renamed `<expr>.not_()`, `<expr>.any_()` and `<expr>.all_()` for consistency and to avoid conflicts with any()/all() methods that would already be defined in the class, for example NumPy.

1.0.0

* Initial fork from [valid8](https://github.com/smarie/python-valid8) sources.
* Added documentation and printability of expressions, which implied to properly handle operator precedence.

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.