$npx skillfedfor your agent

addict

Addict is a dictionary whose items can be set using both attribute and item syntax.

Worth itPyPI Python ModulesReleased Nov 20209.6M downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — addict-2.4.0-py3-none-any.whl
v2.4.0 · released 2020-11-21

Yes. addict is stable, actively maintained, has zero known vulnerabilities, no dependencies, and installs trivially. It solves a real readability problem for nested dict work. Install it if you regularly build or navigate deeply nested dictionaries and want cleaner syntax; skip it if you prefer explicit bracket access or rarely work with nested structures.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction: pure Python wheel with no runtime dependencies.
  • Actively maintained as of March 2026 with 2546 repository stars.

License · maintenance · safety

permissive license (permissive) — MIT license (permissive) means you can use, modify, and distribute this package with minimal restrictions in both open-source and commercial projects.

last release 2020-11-21 (2092 days) · last repo commit 2026-03-24 · 2,546 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 9,569,743 downloads/mo, #1,524 on PyPI

Verify before relying

from addict import Dict

mapping = Dict()
mapping.a.b.c.d.e = 2
print(mapping)  # {'a': {'b': {'c': {'d': {'e': 2}}}}}
  • Whether Python 2.7 support is still actively tested or merely declared in classifiers
  • Performance characteristics when working with very large nested structures
Same gist for agents: .md · .json

What it is and what it does

addict is a dictionary subclass that lets you read and write nested values using attribute syntax instead of repeated bracket notation. Rather than `body['query']['filtered']['query']['match']['description'] = 'value'`, you write `body.query.filtered.query.match.description = 'value'`. Missing keys automatically create intermediate Dict objects (like defaultdict), so you can build deeply nested structures in a single assignment chain without pre-creating parent levels.

The package inherits from dict, so it serializes to JSON and behaves like a regular dictionary in most contexts. It also provides a `to_dict()` method to convert back to a plain dict when needed. Non-string keys must still use bracket syntax, and native dict methods (keys, items, etc.) cannot be overridden as attributes, only as items.

Use it for

  • Building Elasticsearch or other nested query structures without verbose bracket notation
  • Counting by multiple levels (e.g., counting records grouped by year, gender, and eye color)
  • Rapidly prototyping config objects or data structures that start simple but grow nested
  • Converting flat JSON responses into navigable nested objects for cleaner code
  • Creating temporary data structures within a function before converting to plain dict for external APIs

Worth the install?

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

Worth it

Yes.

addict is stable, actively maintained, has zero known vulnerabilities, no dependencies, and installs trivially. It solves a real readability problem for nested dict work. Install it if you regularly build or navigate deeply nested dictionaries and want cleaner syntax; skip it if you prefer explicit bracket access or rarely work with nested structures.

Install

addict on PyPI

Before you install

Low friction: pure Python wheel with no runtime dependencies. Actively maintained as of March 2026 with 2546 repository stars.

License in practice

MIT license (permissive) means you can use, modify, and distribute this package with minimal restrictions in both open-source and commercial projects.

Quickstart

from addict import Dict

mapping = Dict()
mapping.a.b.c.d.e = 2
print(mapping)  # {'a': {'b': {'c': {'d': {'e': 2}}}}}

Verify before relying

  • Whether Python 2.7 support is still actively tested or merely declared in classifiers
  • Performance characteristics when working with very large nested structures

Package facts

Licensepermissive license permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 2,092 days since the last release
Last repo commit
First released
Downloads9,569,743 / month, #1,524 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules

Evidence: addict-2.4.0-py3-none-any.whl

Tags

Capabilities
attribute access dictionarynested dict with dot notationdict attribute syntaxdefaultdict with attributeseasy nested dictionary creation
Topics
data-structuresdict-wrapper

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 › “dict attribute syntax”

  • addictProvides a dictionary subclass that allows nested attribute-style…
  • python-boxBox wraps Python dictionaries to enable dot-notation attribute access…
  • munchMunch provides a dictionary subclass that allows attribute-style…

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 easydict · mo-dots · od · flatdict · jsonasobj2 · constantdict · attrdict · munch · hydraters