Name | treeGenerator JSON |
Version |
0.1.1
JSON |
| download |
home_page | |
Summary | Generate a recursive tree diagram given a starting directory or a list of URIs. |
upload_time | 2023-01-18 22:57:09 |
maintainer | |
docs_url | None |
author | Matt Manes |
requires_python | >=3.10 |
license | |
keywords |
directory
tree
visualization
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# treeGenerator
Generate a recursive tree diagram given a starting directory or a list of URIs.<br>
Install with:
<pre>pip install treeGenerator</pre>
Contains two classes: TreeGenerator and UrlTreeGenerator.<br>
TreeGenerator takes a local file path and recursively generates a tree representation of all subdirectories.<br>
UrlTreeGenerator takes a list of urls and generates a tree representation of them.<br>
<br>
Usage:<br>
<pre>
from treeGenerator import TreeGenerator
from pathlib import Path
generator = TreeGenerator(Path.cwd())
print(generator)
</pre>
produces<br>
<pre>
treeGenerator
| |-dist
| | |-treegenerator-0.0.1-py3-none-any.whl
| | |_treegenerator-0.0.1.tar.gz
| |
| |-LICENSE.txt
| |-README.md
| |-pyproject.toml
| |-src
| | |-treeGenerator
| | | |-__init__.py
| | | |_treeGenerator.py
</pre>
The dictionary representing the tree can be accessed through the 'tree' member.<br>
<pre>
import json
print(json.dumps(generator.tree, indent=1))
</pre>
produces<br>
<pre>
{
"treeGenerator": {
"dist": {
"treegenerator-0.0.1-py3-none-any.whl": {},
"treegenerator-0.0.1.tar.gz": {}
},
"LICENSE.txt": {},
"README.md": {},
"pyproject.toml": {},
"src": {
"treeGenerator": {
"__init__.py": {},
"treeGenerator.py": {}
}
}
}
}
</pre>
Raw data
{
"_id": null,
"home_page": "",
"name": "treeGenerator",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": "",
"keywords": "directory,tree,visualization",
"author": "Matt Manes",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/37/db/796ce49ec3bf2ec445e499a7e3c90370e8516be44059160c8048015994ff/treegenerator-0.1.1.tar.gz",
"platform": null,
"description": "# treeGenerator\nGenerate a recursive tree diagram given a starting directory or a list of URIs.<br>\nInstall with:\n<pre>pip install treeGenerator</pre>\nContains two classes: TreeGenerator and UrlTreeGenerator.<br>\nTreeGenerator takes a local file path and recursively generates a tree representation of all subdirectories.<br>\nUrlTreeGenerator takes a list of urls and generates a tree representation of them.<br>\n<br>\nUsage:<br>\n<pre>\nfrom treeGenerator import TreeGenerator\nfrom pathlib import Path\ngenerator = TreeGenerator(Path.cwd())\nprint(generator)\n</pre>\nproduces<br>\n<pre>\ntreeGenerator\n| |-dist\n| | |-treegenerator-0.0.1-py3-none-any.whl\n| | |_treegenerator-0.0.1.tar.gz\n| |\n| |-LICENSE.txt\n| |-README.md\n| |-pyproject.toml\n| |-src\n| | |-treeGenerator\n| | | |-__init__.py\n| | | |_treeGenerator.py\n</pre>\nThe dictionary representing the tree can be accessed through the 'tree' member.<br>\n<pre>\nimport json\nprint(json.dumps(generator.tree, indent=1))\n</pre>\nproduces<br>\n<pre>\n{\n \"treeGenerator\": {\n \"dist\": {\n \"treegenerator-0.0.1-py3-none-any.whl\": {},\n \"treegenerator-0.0.1.tar.gz\": {}\n },\n \"LICENSE.txt\": {},\n \"README.md\": {},\n \"pyproject.toml\": {},\n \"src\": {\n \"treeGenerator\": {\n \"__init__.py\": {},\n \"treeGenerator.py\": {}\n }\n }\n }\n}\n</pre>\n",
"bugtrack_url": null,
"license": "",
"summary": "Generate a recursive tree diagram given a starting directory or a list of URIs.",
"version": "0.1.1",
"split_keywords": [
"directory",
"tree",
"visualization"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e080a34c187aec96dea4d9cf58ea3cf7fac343aa62af97e751c933aef48887b1",
"md5": "4a87a810a1463701169b461928221dcc",
"sha256": "dc6839b4ffbe1a6bc4e1794ad94178afe5176b7180ba8bca688365aa486ebd21"
},
"downloads": -1,
"filename": "treegenerator-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4a87a810a1463701169b461928221dcc",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 4007,
"upload_time": "2023-01-18T22:57:07",
"upload_time_iso_8601": "2023-01-18T22:57:07.650933Z",
"url": "https://files.pythonhosted.org/packages/e0/80/a34c187aec96dea4d9cf58ea3cf7fac343aa62af97e751c933aef48887b1/treegenerator-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "37db796ce49ec3bf2ec445e499a7e3c90370e8516be44059160c8048015994ff",
"md5": "066f85c216b8c7039423467c639619cd",
"sha256": "b75530112c7ac37927ca4ac137d795beb311c77bd89118304bbe403931898aff"
},
"downloads": -1,
"filename": "treegenerator-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "066f85c216b8c7039423467c639619cd",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 6560,
"upload_time": "2023-01-18T22:57:09",
"upload_time_iso_8601": "2023-01-18T22:57:09.107692Z",
"url": "https://files.pythonhosted.org/packages/37/db/796ce49ec3bf2ec445e499a7e3c90370e8516be44059160c8048015994ff/treegenerator-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-18 22:57:09",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "treegenerator"
}