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"System availability from {src} to {dst} in {topo}: {availability:.6f}")

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.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-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (259.8 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

pyrbd3-0.1.2-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-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-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (258.9 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pyrbd3-0.1.2-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.tar.gz.

File metadata

  • Download URL: pyrbd3-0.1.2.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.tar.gz
Algorithm Hash digest
SHA256 58a9299f3c4f5b38951a876669e5adf6a6718557c5aa6fb98d6c8b6f46025ca8
MD5 fc70dc47e69f9bb4d3b4df83c644694b
BLAKE2b-256 27d0117a0ef8e3223b0e27153e3b5c2dc0c5c8e7dd514f7a7bed98fec5740349

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyrbd3-0.1.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cc80e0ecd1c5fe7d5a92d6ca940a2c5ced1f649a434dc814a12baa772f10a462
MD5 df6d658c4f4ea0978fec5bd826dda09b
BLAKE2b-256 f7574448dc7e3a94e33df980e90d04aec9def69426a9821e7a19009ffe0c15f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyrbd3-0.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fe4358fef366bba1bb947e9fda1dfd592d01f9f0cb741fd98f61797d1ea99b5a
MD5 50863153dfa84e875034d5c5e735cf08
BLAKE2b-256 683bf756db73caebbec00298255a1369bf0c677c61aa8757c43fad8fa678c3c9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyrbd3-0.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c26306473a36a71f06c5e92040d9a33076b990662f20487dc89542a93c45607c
MD5 4ebd9b55e9294d715e30973c565c6367
BLAKE2b-256 9c2d34061e3b6a57a26bff4689808011cb9b8028f32307114e434507055c7a1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyrbd3-0.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 aed426f343b2e3c72f8ac05637555c25e4ecc5ca4d1767dca96789c97bd58aef
MD5 05e1e7ed495d3f67d2c3d22de37d6aab
BLAKE2b-256 3cea18b4fdcfbcd590ccd7c5bd06f18c75eac66b9268be1ea7b44551b2ca104f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyrbd3-0.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a640ac2b0a6bac505a937edd8df91da6cd355014c8eaa28b9bde8393f5933382
MD5 5750642bf0c2943169f46e4b601dd945
BLAKE2b-256 1774b2131be9bd1978483d1ced01eaa6731d7f1a69d226d9e763c75bde9963b3

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