GT-Master / pdir2

Pretty dir() printing with joy:beer:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pdir2: Pretty dir() printing with joy🍺

Have you ever dreamed of a better output of dir()? I do. So I created this.

Features

  • Attributes are grouped by types/functionalities, with beautiful colors.

  • Support all platforms including Windows(Thanks to colorama).

  • The return value of pdir() can still be used as a list of names.

  • You can search for certain names with .s() or .search():

Install

pip install pdir2

About the name. I wanted to call it pdir, but there's already one with this name on pypi. Mine is better, of course.

Testing

Simply run pytest, or use tox if you like.

Roadmap

  • config color
  • colorful docstring

Build Status Supported Python versions

About

Pretty dir() printing with joy:beer:

License:MIT License


Languages

Language:Python 98.6%Language:Makefile 1.4%