Registry / database / record

record

JSON →
library4.2pypypi✓ verified 82d ago

Provides Record objects for Zope, enabling attribute and item access. Current version is 4.2, with a stable release cadence.

pip install record
INSTALL
IMPORT
SIG · RECORD
R
record
databasepythonv4.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Record
from Record import Record
from record import Record

Creating and using a Record object.

from record import Record r = Record() r.foo = 'bar' print(r.foo) # 'bar' print(r['foo']) # 'bar' print(r) # '<Record: {"foo": "bar"}>'
Debug
Known issues
gotchaRecord objects allow both attribute and item access, but be cautious: setting an item (r['key']) also creates an attribute, but attribute access may conflict with existing methods.
fix
Use consistent access style; prefer attribute access unless dynamic keys are needed.
affects: all
deprecatedThe symbol 'Record' is the only public export; avoid importing from submodules like 'record.record'.
fix
Use 'from record import Record'.
affects: >=4.0
gotchaRecord objects do not support pickling by default. Attempting to pickle may raise errors.
fix
Implement __getstate__/__setstate__ or use a different serialization method.
affects: all
Upgrade
Version history
4.2latest on PyPI · released Mar 3, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
Meta
1
Resources
record — pip install record · libregistry