The purpose of this library is to quickly and easily create UML graphs
that show inheritance structure of HasProperties class hierarchies.
For more information on HasProperties classes, see
properties.
To install
pip install properties_inheritance_graph
then in Python
from properties_inheritance_graph import make_graph
import omf # or any other library built on properties
graph, registry = make_graph(
registry=omf.PointSetElement._REGISTRY,
expand_props=True,
only_new_props=True,
abstract_regex='^.*Model$',
)
In the above example, the properties-based OMF library is used for demonstration.
To render these graphs to file or in a Jupyter notebook, you may use nxpd. Graphviz must also be installed.
import nxpd
nxpd.draw(graph, filename='inheritance_graph.png')
Metadata
Release files for properties-inheritance-graph 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| properties-inheritance-graph-1.0.0.tar.gz | 4.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| properties_inheritance_graph-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.8 kB
Release files / properties-inheritance-graph-1.0.0.tar.gz
| Download URL | properties-inheritance-graph-1.0.0.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
82ee9126c293c25476d484505876f056568d4345dce2521031042779293939d9
|
|
BLAKE2b-256 checksum How to use checksums |
f9d9a9d977a4117a51485df0203b7d22be7d446259d0fdb6ece8c31f4eefb2af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/38.2.4 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3
|
Release files / properties_inheritance_graph-1.0.0-py3-none-any.whl
| Download URL | properties_inheritance_graph-1.0.0-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
27c0f483a88b02ef8f5d794ce8ae4c6fabd65b3a493a03c0f84360a7c3088316
|
|
BLAKE2b-256 checksum How to use checksums |
1b6209198cf4888e1dd3f373d81624716dde5ed9292c27b58e0e827a9b840922
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/38.2.4 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3
|
Security for properties-inheritance-graph 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.