Skip to main content

Visualize POP hub/sub structures

Project description

Made with pop, a Python implementation of Plugin Oriented Programming Made with Python

POP structure visualization tool

About

asdf

What is POP?

This project is built with pop, 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:

Getting Started

Prerequisites

  • Python 3.6+

  • git (if installing from source, or contributing to the project)

Installation

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

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\]

Install from source

# clone repo
git clone git@<your-project-path>/pop-tree.git
cd pop-tree

# Setup venv
python3 -m venv .venv
source .venv/bin/activate
pip install -e .\[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 also be available. Pop tree will add all dynamic namespaces in your current python environment to the hub.

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.

hub.png

Roadmap

Reference the open issues for a list of proposed features (and known issues).

Acknowledgements

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pop-tree-9.3.0.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pop_tree-9.3.0-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

Details for the file pop-tree-9.3.0.tar.gz.

File metadata

  • Download URL: pop-tree-9.3.0.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/35.0 requests/2.28.0 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.11.4 keyring/23.6.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.13

File hashes

Hashes for pop-tree-9.3.0.tar.gz
Algorithm Hash digest
SHA256 4a103783598b630b90a5ba7b1ef07f8b569bff82d8238c02f9ec372a90d1ab33
MD5 498d6c1889f477716a34b7e6c255f92a
BLAKE2b-256 15768f0f1b739b79c6f7283a406f339a68a290e37de5a4ac123cfd6f2b7b1d08

See more details on using hashes here.

File details

Details for the file pop_tree-9.3.0-py3-none-any.whl.

File metadata

  • Download URL: pop_tree-9.3.0-py3-none-any.whl
  • Upload date:
  • Size: 18.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/35.0 requests/2.28.0 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.11.4 keyring/23.6.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.13

File hashes

Hashes for pop_tree-9.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d65be47c4ad6d91317c9e5078d63a03695806f834f4b9fcaa5daef7be1967f73
MD5 c162b157efe8e45e4858080faa9c0e7d
BLAKE2b-256 d8e6ddbaa745121d81d8087e52a688de06b51ed4f8dfb9ce89861aabae2d11d8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page