Cstruct

Latest version: v6.0

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

Scan your dependencies

Page 1 of 4

6.0

Added

- access to Python class attributes in struct definition

Improved

- Python 3.13 support

5.3

Fix

- fix struct in struct array parsing

Improved

- Python 3.12 support

5.2

Fix

- nested struct unpack fix
- nested anonymous union offset fix
- inspect offset for nested struct/union fix

5.1

Improved

- Support unpack from ctype pointers

Added

- Add support for char constants
- Add native type test
- dir.py example

5.0

Added

- Add support for enums
- Add support for multiple definition to cstruct.parse
- Add inspect method

Improved

- Documentation and examples
- Restructure setup

4.0

Added

- Add support for nameless inline struct

Improved

- Python 3.11 support

Page 1 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.