
Security News
Node.js TSC Declines to Endorse Feature Bounty Program
The Node.js TSC opted not to endorse a feature bounty program, citing concerns about incentives, governance, and project neutrality.
.. image:: https://img.shields.io/badge/made%20with-pop-teal :alt: Made with pop, a Python implementation of Plugin Oriented Programming :target: https://pop.readthedocs.io/
.. image:: https://img.shields.io/badge/docs%20on-vmware.gitlab.io-blue :alt: Documentation is published with Sphinx on GitLab Pages via vmware.gitlab.io :target: https://vmware.gitlab.io/pop/pop-tree/en/latest/index.html
.. image:: https://img.shields.io/badge/made%20with-python-yellow :alt: Made with Python :target: https://www.python.org/
POP structure visualization tool
Visualize POP hub/sub structures with pop-tree
, and view embedded rst content
with pop-doc
.
pop-tree source code <https://gitlab.com/vmware/pop/pop-tree>
__pop-tree documentation <https://vmware.gitlab.io/pop/pop-tree/en/latest/index.html>
__This project is built with pop <https://pop.readthedocs.io/>
__, a Python-based
implementation of Plugin Oriented Programming (POP). POP seeks to bring
together concepts and wisdom from the history of computing in new ways to solve
modern computing problems.
For more information:
Intro to Plugin Oriented Programming (POP) <https://pop-book.readthedocs.io/en/latest/>
__pop-awesome <https://gitlab.com/vmware/pop/pop-awesome>
__pop-create <https://gitlab.com/vmware/pop/pop-create/>
__.. note::
If wanting to contribute to the project, and setup your local development
environment, see the CONTRIBUTING.rst
document in the source repository
for this project.
If wanting to use pop-tree
, you can do so by either
installing from PyPI or from source.
Install from PyPI +++++++++++++++++
Bare installation with no dependencies
.. code-block:: bash
pip install pop-tree
Installation for pretty yaml output
.. code-block:: bash
pip install pop-tree\[rend\]
Installation for incredible graphs
.. code-block:: bash
pip install pop-tree\[networkx\]
Install everything
.. code-block:: bash
pip install pop-tree\[full\]
Install from source +++++++++++++++++++
.. code-block:: bash
git clone git@/pop-tree.git cd pop-tree
python3 -m venv .venv source .venv/bin/activate pip install -e .[full]
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.
.. code-block:: bash
pop-doc tree.init.refs
output:
.. code-block:: yaml
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:
After installation the pop-tree
command should also be available.
Pop tree will add all dynamic namespaces in your current python environment to the hub.
.. code-block:: bash
pop-tree exec
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
.. code-block:: bash
pop-tree output
Which will dynamically load the output
dynamic namespace from the rend
project and print the subs loaded immediately beneath it.
.. code-block:: bash
pop-tree --output nested
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
.. code-block:: bash
pop-tree graph
A graph plugin can be specified with the --graph
option.
.. code-block:: bash
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.
.. image:: hub.png
Reference the open issues <https://gitlab.com/vmware/pop/pop-tree/issues>
__ for a list of
proposed features (and known issues).
Img Shields <https://shields.io>
__ for making repository badges easy.FAQs
Visualize POP hub/sub structures
We found that pop-tree demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Node.js TSC opted not to endorse a feature bounty program, citing concerns about incentives, governance, and project neutrality.
Research
Security News
A look at the top trends in how threat actors are weaponizing open source packages to deliver malware and persist across the software supply chain.
Security News
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.