Mutable variant of collections.namedtuple, which supports assignments
Project description
recordclass is MIT Licensed python library. It implements the type memoryslots and factory function recordclass in order to create record-like classes.
memoryslots is tuple-like type, which supports assignment operations.
recordclass is a factory function that create a “mutable” analog of collection.namedtuple.
This library actually is a “proof of concept” for the problem of fast “mutable” alternative of namedtuple.
Main repository for recordclass is on bitbucket.
Here is also a simple example.
Changes:
0.4.2
Fix memory leak in property getter/setter
0.4.3
Add support for typing for python 3.6 (patches from Vladimir Bolshakov).
Resolve memory leak issue.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.