asciitree-0.3.3
توضیحات
Draws ASCII trees.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | asciitree-0.3.3 |
| نام | asciitree |
| نسخه کتابخانه | 0.3.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Marc Brinkmann |
| ایمیل نویسنده | git@marcbrinkmann.de |
| آدرس صفحه اصلی | http://github.com/mbr/asciitree |
| آدرس اینترنتی | https://pypi.org/project/asciitree/ |
| مجوز | MIT |
ASCII Trees
===========
.. code:: console
asciitree
+-- sometimes
| +-- you
+-- just
| +-- want
| +-- to
| +-- draw
+-- trees
+-- in
+-- your
+-- terminal
.. code:: python
from asciitree import LeftAligned
from collections import OrderedDict as OD
tree = {
'asciitree': OD([
('sometimes',
{'you': {}}),
('just',
{'want': OD([
('to', {}),
('draw', {}),
])}),
('trees', {}),
('in', {
'your': {
'terminal': {}
}
})
])
}
tr = LeftAligned()
print(tr(tree))
Read the documentation at http://pythonhosted.org/asciitree
نحوه نصب
نصب پکیج whl asciitree-0.3.3:
pip install asciitree-0.3.3.whl
نصب پکیج tar.gz asciitree-0.3.3:
pip install asciitree-0.3.3.tar.gz