Skip to main content

Fast Reliability Block Diagram Evaluation Tool

Project description

PyRBD3

Fast and lightweight Reliability Block Diagram (RBD) evaluation library, powered by modern C++ and pybind11. Provides high-performance algorithms for minimal cut sets, path sets, and system availability computation.

Installation

Precompiled binary wheels are available for Linux:

pip install pyrbd3

That’s it — no compiler setup or manual build steps are required. If you prefer a clean environment:

conda create -n pyrbd3 python=3.10
conda activate pyrbd3
pip install pyrbd3

Quick Example

from pyrbd3 import read_graph, evaluate_availability

topo = "Germany_17"
G, _, _ = read_graph(f"topologies/{topo}", topo)

node_prob = {node: 0.9 for node in G.nodes()}

src, dst = 0, 1

availability = evaluate_availability(G, node_prob, src=src, dst=dst, algorithm="sdp")

print(f"Availability {availability}")

Topology Reference

Germany_17: SNDlib 1.0-survivable network design library

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

pyrbd3-0.1.2.post1.tar.gz (1.3 MB view details)

Uploaded Source

Built Distributions

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

pyrbd3-0.1.2.post1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (259.9 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

pyrbd3-0.1.2.post1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (260.2 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pyrbd3-0.1.2.post1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (258.8 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pyrbd3-0.1.2.post1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (259.0 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pyrbd3-0.1.2.post1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (258.6 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

File details

Details for the file pyrbd3-0.1.2.post1.tar.gz.

File metadata

  • Download URL: pyrbd3-0.1.2.post1.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.18

File hashes

Hashes for pyrbd3-0.1.2.post1.tar.gz
Algorithm Hash digest
SHA256 3c01ffb5e7829f1d265b5f8252ed03e8a4dc64dfd98b21911832daa9d64d8c8f
MD5 6d0c31398248d6ce5bef4d3c32769f35
BLAKE2b-256 70c7f3666ecf604e50106ff8540e99657a2342745b865748e2ff2d23bd870e0b

See more details on using hashes here.

File details

Details for the file pyrbd3-0.1.2.post1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyrbd3-0.1.2.post1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 47ba27d8378c3715c29518e652b7c210fbec0db122df5cd2380d832b164ff64d
MD5 f206ec88cd08d9cc7ad0ad32d44abc6c
BLAKE2b-256 22813be1e67d71691090b7381cf180aa9abff484639b3b563a34bd2006386ffd

See more details on using hashes here.

File details

Details for the file pyrbd3-0.1.2.post1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyrbd3-0.1.2.post1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4ca2bcd8c0dd9f3f9596a9d34a9b6b52b3d8076a6ff5db798ff12e9999a55a11
MD5 ad06a47f1c8320ca0234b39ab056bf3d
BLAKE2b-256 16374dc7bd49491d09cd5b849cc9589fc2a2698fde758d868fb511e2985e38eb

See more details on using hashes here.

File details

Details for the file pyrbd3-0.1.2.post1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyrbd3-0.1.2.post1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8a56ce7509e7e171a335afb9674f1c6dc92f44061ff970117fc40fe4a8e2a18b
MD5 879f7b331ac05b49d3039c9e2eec876a
BLAKE2b-256 5745b1f1bfd026a96a909017a32a9bec2f4b7b88ae370e2b9f18afcafa453cf0

See more details on using hashes here.

File details

Details for the file pyrbd3-0.1.2.post1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyrbd3-0.1.2.post1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a9c0796351ee1666d3a8c2c2b53370ae9b55c6c7d7e058a8a0c846ed11b2d9e9
MD5 6c970a2517eeeac79ec7d9a3b9d254bf
BLAKE2b-256 c4318f8f3e97fb2e55eeb0d35bf1c9be185112de14980a94449abe55bd77b8dc

See more details on using hashes here.

File details

Details for the file pyrbd3-0.1.2.post1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyrbd3-0.1.2.post1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3d8b97bbb5ea61ac2e29dd00ba4ec3cf2cd33f487bcd18f02789f7f7c73e72d1
MD5 d0ebf4fc620ea6313d23c7e8d909eb87
BLAKE2b-256 648fc182a53d4619062d0f0841fa5f412445281580392d3ed3a9f05d36eec0f0

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