Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
79 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,16 @@ | ||
language: python | ||
|
||
python: | ||
- "2.7.13" | ||
- "3.6" | ||
|
||
install: | ||
- pip install tox-travis | ||
- pip install setuptools==34.3.1 | ||
|
||
script: tox | ||
|
||
notifications: | ||
email: | ||
on_success: never | ||
on_failure: always |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
pdir2 | ||
===== | ||
|
||
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: | ||
|
||
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| | ||
|
||
.. |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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[wheel] | ||
universal = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters