tbnpy 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
tbnpy-0.1.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Ji-Eun Byun
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
tbnpy-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,116 @@
1
+ Metadata-Version: 2.4
2
+ Name: tbnpy
3
+ Version: 0.1.0
4
+ Summary: Tensor-based Bayesian Network (TBN) toolkit for scalable probabilistic inference
5
+ Author: Ji-Eun Byun
6
+ License: MIT License
7
+
8
+ Copyright (c) 2026 Ji-Eun Byun
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+
28
+ Project-URL: Homepage, https://github.com/jieunbyun/tbnpy
29
+ Project-URL: Documentation, https://jieunbyun.github.io/tbnpy/
30
+ Requires-Python: >=3.9
31
+ Description-Content-Type: text/markdown
32
+ License-File: LICENSE
33
+ Requires-Dist: numpy>=1.23
34
+ Requires-Dist: torch>=2.0
35
+ Requires-Dist: pandas>=1.5
36
+ Requires-Dist: ndtools-duco>=0.1.5
37
+ Provides-Extra: dev
38
+ Requires-Dist: pytest>=7.0; extra == "dev"
39
+ Provides-Extra: docs
40
+ Requires-Dist: sphinx>=8; extra == "docs"
41
+ Requires-Dist: furo; extra == "docs"
42
+ Requires-Dist: myst-parser; extra == "docs"
43
+ Requires-Dist: sphinx-autodoc-typehints; extra == "docs"
44
+ Dynamic: license-file
45
+
46
+ # tbnpy
47
+
48
+ **tbnpy** is a Python toolkit for **tensor-based Bayesian networks (TBNs)**, designed for scalable probabilistic inference in systems with large, structured state spaces.
49
+ It is particularly suited to applications where classical Bayesian network implementations struggle due to combinatorial growth in system states.
50
+
51
+ The package provides:
52
+ - A tensor-based formulation of Bayesian networks
53
+ - Scalable exact and approximate inference algorithms
54
+ - Support for hybrid discrete–continuous models
55
+ - Reusable system-level rules and probabilistic components
56
+ - Examples illustrating end-to-end modelling and inference workflows
57
+
58
+ ## Documentation
59
+
60
+ πŸ“˜ **Full documentation is available here:**
61
+ πŸ‘‰ https://jieunbyun.github.io/tbnpy/
62
+
63
+ The online documentation includes:
64
+ - Conceptual overview of tensor-based Bayesian networks
65
+ - Installation and getting-started guides
66
+ - API reference for all core modules
67
+ - Worked examples (including the ABCDE example)
68
+ - Repository structure and design rationale
69
+
70
+ ## Repository structure
71
+
72
+ ```
73
+ tbnpy/
74
+ β”œβ”€β”€ tbnpy/ # Core library
75
+ β”œβ”€β”€ examples/ # Worked examples and case studies
76
+ β”œβ”€β”€ docs/ # Sphinx documentation source
77
+ β”œβ”€β”€ .github/ # CI/CD workflows (GitHub Actions)
78
+ └── README.md
79
+ ```
80
+
81
+ ## Installation
82
+
83
+ For development use, clone the repository and install in editable mode:
84
+
85
+ ```bash
86
+ git clone https://github.com/jieunbyun/tbnpy.git
87
+ cd tbnpy
88
+ pip install -e .
89
+ ```
90
+
91
+ Dependencies required for documentation are listed in `requirements.txt`.
92
+
93
+ ## Development status
94
+
95
+ tbnpy is under active development.
96
+ The API may evolve as new modelling patterns, inference strategies, and large-scale case studies are incorporated.
97
+
98
+ ## Citation
99
+
100
+ ## Citation
101
+
102
+ A dedicated tbnpy methodology paper is currently under preparation.
103
+ In the meantime, please cite the following related work:
104
+
105
+ Byun, J.-E., & Song, J. (2021). *Generalized matrix-based Bayesian network for multi-state systems*. Reliability Engineering & System Safety, 211, 107468.
106
+
107
+
108
+ ## License
109
+
110
+ This project is released under an MIT license.
111
+ See the repository for license details.
112
+
113
+ ---
114
+
115
+ For detailed usage, examples, and API documentation, please refer to:
116
+ πŸ”— https://jieunbyun.github.io/tbnpy/
tbnpy-0.1.0/README.md ADDED
@@ -0,0 +1,71 @@
1
+ # tbnpy
2
+
3
+ **tbnpy** is a Python toolkit for **tensor-based Bayesian networks (TBNs)**, designed for scalable probabilistic inference in systems with large, structured state spaces.
4
+ It is particularly suited to applications where classical Bayesian network implementations struggle due to combinatorial growth in system states.
5
+
6
+ The package provides:
7
+ - A tensor-based formulation of Bayesian networks
8
+ - Scalable exact and approximate inference algorithms
9
+ - Support for hybrid discrete–continuous models
10
+ - Reusable system-level rules and probabilistic components
11
+ - Examples illustrating end-to-end modelling and inference workflows
12
+
13
+ ## Documentation
14
+
15
+ πŸ“˜ **Full documentation is available here:**
16
+ πŸ‘‰ https://jieunbyun.github.io/tbnpy/
17
+
18
+ The online documentation includes:
19
+ - Conceptual overview of tensor-based Bayesian networks
20
+ - Installation and getting-started guides
21
+ - API reference for all core modules
22
+ - Worked examples (including the ABCDE example)
23
+ - Repository structure and design rationale
24
+
25
+ ## Repository structure
26
+
27
+ ```
28
+ tbnpy/
29
+ β”œβ”€β”€ tbnpy/ # Core library
30
+ β”œβ”€β”€ examples/ # Worked examples and case studies
31
+ β”œβ”€β”€ docs/ # Sphinx documentation source
32
+ β”œβ”€β”€ .github/ # CI/CD workflows (GitHub Actions)
33
+ └── README.md
34
+ ```
35
+
36
+ ## Installation
37
+
38
+ For development use, clone the repository and install in editable mode:
39
+
40
+ ```bash
41
+ git clone https://github.com/jieunbyun/tbnpy.git
42
+ cd tbnpy
43
+ pip install -e .
44
+ ```
45
+
46
+ Dependencies required for documentation are listed in `requirements.txt`.
47
+
48
+ ## Development status
49
+
50
+ tbnpy is under active development.
51
+ The API may evolve as new modelling patterns, inference strategies, and large-scale case studies are incorporated.
52
+
53
+ ## Citation
54
+
55
+ ## Citation
56
+
57
+ A dedicated tbnpy methodology paper is currently under preparation.
58
+ In the meantime, please cite the following related work:
59
+
60
+ Byun, J.-E., & Song, J. (2021). *Generalized matrix-based Bayesian network for multi-state systems*. Reliability Engineering & System Safety, 211, 107468.
61
+
62
+
63
+ ## License
64
+
65
+ This project is released under an MIT license.
66
+ See the repository for license details.
67
+
68
+ ---
69
+
70
+ For detailed usage, examples, and API documentation, please refer to:
71
+ πŸ”— https://jieunbyun.github.io/tbnpy/
@@ -0,0 +1,43 @@
1
+ [build-system]
2
+ requires = ["setuptools>=68", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "tbnpy"
7
+ version = "0.1.0"
8
+ description = "Tensor-based Bayesian Network (TBN) toolkit for scalable probabilistic inference"
9
+ readme = "README.md"
10
+ license = { file = "LICENSE" }
11
+ authors = [{ name = "Ji-Eun Byun" }]
12
+ requires-python = ">=3.9"
13
+
14
+ dependencies = [
15
+ "numpy>=1.23",
16
+ "torch>=2.0",
17
+ "pandas>=1.5",
18
+ "ndtools-duco>=0.1.5"
19
+ ]
20
+
21
+ [project.optional-dependencies]
22
+ dev = [
23
+ "pytest>=7.0",
24
+ ]
25
+
26
+ docs = [
27
+ "sphinx>=8",
28
+ "furo",
29
+ "myst-parser",
30
+ "sphinx-autodoc-typehints",
31
+ ]
32
+
33
+ [project.urls]
34
+ Homepage = "https://github.com/jieunbyun/tbnpy"
35
+ Documentation = "https://jieunbyun.github.io/tbnpy/"
36
+
37
+ [tool.setuptools]
38
+ # If your package directory is "tbnpy/" at the repo root, this is enough.
39
+ packages = ["tbnpy"]
40
+
41
+ [tool.setuptools.package-data]
42
+ # If you have any non-.py files inside the package you want to ship, list patterns here.
43
+ tbnpy = ["py.typed"]
tbnpy-0.1.0/setup.cfg ADDED
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
File without changes