Cstructpy

Latest version: v0.2.2

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

Scan your dependencies

0.2.2

Added

- Added to primitives a new param _python_type for better more general validation. The new field can be passed as tuple
or single
- Added ability to set defaults to GenericStruct child classes

Changed
- Changed the github actions deploy to pypi yml to have a simple sanity check

Fixed
- Compatability issue with python 3.10

0.2.1

Fixed

- Fixed compatability issue with python 3.10

0.2.0

Added

- Added the ability to check equality between subclasses of GenericStruct- allowing easier method to test data integrity
- Added exceptions file to handle the complex exceptions that might occur
- Added ability to use any primitive type apart for CHAR as an array, via "__class_getitem__" method
- Added ability to print the values in GenericStruct object

Fixed

- Fixed not being able to compare GenericStruct objects directly via the '=' operator

0.1.0

First release

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.