$npx skillfedfor your agent

attrdict

A dict with attribute-style access

With conditionsPyPI UtilitiesReleased Feb 20191.8M downloads / moMIT LicensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — attrdict-2.0.1-py2.py3-none-any.whl
v2.0.1 · released 2019-02-01 · 1 runtime deps: six

Yes, if you are working in a codebase already using it or need lightweight attribute-style dict access in a stable, unchanging environment. No, if you require active maintenance, Python version compatibility assurance, or expect to rely on bug fixes—the package is archived and unmaintained since 2019. For new projects, consider whether a modern alternative better fits your maintenance and compatibility expectations.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Installation is straightforward with no compiled dependencies.
  • However, the package is archived and has not been maintained since 2019—over six years without updates.
  • While it depends only on six, the lack of maintenance means no fixes for Python version changes or edge cases discovered after the last release.

License · maintenance · safety

MIT License (permissive) — Released under the MIT License, which is permissive and imposes no restrictions on use, modification, or distribution in proprietary or open-source projects.

last release 2019-02-01 (2751 days) · last repo commit 2019-02-01 · 272 stars · archived

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,781,236 downloads/mo, #3,568 on PyPI

Verify before relying

pip install attrdict

from attrdict import AttrDict
a = AttrDict({'foo': 'bar'})
print(a.foo)  # 'bar'
print(a['foo'])  # 'bar'
  • Whether the package remains compatible with Python versions released after 2019 without active testing or maintenance.
  • Whether recursive assignment limitations documented for AttrDict (shallow-copy caveat) affect real-world usage patterns significantly.
Same gist for agents: .md · .json

What it is and what it does

AttrDict wraps Python dictionaries to allow accessing values as object attributes instead of only as keys. For example, a dict {'foo': 'bar'} can be accessed as obj.foo instead of obj['foo']. The package provides three classes—AttrMap, AttrDict, and AttrDefault—each with slightly different behavior; AttrDict subclasses dict itself, AttrMap is a lighter MutableMapping, and AttrDefault behaves like defaultdict with automatic key creation. By default, nested dicts and sequences are recursively converted to Attr objects, so you can chain attribute access: obj.settings.db.host works naturally.

The main use case is building hierarchical configuration or settings objects from YAML, JSON, or nested dicts, where dot notation is more readable than repeated bracket access. The package is small, has low install friction, and depends only on six. However, it has been archived since 2019 with no active maintenance, so compatibility with modern Python versions and edge cases discovered after that date are not guaranteed.

Use it for

  • Loading and accessing YAML configuration files as nested attribute objects instead of deeply nested dict lookups.
  • Building hierarchical settings objects where database credentials, API keys, and other config live in nested dicts accessed via dot notation.
  • Converting API responses (JSON dicts) into objects with attribute access for cleaner, more readable client code.
  • Merging multiple configuration dicts using the + operator with automatic recursive merging of nested structures.
  • Creating on-the-fly attribute objects from unstructured data where missing keys should auto-create with a default factory (AttrDefault).

Worth the install?

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

With conditions

Yes, if you are working in a codebase already using it or need lightweight attribute-style dict access in a stable, unchanging environment.

No, if you require active maintenance, Python version compatibility assurance, or expect to rely on bug fixes—the package is archived and unmaintained since 2019. For new projects, consider whether a modern alternative better fits your maintenance and compatibility expectations.

Install

attrdict on PyPI

Before you install

Installation is straightforward with no compiled dependencies. However, the package is archived and has not been maintained since 2019—over six years without updates. While it depends only on six, the lack of maintenance means no fixes for Python version changes or edge cases discovered after the last release.

License in practice

Released under the MIT License, which is permissive and imposes no restrictions on use, modification, or distribution in proprietary or open-source projects.

Quickstart

pip install attrdict

from attrdict import AttrDict
a = AttrDict({'foo': 'bar'})
print(a.foo)  # 'bar'
print(a['foo'])  # 'bar'

Verify before relying

  • Whether the package remains compatible with Python versions released after 2019 without active testing or maintenance.
  • Whether recursive assignment limitations documented for AttrDict (shallow-copy caveat) affect real-world usage patterns significantly.

Package facts

LicenseMIT License permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
six
MaintenanceAbandoned 2,751 days since the last release
Last repo commit repository archived
First released
Downloads1,781,236 / month, #3,568 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 7 - InactiveIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy

Evidence: attrdict-2.0.1-py2.py3-none-any.whl

Tags

Capabilities
attribute access dictionarydict with dot notationnested dict attribute accesshierarchical config objectsmutable mapping with attributessettings object from dictrecursive dict wrapper
Topics
config-managementdict-wrapperlegacy-unmaintained

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 mapping with attributes”

  • attrdictProvides dictionary-like objects that allow accessing and modifying…
  • zictProvides mutable mapping tools and data structures for working with…
  • pygtriepygtrie provides pure Python implementations of trie (prefix tree)…

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

More Utilities 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
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / 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
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also config · flatdict · dicttoxml · super-collections · zict · python-box · attr · od · jsonasobj2 · querystring-parser