Skip to main content

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 https://github.com/bintoro/pyrec.

Metadata

Release files for pyrec 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for pyrec 0.2.1
File Interpreter ABI Platform
pyrec-0.2.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Release files / pyrec-0.2.1-py2.py3-none-any.whl

Download URL pyrec-0.2.1-py2.py3-none-any.whl
Size 3.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
684f57ff944d2657e228c13b5f8b2f4a633872ed31e4531b953d48eb5588f53d
BLAKE2b-256 checksum
How to use checksums
244b8b58b04e82fc97b4333083dcb97289d04a63fafd4d1236a06255b8792c99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.1 This release

1 release file

0.2.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page