Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python.announce > #3634
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Dan Gass <dan.gass@gmail.com> |
| Newsgroups | comp.lang.python.announce |
| Subject | plum-py 0.5.0 released |
| Date | Mon, 10 May 2021 23:10:06 -0500 |
| Lines | 45 |
| Approved | python-announce-list@python.org |
| Message-ID | <162070628662.372.python-announce-list@python.org> (permalink) |
| Reply-To | python-list@python.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="UTF-8" |
| Content-Transfer-Encoding | base64 |
| X-Trace | news.uni-berlin.de 04/40cMGdolRtVGBx+G8oQwEe3dvRfhM6aQsu0aYI9MA== |
| Authentication-Results | mail.python.org; dkim=pass reason="2048-bit key; unprotected key" header.d=gmail.com header.i=@gmail.com header.b=uaRTErJm; dkim-adsp=pass; dkim-atps=neutral |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; '(e.g.': 0.04; 'argument': 0.04; '3.6': 0.05; "python's": 0.05; 'usage': 0.05; 'package.': 0.07; 'attempts': 0.09; 'byte': 0.09; 'construct': 0.09; 'dan': 0.09; 'etc.).': 0.09; 'skip:` 10': 0.09; 'to:addr:python-announce- list': 0.09; 'url-ip:151.101.0.223/32': 0.09; 'url- ip:151.101.128.223/32': 0.09; 'url-ip:151.101.192.223/32': 0.09; 'url-ip:151.101.64.223/32': 0.09; 'usable': 0.09; 'utility': 0.09; '(previously': 0.16; 'beta': 0.16; 'buffer.': 0.16; 'changed.': 0.16; 'instances.': 0.16; 'license:': 0.16; 'module,': 0.16; 'relatively': 0.16; 'transform,': 0.16; 'tuple': 0.16; 'url- ip:172.65.251.78/32': 0.16; 'url-ip:172.65.251/24': 0.16; 'url- ip:172.65/16': 0.16; 'url:gitlab': 0.16; 'url:latest': 0.16; 'url:project': 0.16; 'url:pypi': 0.16; 'announce': 0.16; 'python': 0.16; 'instead': 0.17; 'api': 0.18; 'larger': 0.18; 'classes': 0.23; 'list,': 0.23; 'purpose': 0.26; 'library': 0.27; 'input': 0.29; 'member': 0.31; 'but': 0.31; '(with': 0.31; 'objects': 0.32; 'obtain': 0.32; 'structure': 0.32; 'transform': 0.32; 'message- id:@mail.gmail.com': 0.33; 'class': 0.33; 'functions': 0.34; 'received:google.com': 0.34; 'release': 0.35; 'contains': 0.35; 'complex': 0.35; 'url-ip:104.17/16': 0.35; 'from:addr:gmail.com': 0.35; 'changes': 0.37; 'change': 0.37; 'file': 0.38; 'read': 0.38; '8bit%:12': 0.39; 'list': 0.39; 'simple': 0.40; 'package': 0.40; 'url-ip:151.101.0/24': 0.63; 'url-ip:151.101.128/24': 0.63; 'url- ip:151.101.192/24': 0.63; 'url-ip:151.101.64/24': 0.63; 'later': 0.63; '&': 0.64; 'url:index': 0.64; 'your': 0.64; 'pack': 0.65; 'replaced': 0.65; 'similar': 0.66; 'skip:t 20': 0.67; 'pleased': 0.68; 'accept': 0.68; 'url-ip:lookup error': 0.69; 'offer': 0.71; 'longer': 0.72; 'operations': 0.74; 'features': 0.76; 'mit': 0.77; 'breaking': 0.78; 'eliminated': 0.84; 'summarize': 0.84; 'anticipated': 0.91; 'stable': 0.91; 'assess': 0.93 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Q6bzezC1nh0QMc7dXCe4y+moUh1Vsuu6KzZvGuCIAaU=; b=uaRTErJmUOPIb71bzPMfvz3QofAx39i+c2TRULCSNuDxbbApXsI6H52l83oMsrwPm2 aazu2Y+bUXlv5ryDYFWuNLzpIR9PnA3dWlV65jr8h00THWSZsek11ytKB4sO2kHKb30r QrRR5gNLpH+wSsV1EyHFeK0+dKW3H3Sp06gVkZTt87MO1qSM6RvVGeAcUTs1BmXfkMlA /DGN/G94PMBBV5jxS3jZXkkgyAZ15/af6fBY1j45BFI7OowR8MtlMkalW2ph9tRBWfaz YnPWN8VfXqn0nlJ3mzoNcW+er1OcyIYnUq66Tn7/JvhdjTAbIgHAfKUk7yGeAx43EK2B TVsg== |
| X-Google-DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Q6bzezC1nh0QMc7dXCe4y+moUh1Vsuu6KzZvGuCIAaU=; b=rS7ngNMNXhyBfNq7/GXt07HMEDcVLOZwkdIaYmWa1iPZn4+Aa/F+1KsCG3m+imQb6u xvchg5EBhCrMgnNmwLTQfDEp/Qcn0kc3/Ktj7JNPET5wWWoAQAW/ApZfHyG8sOPx++fC frpA54M2sv5y5eCM7UQPB0pDFZxR2tn5/KMRnxXo0Ed2e5HelB9Ze5f8apxwjfIyXKdh 27JewTbNx8pXQ8g1f4/SkPr03duzO6IupbS93/Tk60BhmJpzwIcPZMv66AwY5JWat33C XY/G4TTdVWV1bufaEjiCkQBzMf5Ptlm3fph0cP/YYPtvAKmF1S4jogOKR675HZ+6UDuS jQsA== |
| X-Gm-Message-State | AOAM5301F+adcFu1jd9RLnVlgELzB8oKSwqD+nkKVTsNPptGz09RZl0O WfSd76VVmkQuvI52PS5kBg2yXYoO33wDpQWoVZpaUsW9ihPOKg== |
| X-Google-Smtp-Source | ABdhPJwg8EeyHBl8fmjlAarANOgR9csBT6kZ5IUlrVHUeP1uQy9vbjQ6PqZCcCKwSsFwAkjR9DC2j8ZtucPxkz0OVy0= |
| X-Received | by 2002:a9f:2d90:: with SMTP id v16mr23165275uaj.138.1620706216898; Mon, 10 May 2021 21:10:16 -0700 (PDT) |
| X-MailFrom | dan.gass@gmail.com |
| X-Mailman-Rule-Hits | emergency |
| X-Mailman-Rule-Misses | dmarc-mitigation; no-senders; approved |
| Message-ID-Hash | 5RHCVAGYFU7R7DAPIMA45VJOZI4N66HW |
| X-Message-ID-Hash | 5RHCVAGYFU7R7DAPIMA45VJOZI4N66HW |
| X-Mailman-Approved-At | Tue, 11 May 2021 00:11:11 -0400 |
| X-Content-Filtered-By | Mailman/MimeDel 3.3.5b1 |
| X-Mailman-Version | 3.3.5b1 |
| Precedence | list |
| List-Id | Announcement-only list for the Python programming language <python-announce-list.python.org> |
| Archived-At | <https://mail.python.org/archives/list/python-announce-list@python.org/message/5RHCVAGYFU7R7DAPIMA45VJOZI4N66HW/> |
| List-Archive | <https://mail.python.org/archives/list/python-announce-list@python.org/> |
| List-Help | <mailto:python-announce-list-request@python.org?subject=help> |
| List-Owner | <mailto:python-announce-list-owner@python.org> |
| List-Post | <mailto:python-announce-list@python.org> |
| List-Subscribe | <mailto:python-announce-list-join@python.org> |
| List-Unsubscribe | <mailto:python-announce-list-leave@python.org> |
| Xref | csiph.com comp.lang.python.announce:3634 |
Show key headers only | View raw
I am pleased to announce the availability of beta release 0.5.0 of
the "plum-py" package. While this release contains many breaking changes,
the API should now remain relatively stable until the anticipated 1.0.0
release expected later this year.
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
License: MIT
With Regards,
Dan Gass
(dan.gass at gmail)
Change List
=========
- This beta release contains many breaking changes! This release note
entry attempts to summarize most breaking changes. Please read the
extensively rewritten documentation to assess in detail what has
changed.
- Python 3.6 support dropped.
- Changed most plum constructs (e.g. `Int`, `Float`, etc.) from being
a data store type (with transform properties) into a simple
transform type (e.g. `IntX`, `FloatX`, etc.). Instead of subclassing
to obtain a custom transform, now instantiate the transform.
- `ByteArray` data store eliminated and replaced with `BytesX`
transform.
- Added `ItemsX` transform for specifying dict, list, tuple formats.
- Structure & BitFields changes
- Bitfield members `cls` argument name changed to `typ`.
- Member `cls` argument name changed to `fmt`.
- Type annotations no longer used for the member format transform
(previously if `cls` was unspecified, the annotation was used).
- Pack operations no longer accept dictionaries.
- Reduced number of member definition classes (same abilities exist,
but features were added to standard `Member` to accomodate them).
- `pack()` now only usable as a class method. `ipack()` introduced
for usage on instances.
- Pack operations now return `bytes` instead of `bytearray`.
- Unpack operations no longer support File I/O as input buffer.
- `pack()` and `unpack()` functions/methods offer more flexibility for
specifying data transform format.
- `pack_into()` eliminated.
- `unpack_from()` eliminated (use `Buffer` construct instead).
Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread
plum-py 0.5.0 released Dan Gass <dan.gass@gmail.com> - 2021-05-10 23:10 -0500
csiph-web