[prev in list] [next in list] [prev in thread] [next in thread]
List: python-announce-list
Subject: plum-py 0.7.0 release (Pack / Unpack Memory bytes)
From: Dan Gass <dan.gass () gmail ! com>
Date: 2021-06-28 4:11:06
Message-ID: CAL2HjZW1k1BOC9FDfTx+TLdpo9mZYEiC0HNADs1j4kH0jjBojQ () mail ! gmail ! com
[Download RAW message or body]
I am pleased to announce the availability of beta release 0.7.0 of
the "plum-py" package.
This pure Python package provides classes and utility functions to
transform byte sequences into Python objects and back. While similar
in purpose to Python's standard library ``struct`` module, this
package provides a larger set of format specifiers and is extensible,
allowing you to easily create complex ones of your own.
Docs: https://plum-py.readthedocs.io/en/latest/index.html
PyPi: https://pypi.org/project/plum-py/
Repo: https://gitlab.com/dangass/plum
Install: pip install plum-py
License: MIT
With Regards,
Dan Gass
(dan.gass at gmail)
Change List
=========
- Backwards Incompatible
- Change ``BitFields`` and ``Structure`` default behavior to
automatically place
bitfields from most significant to least significant position when
lsb not
specified. Add ``fieldorder`` metaclass keyword argument to support
old behavior
(e.g. specify ``fieldorder="least_to_most"``).
- Change ``bitfield()`` and ``bitfield_member()`` to always default to
``int`` for
``typ`` (previously it defaulted to the type annotation if present,
otherwise to
``int``; this change is in preparation for supporting Python 3.10)
- Backwards Compatible
- Add ``SizedX`` transform properties (e.g. ``fmt``, ``size_fmt``, etc.)
- Fix ``BitFields`` to allow `nbytes` to allow any size (previously it
had to be
a power of two).
_______________________________________________
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-leave@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: python-announce-list@marc.info
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic