laike9m/pdir2
Pretty dir() printing with joy🍻 observed · 2026-08-28
Health v2 · maintenance only
60/100
- Activity 61
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3474
- days_rel: n/a
- days_push: 238
- n_releases_24m: 0
Adoption not part of the score
1322 stars · 48 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
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
library · maturity active
developer-tools cli developer-tools python cross-platform dir introspection repl pretty-printing ipython command-line
2 sources
- readme: https://github.com/laike9m/pdir2 · fetched 2026-08-28 · 96fe5e8abc60
- registry_pypi: https://pypi.org/pypi/pdir2/json · fetched 2026-08-29 · 6e3578085117
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| laike9m/pdir2 | main | 60 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem