# laike9m/pdir2

Pretty dir() printing with joy🍻

Repository: https://github.com/laike9m/pdir2
Canonical: https://ross.abutalabs.com/products/pdir2
Language: Python
License: MIT
License Family: permissive
Last push: 2026-01-07T07:02:00+00:00

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

## Adoption (not part of the score)
Stars 1322, forks 48 (observed 2026-08-28T04:04:22.108826+00:00)

## What it is
pdir2 is a Python library that provides a prettier, colorized, and grouped alternative to the built-in dir() function for inspecting objects. It supports attribute searching and chainable filtering (public, own, methods, properties) and works in REPLs like IPython, ptpython, bpython, and Jupyter.

## Use cases
- pretty print object attributes in python repl
- search attributes of an object by name
- filter an object's own public methods
- replace dir() with a nicer output
- inspect object attributes in jupyter notebook

## When to choose
- you frequently explore unfamiliar objects interactively in a Python REPL
- you want grouped, colorized, searchable attribute listings instead of raw dir() output
- you need chainable filters like public own methods

## When to avoid
- you need programmatic introspection in production code rather than interactive exploration
- you are not working in Python

## Facets
- artifact type: library
- maturity: active
- function: developer-tools, cli
- domain: developer-tools
- platform: python, cross-platform
- tags: dir, introspection, repl, pretty-printing, ipython, command-line

## Member repositories
- laike9m/pdir2 (main) score 60

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:22.108826+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-30T04:47:14.443897+00:00, confidence not recorded.
  - readme: https://github.com/laike9m/pdir2 (fetched 2026-08-28T04:04:22.108826+00:00, sha 96fe5e8abc60)
  - registry_pypi: https://pypi.org/pypi/pdir2/json (fetched 2026-08-29T12:06:02.366047+00:00, sha 6e3578085117)
- Data as of 2026-08-30T08:39:29.467469+00:00.
