Bytemaker

Latest version: v0.9.2

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

Scan your dependencies

0.9.2

(29 August 2024)

Bugfixes
pyproject.toml did not include subpackages for PyPi, so importing from PyPi was failing to include bitvector or bittypes

Other
Relaxed typechecking of inputs in bitvector.py from Literal[0, 1] to int when in sequences. This change allows users to use e.g. [0] * 5 without typecheckers having problems.

Removed some outdated references to BitArray in BitVector.pyi.

0.9.2alpha

0.9.1a3

What's new?

- Added magic methods to BitTypes classes.
- Removed BitTypes' __hash__ functionality.
- Modified BitTypes' __repr__ to include endianness
- Added extra documentation (particularly to nonmethod attributes)

0.9.0alpha

What's new
Many changes, the most important of which are:
- Bits is now BitVector, with a completely redone design (but functionality largely a superset)
- ytypes are now BitTypes. They contain BitVectors, rather than descend from them.
- various mypy cleanups, documentation, and type-hinting improvements|
- full endianness support
What's next
- improved support for array types
- improved convenience for many-nested structures

0.8.2alpha

Commented out debug-purposed print statements; added more documentation.

0.8.1alpha

What's new
All major basic functionality implemented, including

Bits class main methods implementation/testing
YTypes/CTypes/PyTypes serialization/deserialization
Bitfield serialization/deserialization

What's next
Documentation
Different-endian support

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.