asciitree


Nameasciitree JSON
Version 0.3.3 PyPI version JSON
download
home_pagehttp://github.com/mbr/asciitree
SummaryDraws ASCII trees.
upload_time2016-09-05 19:10:42
maintainerNone
docs_urlhttps://pythonhosted.org/asciitree/
authorMarc Brinkmann
requires_pythonNone
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            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
            

Raw data

            {
    "_id": null,
    "home_page": "http://github.com/mbr/asciitree",
    "name": "asciitree",
    "maintainer": null,
    "docs_url": "https://pythonhosted.org/asciitree/",
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "Marc Brinkmann",
    "author_email": "git@marcbrinkmann.de",
    "download_url": "https://files.pythonhosted.org/packages/2d/6a/885bc91484e1aa8f618f6f0228d76d0e67000b0fdd6090673b777e311913/asciitree-0.3.3.tar.gz",
    "platform": "UNKNOWN",
    "description": "ASCII Trees\n===========\n\n.. code:: console\n\n  asciitree\n   +-- sometimes\n   |   +-- you\n   +-- just\n   |   +-- want\n   |       +-- to\n   |       +-- draw\n   +-- trees\n   +-- in\n       +-- your\n           +-- terminal\n\n\n.. code:: python\n\n  from asciitree import LeftAligned\n  from collections import OrderedDict as OD\n\n  tree = {\n      'asciitree': OD([\n          ('sometimes',\n              {'you': {}}),\n          ('just',\n              {'want': OD([\n                  ('to', {}),\n                  ('draw', {}),\n              ])}),\n          ('trees', {}),\n          ('in', {\n              'your': {\n                  'terminal': {}\n              }\n          })\n      ])\n  }\n\n  tr = LeftAligned()\n  print(tr(tree))\n\n\nRead the documentation at http://pythonhosted.org/asciitree",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Draws ASCII trees.",
    "version": "0.3.3",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "2570b31e563b69da1aff54509db8ac6a",
                "sha256": "4aa4b9b649f85e3fcb343363d97564aa1fb62e249677f2e18a96765145cc0f6e"
            },
            "downloads": -1,
            "filename": "asciitree-0.3.3.tar.gz",
            "has_sig": true,
            "md5_digest": "2570b31e563b69da1aff54509db8ac6a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3951,
            "upload_time": "2016-09-05T19:10:42",
            "upload_time_iso_8601": "2016-09-05T19:10:42.681945Z",
            "url": "https://files.pythonhosted.org/packages/2d/6a/885bc91484e1aa8f618f6f0228d76d0e67000b0fdd6090673b777e311913/asciitree-0.3.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2016-09-05 19:10:42",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "mbr",
    "github_project": "asciitree",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "asciitree"
}
        
Elapsed time: 0.03081s