{ "info": { "author": "Pedro Rodriguez", "author_email": "ski.rodriguez@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# pygraph\npygraph is an extremely simple CLI tool for using graphviz. It takes a file to write to and\nadjacency list to construct the graph from. The intended use case is for generating\nsmall graphs to embed in things like homework problems. The API is documented via the `--help`\noption\n\n## Examples\n```bash\npygraph -d tree ab ac bd be\n\npygraph -u -e neato circle ab bc cd de ea\n\npygraph -d -n \"Sample Tree\" labeled-tree root-left:1 root-right:1 left-child:4 right-child:3 root-root:0\n```\n\n![tree](examples/tree.png)\n![circle](examples/circle.png)\n![labeled-tree](examples/labeled-tree.png)\n\n## Usage\n```bash\n$ pygraph --help\nUsage: pygraph [OPTIONS] FILE EDGES...\n\nOptions:\n -e, --engine [dot|neato|twopi|circo|fdp|sfdp|patchword|osage]\n Choose layout engine to use\n -u, --undirected / -d, --directed\n Specify undirected or directed edges\n --format TEXT Image format\n -n, --name TEXT Name of graph in image\n --dot Preserve the source dot file\n --no-vertex-labels Don't label vertex labels\n --help Show this message and exit.\n```\n\n### Installation\n```bash\npip install pygraph-cli\n```\n\n### Syntax\n* First argument is file to save to without extension\n* Pairs of single characters after are interpreted as creating an edge between the them (eg: `ab ac cd`)\n* Nodes can have any name when separated by `-` (eg: `root-child`)\n* To label the edge, append `:` and any text (eg: `root-child:label`)\n* Name the image by passing `-n` option\n* To keep the original dot source, pass `--dot`\n", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/EntilZha/pygraph", "keywords": "graph visualization graphviz python cli", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "pygraph-cli", "package_url": "https://pypi.org/project/pygraph-cli/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pygraph-cli/", "project_urls": { "Homepage": "https://github.com/EntilZha/pygraph" }, "release_url": "https://pypi.org/project/pygraph-cli/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "CLI for pygraphviz powered by graphviz", "version": "0.1.0" }, "last_serial": 2330050, "releases": { "0.0.0": [ { "comment_text": "", "digests": { "md5": "2a58f589fb040638edbd2fc5502584e4", "sha256": "825b9e871035c1d41c278e6eb9f2ed72a562c8bcf87284e0f66a31705828f8d9" }, "downloads": -1, "filename": "pygraph_cli-0.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2a58f589fb040638edbd2fc5502584e4", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3608, "upload_time": "2016-02-17T02:15:17", "url": "https://files.pythonhosted.org/packages/99/76/ae56922f2bae88df5216a2a1803c9c1eb268f9bb809b47f733008311c866/pygraph_cli-0.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1d90de015da43c6fb2e56b06cde84432", "sha256": "2d99a9b02ba74fd2b7d041f572e9a29765a88a46c9ee2ab393f56d2414bb3119" }, "downloads": -1, "filename": "pygraph-cli-0.0.0.tar.gz", "has_sig": false, "md5_digest": "1d90de015da43c6fb2e56b06cde84432", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3397, "upload_time": "2016-02-17T02:15:08", "url": "https://files.pythonhosted.org/packages/b4/fa/1e93d11161558c9b9f52d719def53bc42cd9ccb2c6bc3ee165cac39dd49b/pygraph-cli-0.0.0.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "73ecc28c5383ef3222e9599e14067d0f", "sha256": "0b5be49988cacfd237af594bb2fa6e451e862feefe756dcdcff22a9ff48c6a87" }, "downloads": -1, "filename": "pygraph_cli-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "73ecc28c5383ef3222e9599e14067d0f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3767, "upload_time": "2016-09-07T19:20:32", "url": "https://files.pythonhosted.org/packages/58/2d/dda3452b22092ee020318868a73cd9b38313b9f2f6769e5186097fc6619b/pygraph_cli-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6d135ddb9fc398b08a630e66669b789c", "sha256": "8cf60bd78831494a38eb5b493978a1620ef819abd7bdb748008f14ddd8697957" }, "downloads": -1, "filename": "pygraph-cli-0.1.0.tar.gz", "has_sig": false, "md5_digest": "6d135ddb9fc398b08a630e66669b789c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3695, "upload_time": "2016-09-07T19:20:29", "url": "https://files.pythonhosted.org/packages/a1/6c/bd6293b7edf8b51229c87c2972bda7a2027921ab4216bf309a3efd3743d4/pygraph-cli-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "73ecc28c5383ef3222e9599e14067d0f", "sha256": "0b5be49988cacfd237af594bb2fa6e451e862feefe756dcdcff22a9ff48c6a87" }, "downloads": -1, "filename": "pygraph_cli-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "73ecc28c5383ef3222e9599e14067d0f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3767, "upload_time": "2016-09-07T19:20:32", "url": "https://files.pythonhosted.org/packages/58/2d/dda3452b22092ee020318868a73cd9b38313b9f2f6769e5186097fc6619b/pygraph_cli-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6d135ddb9fc398b08a630e66669b789c", "sha256": "8cf60bd78831494a38eb5b493978a1620ef819abd7bdb748008f14ddd8697957" }, "downloads": -1, "filename": "pygraph-cli-0.1.0.tar.gz", "has_sig": false, "md5_digest": "6d135ddb9fc398b08a630e66669b789c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3695, "upload_time": "2016-09-07T19:20:29", "url": "https://files.pythonhosted.org/packages/a1/6c/bd6293b7edf8b51229c87c2972bda7a2027921ab4216bf309a3efd3743d4/pygraph-cli-0.1.0.tar.gz" } ] }