$npx skillfedfor your agent

recordtype

Similar to namedtuple, but instances are mutable.

SkipPyPI Python ModulesReleased Sep 202293.0K downloads / moApache License Version 2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — recordtype-1.4-py2.py3-none-any.whl
v1.4 · released 2022-09-22 · 1 runtime deps: six

No, unless you are maintaining legacy Python 2 code or a codebase already using recordtype. For new projects on Python 3.7+, use dataclasses; for more advanced use cases, use attrs or namedlist. The package is abandoned and its author recommends against it.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with a single pure-Python dependency (six).
  • However, the package is abandoned as of 1422 days since its last release; the author explicitly recommends Python 3.7+ users switch to dataclasses, and points to namedlist and attrs as better-maintained alternatives.

License · maintenance · safety

Apache License Version 2.0 (permissive) — Licensed under Apache License Version 2.0 (permissive). You can use, modify, and distribute recordtype freely in commercial and private projects with minimal restrictions.

last release 2022-09-22 (1422 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 93,010 downloads/mo, #13,407 on PyPI

Verify before relying

from recordtype import recordtype

Point = recordtype('Point', [('x', 0), ('y', 0)])
p = Point()
p.x = 5
print(p.x, p.y)  # 5 0
  • Whether the package works reliably on Python 3.10+ despite the last update being in 2022.
  • Performance characteristics compared to dataclasses or attrs in modern Python versions.
  • Whether the mutable-default-value warning mentioned in the changelog is still active.
Same gist for agents: .md · .json

What it is and what it does

recordtype is a factory function that generates mutable record classes—similar to collections.namedtuple but with write support and flexible default-value handling. Unlike namedtuple, instances are fully mutable, and you can specify per-field defaults, a global default for all unspecified fields, or both. It depends only on six and generates pure Python classes with introspection members like _fields, _asdict(), and _source.

The package is production-stable but abandoned; its author explicitly recommends that Python 3.7+ users use dataclasses instead, and points to namedlist and attrs as better-maintained alternatives. It remains useful for legacy codebases or Python 2 compatibility, but new projects should consider those alternatives.

Use it for

  • Migrating from namedtuple to a mutable variant when you need to modify field values after instantiation.
  • Creating lightweight data containers with sensible field defaults to reduce boilerplate initialization code.
  • Supporting Python 2.6+ codebases that predate dataclasses and need a simple mutable record type.
  • Building configuration or state objects where fields have meaningful defaults and occasional mutation is expected.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No, unless you are maintaining legacy Python 2 code or a codebase already using recordtype.

For new projects on Python 3.7+, use dataclasses; for more advanced use cases, use attrs or namedlist. The package is abandoned and its author recommends against it.

Install

recordtype on PyPI

Before you install

Low install friction with a single pure-Python dependency (six). However, the package is abandoned as of 1422 days since its last release; the author explicitly recommends Python 3.7+ users switch to dataclasses, and points to namedlist and attrs as better-maintained alternatives.

License in practice

Licensed under Apache License Version 2.0 (permissive). You can use, modify, and distribute recordtype freely in commercial and private projects with minimal restrictions.

Quickstart

from recordtype import recordtype

Point = recordtype('Point', [('x', 0), ('y', 0)])
p = Point()
p.x = 5
print(p.x, p.y)  # 5 0

Verify before relying

  • Whether the package works reliably on Python 3.10+ despite the last update being in 2022.
  • Performance characteristics compared to dataclasses or attrs in modern Python versions.
  • Whether the mutable-default-value warning mentioned in the changelog is still active.

Package facts

LicenseApache License Version 2.0 permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
six
MaintenanceAbandoned 1,422 days since the last release
First released
Downloads93,010 / month, #13,407 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3Topic :: Software Development :: Libraries :: Python Modules

Evidence: recordtype-1.4-py2.py3-none-any.whl

Tags

Capabilities
mutable namedtuplerecord type with defaultsmutable data structurefield defaults factorynamedtuple alternativewritable tuple-like classstructured data with mutations
Topics
legacydata-structure

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “mutable namedtuple”

  • recordtyperecordtype creates mutable record classes with optional per-field and…
  • namedlistCreates mutable or immutable named tuple-like classes with support…
  • recordclassRecordclass provides memory-efficient, mutable alternatives to…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also namedlist · recordclass · historydict · constantdict · tinsel · aenum · typedload · ordered-set · fields · pygtrie