- Minor changes to reflect a stricter mypy and ruff checking.
- Added Github Actions CI (ruff, pylint, mypy, pytest).
- Added project urls and issue link to pyproject.toml and README.md
- Changed
pyproject.tomlto use python>= 3.11instead of3.14.
run_lengthsimplemented to count run lengths in BinarySequence.inverted; changed name of method frominverttoinvertedand implemented.xorimplemented.- Dunder methods for
xor,and,oradded to enable operators (e.g. ~seq, seq & otherseq) etc. Including adding implementations forand,orbitwise operations. - First implementations of
to_numpy()andfrom_numpy(), which only importnumpyif using those particular methods. - Very basic tests added for above methods/properties.
- Tests for random_sequence.
- Documentation updates.
- Versioning noob errors!
- Core
BinarySequenceclass - Input validation for binary sequences
- Circular shift operations
- Bit counts, balance, Shannon entropy
- Byte/Hex/String representations
- Len, iteration, slicing, eq etc.
- Tests for BinarySequence.
random_sequenceusingRandomto generate a binary sequence.