Package for creating simple reliability block diagrams (RBDs) using LaTeX and TikZ.
Project description
pyRBD
A Python package for creating simple reliability block diagrams (RBDs) using LaTeX and TikZ.
Dependencies
pyRBD requires a working installation of LaTeX including TikZ and latexmk.
Simple example diagram
The blocks of the RBD are defined using Block, Series and Group, and the diagram itself is handled by the Diagram class. A simple example is given by the code
from pyrbd import Block, Diagram
start_block = Block("Start", "blue!30", parent=None)
parallel = 2 * Block("Parallel blocks", "gray", parent=start_block)
end_block = Block("End", "green!50", parent=parallel)
diagram = Diagram(
"simple_RBD",
blocks=[start_block, parallel, end_block],
)
diagram.write()
diagram.compile()
producing the following diagram
For more examples, visit the documentation.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyrbd-0.4.0.tar.gz.
File metadata
- Download URL: pyrbd-0.4.0.tar.gz
- Upload date:
- Size: 159.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a4dce171327284eebbe8854649aed99e7e9f92a71cc0dcfd6831dea908b27db
|
|
| MD5 |
2f58d6d3f8dd62e1c3a475c170c6b0c2
|
|
| BLAKE2b-256 |
054412971bff9419dc014ce1306a4ff36373475fff601fb4f3b2ac4a64c6e28c
|
Provenance
The following attestation bundles were made for pyrbd-0.4.0.tar.gz:
Publisher:
pypi_publish.yml on hghugdal/pyrbd
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyrbd-0.4.0.tar.gz -
Subject digest:
8a4dce171327284eebbe8854649aed99e7e9f92a71cc0dcfd6831dea908b27db - Sigstore transparency entry: 538317840
- Sigstore integration time:
-
Permalink:
hghugdal/pyrbd@b521c07a0f90862ef586a40f53a130fff5f2f8d3 -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/hghugdal
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi_publish.yml@b521c07a0f90862ef586a40f53a130fff5f2f8d3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pyrbd-0.4.0-py3-none-any.whl.
File metadata
- Download URL: pyrbd-0.4.0-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ecdf8781380578f67b40f8f532956a878c3146ad3c8f64dfd2edc8df97e0db0
|
|
| MD5 |
5fb048179a465480bc8dee7190134de2
|
|
| BLAKE2b-256 |
713b40c491c96c0947d0ef6c0804f2803bc8d2e83ed38820784a300c91f7748c
|
Provenance
The following attestation bundles were made for pyrbd-0.4.0-py3-none-any.whl:
Publisher:
pypi_publish.yml on hghugdal/pyrbd
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyrbd-0.4.0-py3-none-any.whl -
Subject digest:
9ecdf8781380578f67b40f8f532956a878c3146ad3c8f64dfd2edc8df97e0db0 - Sigstore transparency entry: 538317854
- Sigstore integration time:
-
Permalink:
hghugdal/pyrbd@b521c07a0f90862ef586a40f53a130fff5f2f8d3 -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/hghugdal
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi_publish.yml@b521c07a0f90862ef586a40f53a130fff5f2f8d3 -
Trigger Event:
push
-
Statement type: