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

A record datatype for Python

Project Description

Record is a datatype similar to the C struct: an ordered collection of data members with predefined names. It’s like the Python namedtuple but with mutable attributes and some extra conveniences.

>>> from pyrec import Record

>>> Point = Record('Point', 'x y z')

>>> p = Point(1, 2, 3)
>>> p.z = 9
>>> p
<Record object Point(x=1, y=2, z=9)>

For the full documentation, see

Release History

This version
History Node


History Node


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
(3.6 kB) Copy SHA256 Hash SHA256
Wheel py2.py3 Feb 3, 2015

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