Packtype

Latest version: v1.1.5

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

Scan your dependencies

1.1.3

* Added support for rendering multiple templates for one language type
* Moved pack/unpack function definitions into a separate `.cpp` file for C++
* Moved pack/unpack function definitions into a separate `.c` file for C

1.1.2

Fixing missing newline at end of SystemVerilog output causing lint failures

1.1.1

Fixing issue with field ordering in SystemVerilog template.

1.1

Adding the ability to pack structs from MSB - also adding a template to generate HTML documentation.

python
import packtype
from packtype port Scalar, Struct

packtype.struct(width=32, pack=Struct.FROM_MSB)
class MyStruct:
field_a : Scalar(width=8, desc="Will be positioned at bit 24")
...

1.0.1

Including templates in Python package so that tool can render code.

1.0

First release of Packtype to GitHub and PyPI:

https://pypi.org/project/packtype/

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.