Skip to main content

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


Download files

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

Source Distribution

recordclass-0.4.4.tar.gz (16.6 kB view details)

Uploaded Source

File details

Details for the file recordclass-0.4.4.tar.gz.

File metadata

  • Download URL: recordclass-0.4.4.tar.gz
  • Upload date:
  • Size: 16.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.0 pkginfo/1.4.2 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.7.5

File hashes

Hashes for recordclass-0.4.4.tar.gz
Algorithm Hash digest
SHA256 37dbafab567371924d780b5547ef5be943d0417f2bab0f5d1d4408ca24f6db0e
MD5 ae1dd93e9af65c3e987ac3086408da24
BLAKE2b-256 a3a1a75ca32dcee20387200f78e1e81aa7b292fcbe88f4d4400ce1b4e6f69f0a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page