Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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.5

  • Change version to 0.5

0.4.4

  • Add support for default values in RecordClass (patches from Pedro von Hertwig)
  • Add tests for RecorClass (adopted from python tests for NamedTuple)

0.4.3

  • Add support for typing for python 3.6 (patches from Vladimir Bolshakov).
  • Resolve memory leak issue.

0.4.2

  • Fix memory leak in property getter/setter

Project details


Release history Release notifications

This version
History Node

0.5

History Node

0.4.3

History Node

0.4.2

History Node

0.4.1

History Node

0.4

History Node

0.3

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
recordclass-0.5-cp27-cp27m-macosx_10_6_intel.whl (26.2 kB) Copy SHA256 hash SHA256 Wheel cp27 Jan 3, 2018
recordclass-0.5-cp27-cp27m-win32.whl (18.2 kB) Copy SHA256 hash SHA256 Wheel cp27 Jan 4, 2018
recordclass-0.5-cp27-cp27m-win_amd64.whl (18.9 kB) Copy SHA256 hash SHA256 Wheel cp27 Jan 4, 2018
recordclass-0.5-cp33-cp33m-macosx_10_6_x86_64.whl (26.1 kB) Copy SHA256 hash SHA256 Wheel cp33 Jan 3, 2018
recordclass-0.5-cp33-cp33m-win32.whl (18.2 kB) Copy SHA256 hash SHA256 Wheel cp33 Jan 4, 2018
recordclass-0.5-cp33-cp33m-win_amd64.whl (18.7 kB) Copy SHA256 hash SHA256 Wheel cp33 Jan 4, 2018
recordclass-0.5-cp34-cp34m-macosx_10_6_intel.whl (26.1 kB) Copy SHA256 hash SHA256 Wheel cp34 Jan 3, 2018
recordclass-0.5-cp34-cp34m-win32.whl (18.2 kB) Copy SHA256 hash SHA256 Wheel cp34 Jan 4, 2018
recordclass-0.5-cp34-cp34m-win_amd64.whl (18.7 kB) Copy SHA256 hash SHA256 Wheel cp34 Jan 4, 2018
recordclass-0.5-cp35-cp35m-macosx_10_6_intel.whl (26.2 kB) Copy SHA256 hash SHA256 Wheel cp35 Jan 3, 2018
recordclass-0.5-cp35-cp35m-win32.whl (19.5 kB) Copy SHA256 hash SHA256 Wheel cp35 Jan 4, 2018
recordclass-0.5-cp35-cp35m-win_amd64.whl (21.0 kB) Copy SHA256 hash SHA256 Wheel cp35 Jan 4, 2018
recordclass-0.5-cp36-cp36m-macosx_10_6_intel.whl (29.3 kB) Copy SHA256 hash SHA256 Wheel cp36 Jan 3, 2018
recordclass-0.5-cp36-cp36m-win32.whl (22.6 kB) Copy SHA256 hash SHA256 Wheel cp36 Jan 4, 2018
recordclass-0.5-cp36-cp36m-win_amd64.whl (24.1 kB) Copy SHA256 hash SHA256 Wheel cp36 Jan 4, 2018
recordclass-0.5.zip (24.8 kB) Copy SHA256 hash SHA256 Source None Jan 3, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page