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\]
Pop-doc
Another cli tool that comes with pop-tree is pop-doc. You can use this to grab the documentation for specific references on the hub.
pop-doc tree.init.refs
output:
ref:
tree.init.refs
doc:
Return all the references available on the hub by reference first
contracts:
pre:
call:
post:
parameters:
hub:
tree:
annotation:
typing.Dict[str, typing.Any]
return_annotation:
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
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.