Visualize POP hub/sub structures
Project description
POP hub and sub visualization tool
INSTALLATION
Bare installation with no dependencies
pip install pop-tree
Installation for pretty yaml output
pip install pop-tree\[rend\]
Installation for incredible graphs
pip install pop-tree\[networkx\]
Install everything
pip install pop-tree\[full\]
INSTALLATION FOR DEVELOPMENT
Clone the pop-tree repo and install with pip
git clone https://gitlab.com/Akm0d/pop-tree.git
pip install -e pop-tree\[full\]
EXECUTION
After installation the pop-tree command should now be available.
Running pop-tree by itself will only show things that the pop-tree project added to the hub. Naming a dynamic namespace will add it’s dyne_name to the hub and show only that namespace
pop-tree exec
RECURSE
Adding the –recurse flag will recursively load all subs underneath the named dynamic namespace (in the first positional arugment)
pop-tree exec --recurse
ADD_SUB
Every positional argument after –add-sub will be added as a dyne_name to the hub
Example
pop-tree --add-sub idem grains
OUTPUT
If you installed pop-tree with the [rend] extras, then –output can be used to specify an outputter from the rend project To see which outputters are available, just run
pop-tree output
Which will dynamically load the output dynamic namespace from the rend project and print the subs loaded immediately beneath it.
pop-tree --output nested
GRAPH
There are many different graphing plugins, some print to the terminal, and some open a shiny graph in a new window. To list the available graphing plugins, run
pop-tree graph
A graph plugin can be specified with the –graph option.
pop-tree --graph networkx
Which should print off a beautiful matplotlib plot to visualize your pop ecosystem. Use these arguments together to create impressive visuals for your project.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pop-tree-5.1.tar.gz
.
File metadata
- Download URL: pop-tree-5.1.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.6.1 requests/2.24.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33ba0d7678fb306e8665ad2f11377935703af59bc4d6d74d09eb74cc3ec9f98c |
|
MD5 | 346da588d3b18ca0a6f21d32c8a24da6 |
|
BLAKE2b-256 | c10caefbd1f58cec55456b83dba7e7fb119f3611ca2c1d266ee0a7dcef85ea9a |
Provenance
File details
Details for the file pop_tree-5.1-py3-none-any.whl
.
File metadata
- Download URL: pop_tree-5.1-py3-none-any.whl
- Upload date:
- Size: 10.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.6.1 requests/2.24.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cd2ff681e337808f73fd89609cc44be2cab854fbae6d8518c3839895d52d269 |
|
MD5 | 882efb2505f527e6de9d6c61c463ea5f |
|
BLAKE2b-256 | 6d4cb2a9a288d2127ba1d1e2ec713c3caf62700c8536791602347c235b9d1c63 |