Skip to main content

Pretty dir printing with joy

Project description

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

(NOTE: It’s not on pypi yet so now you have to install using setup.py. I’ll upload it asap.)

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pdir2-0.0.1.post1.tar.gz (5.0 kB view hashes)

Uploaded Source

Built Distribution

pdir2-0.0.1.post1-py2-none-any.whl (7.4 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page