# mewwts/addict

The Python Dict that's better than heroin.

Repository: https://github.com/mewwts/addict
Canonical: https://ross.abutalabs.com/products/addict
Language: Python
License: MIT
License Family: permissive
Topics: addict, python-dict, dictionaries, dict, python, recurse
Last push: 2026-03-24T07:10:55+00:00

## Health v2 (maintenance only)
Score: 56/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 73, release rhythm 8, longevity 100
- inputs: {"age_days": 4284, "days_push": 162, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2546, forks 132 (observed 2026-08-28T04:07:00.265316+00:00)

## What it is
addict is a Python library providing a Dict class that subclasses dict and allows values to be accessed and set via attribute syntax as well as standard item syntax. It automatically converts nested dicts and iterables into Dicts, making deeply nested dictionary construction concise.

## Use cases
- build nested dicts with dot notation in python
- access dictionary values as attributes
- convert nested dicts into attribute-accessible objects
- write cleaner config-like dictionary structures
- construct elasticsearch query bodies more readably

## When to choose
- you frequently build or traverse deeply nested dictionaries
- you want attribute-style access while keeping plain dict compatibility
- you need a lightweight, MIT-licensed drop-in dict replacement

## When to avoid
- your dict keys are non-strings or collide with dict method names like keys or items
- you need strict type safety or schema validation
- you must preserve reference identity when cloning nested structures

## Facets
- artifact type: library
- maturity: stable
- function: serialization, developer-tools
- domain: developer-tools, data-science, programming-languages
- platform: python, cross-platform
- tags: attribute-dict, nested-dictionary, dot-notation, dict-subclass

## Member repositories
- mewwts/addict (main) score 56

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:00.265316+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:24:36.030801+00:00, confidence not recorded.
  - readme: https://github.com/mewwts/addict (fetched 2026-08-28T04:07:00.265316+00:00, sha aa4b917c132b)
  - registry_pypi: https://pypi.org/pypi/addict/json (fetched 2026-08-29T10:06:51.716855+00:00, sha fdf14be631f8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
