# fabiocaccamo/python-benedict

:blue_book: dict subclass with keylist/keypath support, built-in I/O operations (base64, csv, html, ini, json, pickle, plist, query-string, toml, xls, xml, yaml), s3 support and many utilities.

Repository: https://github.com/fabiocaccamo/python-benedict
Canonical: https://ross.abutalabs.com/products/python-benedict
Language: Python
License: MIT
License Family: permissive
Topics: python, dict, dictionary, keypath, base64, csv, json, pickle, plist, query-string, toml, xml, yaml, encode, decode, filter, flatten, subset, traverse, xls
Last push: 2026-08-24T18:01:34+00:00

## Health v2 (maintenance only)
Score: 88/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 68, longevity 100
- inputs: {"age_days": 2665, "days_push": 9, "days_rel": 57, "gap_med": 91, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1610, forks 50 (observed 2026-08-28T04:05:10.873056+00:00)

## What it is
python-benedict is a Python dict subclass that adds keylist/keypath/keyattr access and normalized I/O for many formats (, yaml, toml, xml, csv, ini, plist, base64, xls, query-string, pickle, html). It also ships many dict utilities like flatten, merge, filter, traverse, and nest, while remaining 100% backward-compatible with plain dicts.

## Use cases
- read and write , yaml, toml, xml, csv files as dicts
- access nested dict values with dot keypaths
- flatten and unflatten nested dictionaries
- merge and deep-update dictionaries
- load a dict from a url or file in any supported format
- convert between config formats like ini, toml, and yaml
- clean, filter, and normalize messy nested data

## When to choose
- you work with deeply nested dicts and want safe keypath access
- you need to read/write many serialization formats with one consistent api
- you want dict utilities (flatten, merge, filter) without writing them yourself
- you need a drop-in dict subclass that is backward-compatible

## When to avoid
- you only need simple  parsing (use the stdlib)
- you need schema validation as the primary feature (use pydantic directly)
- you want immutable or typed data structures rather than a mutable dict

## Facets
- artifact type: library
- maturity: stable
- function: serialization, parser, developer-tools
- domain: developer-tools, files
- platform: python, cross-platform
- tags: dict-subclass, keypath, keylist, io, yaml, toml, xml, csv, plist, base64, xls, query-string, utilities, data-engineering

## Member repositories
- fabiocaccamo/python-benedict (main) score 88

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:10.873056+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-30T03:51:14.007849+00:00, confidence not recorded.
  - readme: https://github.com/fabiocaccamo/python-benedict (fetched 2026-08-28T04:05:10.873056+00:00, sha 6bbce4134251)
  - registry_pypi: https://pypi.org/pypi/python-benedict/json (fetched 2026-08-29T11:23:16.656729+00:00, sha e994e492d8f0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
