Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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

Release History

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 Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting