Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Dan Gass Newsgroups: comp.lang.python.announce Subject: [plum-py 0.3.1] Pack/Unpack Memory Date: Mon, 13 Apr 2020 22:06:08 -0500 Lines: 38 Approved: python-announce-list@python.org Message-ID: <158683635917.26269.python-announce-list@python.org> References: Reply-To: python-list@python.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: news.uni-berlin.de ohbDiASCpHmj+tzCVv8X3gBk4zBtJwz3Z6+hePWfnqTw== Authentication-Results: mail.python.org; dkim=pass reason="2048-bit key; unprotected key" header.d=gmail.com header.i=@gmail.com header.b=tOjMWx9k; dkim-adsp=pass; dkim-atps=neutral X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'library': 0.03; 'variable': 0.05; 'package.': 0.07; 'skip:` 20': 0.07; 'arbitrary': 0.09; 'fundamental': 0.09; 'nested': 0.09; 'numbers,': 0.09; 'offers.': 0.09; 'structure': 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; 'announce': 0.15; 'argument': 0.16; 'buffer': 0.16; 'capability': 0.16; 'conform': 0.16; 'conforms': 0.16; 'dan': 0.16; 'license:': 0.16; 'structures,': 0.16; 'url- ip:104.208.221.96/32': 0.16; 'url-ip:104.208.221/24': 0.16; 'url- ip:104.208/16': 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; 'url:readthedocs': 0.16; 'utility': 0.16; 'subject:] ': 0.20; 'url:io': 0.28; '(e.g.': 0.30; 'classes': 0.30; 'handling': 0.30; 'message-id:@mail.gmail.com': 0.31; 'combined': 0.31; 'change': 0.32; 'subject:[': 0.32; 'member': 0.33; 'received:google.com': 0.34; 'functions': 0.34; 'api': 0.34; 'use': 0.35; 'package': 0.36; 'from:addr:gmail.com': 0.37; 'function': 0.37; 'header:In- Reply-To:1': 0.37; 'ability': 0.39; 'module': 0.39; '8bit%:13': 0.39; 'support': 0.39; 'url-ip:151.101.0/24': 0.39; 'url- ip:151.101.128/24': 0.39; 'url-ip:151.101.192/24': 0.39; 'url- ip:151.101.64/24': 0.39; 'availability': 0.40; 'structures': 0.40; 'to:addr:python-announce-list': 0.40; 'skip:& 20': 0.61; 'your': 0.64; 'access': 0.64; 'skip:t 30': 0.66; '8bit%:7': 0.68; 'url:index': 0.68; 'deeply': 0.69; 'similar': 0.69; 'pack': 0.70; 'combination': 0.76; 'powerful': 0.82; 'enumeration': 0.84; 'received:mail-vk1-xa32.google.com': 0.84; 'type.': 0.84; 'factory': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=38D4G161bDrXIVPFI5nAF/wNW2k82Nm7TvNuo+vB16U=; b=tOjMWx9kK4EKvqJOPNMZFH5xDkVlh0g5kEEfhu+5uAzFDjNt3sHIz/0V9lopm47q2U 51cagGjj7KoDLL6A4j2tRLjWS8+cr9RvjLLJmbyWcubd+FGqwpVcrzt0GaXn2oGncamr r0rqibl8YbN61o5C6fm2QVE3G9eto7mN5BH+FgQRQJcUBltSHRQPbSlZ9ElPEaVFZc1u eOYRf3wOeeqykWD6aWWgHkPhgiY+Gto0XvkBiF/WlT3y58BPoonJR+PNDU8BoNpzOwJy 9UYwFDUUyliKLIt2fHY/WrDMCiqOe2YwW/S4c+oIgcAgzurQqQWo4y5zIvfM54MYh8mQ kDww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=38D4G161bDrXIVPFI5nAF/wNW2k82Nm7TvNuo+vB16U=; b=nF6uq7AuaSN2sZAf/KqocMjTcpg1kirF/Jyb3/mHylU1NEBAmdm9wLiOFrxIGSKrgT S5a8OS82zmDHPJMHcp5uS42WgFV9/ZOsXuDK5husMPsuZzdJRfX/Oqio7REByo/LhTf0 f2SZHSPt+E1T6pwJvPKS3NCMvAJzqIYFzW2/tLzR2fBndY3NFGzK1PYPukULIq4QmoLD 8+fSwwl9O9WlDAWpppt7qXHkqd4Ci02EOvxz1hoMuIJWm6xvRhZRA31hblYepK1Hy1Bp o0zCJ1px77w26zfJnamtbMtZkRB7tyzADlmtUXMGsivxPXwh0JJavUBm3L2tcDWHnNPe C8eQ== X-Gm-Message-State: AGi0PuaiNLb6xJ/lqd891TNBjkVhx4clS2+bAo7jFOKsGgeyaYpnwCCl ezw1b/hYL4+eMyo6MmKwdQR94G58kcDDDg7t3hQt/iZOE3s= X-Google-Smtp-Source: APiQypLVm+/CT9MO4gHnmxmCS6gReSvsLuUjLkMEiE1dgVLFZU8g0mw5PesWPBa3ajG2cZv8WW5a+zkwW66GUo4REak= X-Received: by 2002:a1f:bf08:: with SMTP id p8mr7904632vkf.43.1586833579353; Mon, 13 Apr 2020 20:06:19 -0700 (PDT) In-Reply-To: X-MailFrom: dan.gass@gmail.com X-Mailman-Rule-Hits: emergency X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved Message-ID-Hash: SOMEG7QGLQTBVCE7S67Q5Q5NBEVU4P4A X-Message-ID-Hash: SOMEG7QGLQTBVCE7S67Q5Q5NBEVU4P4A X-Mailman-Approved-At: Mon, 13 Apr 2020 23:52:29 -0400 X-Content-Filtered-By: Mailman/MimeDel 3.3.1rc1 X-Mailman-Version: 3.3.1rc1 Precedence: list List-Id: Announcement-only list for the Python programming language Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Xref: csiph.com comp.lang.python.announce:3368 I am please to announce the availability of beta release 0.3.1 of the "plum-py" package. This package provides classes and utility functions to efficiently pack and unpack bytes similar to what the standard library `struct` module offers. This package expands significantly on that capability with much more powerful and convenient access and control of bytes within a buffer (including handling variable size/type relationships within the buffer data). The package provides a large number of fundamental types (e.g. numbers, structures, arrays, etc.) for specifying buffer data structure. Each type conforms to a "plug-and-play" architecture facilitating the ability to be combined in any way, including deeply nested structures of arbitrary type. You may also write your own custom types that conform to the "plug-and-play" architecture API and use them in combination with any of the fundamental types provided. 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 ========= - Add support for passing a factory function as the ``cls`` argument for following variable member definitions: + ``VariableDimsMember`` + ``VariableSizeMember`` - Improve structure representation of enumeration members.