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.
Metadata
Release files for pyrbd 0.4.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyrbd-0.4.5.tar.gz | 9.2 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyrbd-0.4.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.2 MB
Release files / pyrbd-0.4.5.tar.gz
| Download URL | pyrbd-0.4.5.tar.gz |
|---|---|
| Size | 9.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fd1f80b458b6eed12cb6271e627df0767a97224ae611fb9c4ab2dbf9ef5c8c7c
|
|
BLAKE2b-256 checksum How to use checksums |
83a23bb3deb4ffc365e9fe8f82695ba10533da81e100e500fef0469734b0ba86
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 23, 2026.
Transparency logRelease files / pyrbd-0.4.5-py3-none-any.whl
| Download URL | pyrbd-0.4.5-py3-none-any.whl |
|---|---|
| Size | 11.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4a951922fb30f4e1e99995947ed7bd3c833dfe770fbacc13fe41db1979552d38
|
|
BLAKE2b-256 checksum How to use checksums |
0fe31fe6feee9a1a738ce020e428bc09c075b5073b012f2f99e8a207c06dd9db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 23, 2026.
Transparency log