Pretty dir printing with joy
Project description
pdir2: Pretty dir() printing with joy🍺
======================================
|Build Status| |Supported Python versions|
Have you ever dreamed of a better output of ``dir()``? I do. So I
created this.
.. figure:: https://github.com/laike9m/pdir2/raw/master/images/presentation.gif
:alt:
Features
--------
- Attributes are grouped by types/functionalities, with beautiful
colors.
- Support all platforms including Windows(Thanks to
`colorama <https://github.com/tartley/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()``:
.. figure:: https://github.com/laike9m/pdir2/raw/master/images/search.gif
:alt:
Search is case-insensitive by default. You can use
``.search(name, case_sensitive=True)`` to do case sensitive searching.
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| image:: https://travis-ci.org/laike9m/pdir2.svg
:target: https://travis-ci.org/laike9m/pdir2
.. |Supported Python versions| image:: https://img.shields.io/pypi/pyversions/pdir2.svg
:target: https://pypi.python.org/pypi/pdir2/
Release History
===============
0.0.2(2017-03-11)
---------
API Changes (Backward-Compatible)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [#5](https://github.com/laike9m/pdir2/pull/5): Added a ``case_sensitive`` parameter into the `search` function.
Bugfixes
~~~~~~~~
- [#1](https://github.com/laike9m/pdir2/issues/1): Error calling pdir(pandas.DataFrame)
- [#6](https://github.com/laike9m/pdir2/pull/6): Methods are now considered
functions.
======================================
|Build Status| |Supported Python versions|
Have you ever dreamed of a better output of ``dir()``? I do. So I
created this.
.. figure:: https://github.com/laike9m/pdir2/raw/master/images/presentation.gif
:alt:
Features
--------
- Attributes are grouped by types/functionalities, with beautiful
colors.
- Support all platforms including Windows(Thanks to
`colorama <https://github.com/tartley/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()``:
.. figure:: https://github.com/laike9m/pdir2/raw/master/images/search.gif
:alt:
Search is case-insensitive by default. You can use
``.search(name, case_sensitive=True)`` to do case sensitive searching.
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| image:: https://travis-ci.org/laike9m/pdir2.svg
:target: https://travis-ci.org/laike9m/pdir2
.. |Supported Python versions| image:: https://img.shields.io/pypi/pyversions/pdir2.svg
:target: https://pypi.python.org/pypi/pdir2/
Release History
===============
0.0.2(2017-03-11)
---------
API Changes (Backward-Compatible)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [#5](https://github.com/laike9m/pdir2/pull/5): Added a ``case_sensitive`` parameter into the `search` function.
Bugfixes
~~~~~~~~
- [#1](https://github.com/laike9m/pdir2/issues/1): Error calling pdir(pandas.DataFrame)
- [#6](https://github.com/laike9m/pdir2/pull/6): Methods are now considered
functions.
Project details
Release history Release notifications | RSS feed
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.2.tar.gz
(6.2 kB
view hashes)
Built Distribution
Close
Hashes for pdir2-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a54e3805bbe81286c9e0405247f99b318c410fe11edf04a6aa40d7715d4aa963 |
|
MD5 | 84c051b480402869dccd110b70165333 |
|
BLAKE2b-256 | af549cda72e668b54576db319339717dae5e52741534a2193d715a609844baae |