pyrbd3


Namepyrbd3 JSON
Version 0.1.1 PyPI version JSON
download
home_pageNone
SummaryFast Reliability Block Diagram Evaluation Tool
upload_time2025-10-09 23:14:33
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseMIT License Copyright (c) 2025 Shakthivelu Janardhanan, Yaxuan Chen Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords rbd reliability mcs pybind11 c++
VCS
bugtrack_url
requirements pandas networkx tqdm loguru
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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:
```bash
pip install pyrbd3
```

That’s it — no compiler setup or manual build steps are required.
If you prefer a clean environment:
```bash
conda create -n pyrbd3 python=3.10
conda activate pyrbd3
pip install pyrbd3
```

## Quick Example

```python
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](https://sndlib.put.poznan.pl/home.action)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pyrbd3",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "RBD, reliability, MCS, pybind11, C++",
    "author": null,
    "author_email": "Shakthivelu Janardhanan <shakthivelu.janardhanan@tum.de>, Yaxuan Chen <yaxuan.chen@tum.de>",
    "download_url": null,
    "platform": null,
    "description": "# PyRBD3\nFast and lightweight Reliability Block Diagram (RBD) evaluation library, powered by modern C++ and pybind11.\nProvides high-performance algorithms for minimal cut sets, path sets, and system availability computation.\n\n## Installation\n\nPrecompiled binary wheels are available for Linux:\n```bash\npip install pyrbd3\n```\n\nThat\u2019s it \u2014 no compiler setup or manual build steps are required.\nIf you prefer a clean environment:\n```bash\nconda create -n pyrbd3 python=3.10\nconda activate pyrbd3\npip install pyrbd3\n```\n\n## Quick Example\n\n```python\nfrom pyrbd3 import read_graph, evaluate_availability\n\ntopo = \"Germany_17\"\nG, _, _ = read_graph(f\"topologies/{topo}\", topo)\n\nnode_prob = {node: 0.9 for node in G.nodes()}\n\nsrc, dst = 0, 1\n\navailability = evaluate_availability(G, node_prob, src=src, dst=dst, algorithm=\"sdp\")\n\nprint(f\"System availability from {src} to {dst} in {topo}: {availability:.6f}\")\n```\n\n## Topology Reference\n**Germany_17**: [SNDlib 1.0-survivable network design library](https://sndlib.put.poznan.pl/home.action)\n",
    "bugtrack_url": null,
    "license": "MIT License\n         \n         Copyright (c) 2025 Shakthivelu Janardhanan, Yaxuan Chen\n         \n         Permission is hereby granted, free of charge, to any person obtaining a copy\n         of this software and associated documentation files (the \"Software\"), to deal\n         in the Software without restriction, including without limitation the rights\n         to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n         copies of the Software, and to permit persons to whom the Software is\n         furnished to do so, subject to the following conditions:\n         \n         The above copyright notice and this permission notice shall be included in all\n         copies or substantial portions of the Software.\n         \n         THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n         IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n         FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n         AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n         LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n         OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n         SOFTWARE.",
    "summary": "Fast Reliability Block Diagram Evaluation Tool",
    "version": "0.1.1",
    "project_urls": {
        "Homepage": "https://github.com/shakthij98/PyRBD3"
    },
    "split_keywords": [
        "rbd",
        " reliability",
        " mcs",
        " pybind11",
        " c++"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "e4f8fc44497223a4e5ec9a76aaf4d1828637bca46bf6169bde5d36f78ef2936f",
                "md5": "92cc3188d4a043691677af5ffcb6108c",
                "sha256": "955f44a0d284b8355bc339d0c19697ee289fac3ca6da853983ed48f09417a423"
            },
            "downloads": -1,
            "filename": "pyrbd3-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "92cc3188d4a043691677af5ffcb6108c",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.10",
            "size": 258781,
            "upload_time": "2025-10-09T23:14:33",
            "upload_time_iso_8601": "2025-10-09T23:14:33.454163Z",
            "url": "https://files.pythonhosted.org/packages/e4/f8/fc44497223a4e5ec9a76aaf4d1828637bca46bf6169bde5d36f78ef2936f/pyrbd3-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "13a98befc9c65d0f52ab0c23868706f4f30d3922a2c76dee882254e47f82258e",
                "md5": "2e3cf2778d7c87e7374e680b42a2e0d5",
                "sha256": "c44b1742ff72c7e9920586f76f29eb960bd07445be4de9143cd189a89e7061f1"
            },
            "downloads": -1,
            "filename": "pyrbd3-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "2e3cf2778d7c87e7374e680b42a2e0d5",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.10",
            "size": 260183,
            "upload_time": "2025-10-09T23:14:35",
            "upload_time_iso_8601": "2025-10-09T23:14:35.227327Z",
            "url": "https://files.pythonhosted.org/packages/13/a9/8befc9c65d0f52ab0c23868706f4f30d3922a2c76dee882254e47f82258e/pyrbd3-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "028d292ef7763f18b7babb25d29ddbdac3f4f5ba2c90824df22818a378e745f3",
                "md5": "6c7389f0bfd9ec46de0cc948d3beef5f",
                "sha256": "7ee49a469a16660419347a0fe9264d871ba6b44212fb6ca8bb4fd1df153a1042"
            },
            "downloads": -1,
            "filename": "pyrbd3-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "6c7389f0bfd9ec46de0cc948d3beef5f",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.10",
            "size": 259820,
            "upload_time": "2025-10-09T23:14:37",
            "upload_time_iso_8601": "2025-10-09T23:14:37.010918Z",
            "url": "https://files.pythonhosted.org/packages/02/8d/292ef7763f18b7babb25d29ddbdac3f4f5ba2c90824df22818a378e745f3/pyrbd3-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-10-09 23:14:33",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "shakthij98",
    "github_project": "PyRBD3",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "pandas",
            "specs": []
        },
        {
            "name": "networkx",
            "specs": []
        },
        {
            "name": "tqdm",
            "specs": []
        },
        {
            "name": "loguru",
            "specs": []
        }
    ],
    "lcname": "pyrbd3"
}
        
Elapsed time: 0.51643s