Typedpy

Latest version: v2.28.0

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

Scan your dependencies

Page 1 of 9

23.641958967571146

Deserialization:
test_trusted_deserialization.py::test_trusted_deserialization_equivalent_to_regular

============================== 1 passed in 2.71s ===============================

Process finished with exit code 0

14.930535150782818

2.22

Issue 244

2.21

240 Add a factory method(s) that assumes everything is valid and skips validation
241 Add an option for deserialization from a "trusted source" for simple structures

Both of these improve performance by a factor of 10-25, depending on the Structure.
Examples from the tests:

Instantiation:
test_trusted_instantiation.py::test_trusted_instantiation_different_style

============================== 1 passed in 0.97s ===============================

Process finished with exit code 0

2.20

2.19

Page 1 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.