Deconstruct

Latest version: v0.6

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

Scan your dependencies

0.6

This release adds a new pointer destination notation and two methods on `Struct`: `_require` and `new`.

0.5

- Struct comparison fixed so that field values are compared rather than simply field names
- Updated documentation

0.4

- Multidimensional arrays are now packed and unpacked properly
- Arrays of length 0 are now permitted
- Struct instances can now be compared

0.3

- Added support for [future annotations](https://www.python.org/dev/peps/pep-0563/)
- First release on [PyPI](https://pypi.org/project/deconstruct/)

0.2

- Added exact-width types
- Added support for multi-dimensional arrays
- Struct: made `TypeWidth.STANDARD` default
- Struct: added `to_bytes` method
- Struct: improved unpacking efficiency
- Using native-only types in a class without `TypeWidth.NATIVE` set now throws an error (previously this would only yield a generic `struct.error`)
- Empty Structs are now allowed

0.1

Initial release

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.