priors 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.
@@ -0,0 +1,138 @@
1
+ # This file is automatically @generated by Cargo.
2
+ # It is not intended for manual editing.
3
+ version = 4
4
+
5
+ [[package]]
6
+ name = "heck"
7
+ version = "0.5.0"
8
+ source = "registry+https://github.com/rust-lang/crates.io-index"
9
+ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
10
+
11
+ [[package]]
12
+ name = "libc"
13
+ version = "0.2.186"
14
+ source = "registry+https://github.com/rust-lang/crates.io-index"
15
+ checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
16
+
17
+ [[package]]
18
+ name = "once_cell"
19
+ version = "1.21.4"
20
+ source = "registry+https://github.com/rust-lang/crates.io-index"
21
+ checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
22
+
23
+ [[package]]
24
+ name = "portable-atomic"
25
+ version = "1.13.1"
26
+ source = "registry+https://github.com/rust-lang/crates.io-index"
27
+ checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49"
28
+
29
+ [[package]]
30
+ name = "priors"
31
+ version = "0.1.0"
32
+
33
+ [[package]]
34
+ name = "priors-py"
35
+ version = "0.1.0"
36
+ dependencies = [
37
+ "priors",
38
+ "pyo3",
39
+ ]
40
+
41
+ [[package]]
42
+ name = "proc-macro2"
43
+ version = "1.0.106"
44
+ source = "registry+https://github.com/rust-lang/crates.io-index"
45
+ checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
46
+ dependencies = [
47
+ "unicode-ident",
48
+ ]
49
+
50
+ [[package]]
51
+ name = "pyo3"
52
+ version = "0.28.3"
53
+ source = "registry+https://github.com/rust-lang/crates.io-index"
54
+ checksum = "91fd8e38a3b50ed1167fb981cd6fd60147e091784c427b8f7183a7ee32c31c12"
55
+ dependencies = [
56
+ "libc",
57
+ "once_cell",
58
+ "portable-atomic",
59
+ "pyo3-build-config",
60
+ "pyo3-ffi",
61
+ "pyo3-macros",
62
+ ]
63
+
64
+ [[package]]
65
+ name = "pyo3-build-config"
66
+ version = "0.28.3"
67
+ source = "registry+https://github.com/rust-lang/crates.io-index"
68
+ checksum = "e368e7ddfdeb98c9bca7f8383be1648fd84ab466bf2bc015e94008db6d35611e"
69
+ dependencies = [
70
+ "target-lexicon",
71
+ ]
72
+
73
+ [[package]]
74
+ name = "pyo3-ffi"
75
+ version = "0.28.3"
76
+ source = "registry+https://github.com/rust-lang/crates.io-index"
77
+ checksum = "7f29e10af80b1f7ccaf7f69eace800a03ecd13e883acfacc1e5d0988605f651e"
78
+ dependencies = [
79
+ "libc",
80
+ "pyo3-build-config",
81
+ ]
82
+
83
+ [[package]]
84
+ name = "pyo3-macros"
85
+ version = "0.28.3"
86
+ source = "registry+https://github.com/rust-lang/crates.io-index"
87
+ checksum = "df6e520eff47c45997d2fc7dd8214b25dd1310918bbb2642156ef66a67f29813"
88
+ dependencies = [
89
+ "proc-macro2",
90
+ "pyo3-macros-backend",
91
+ "quote",
92
+ "syn",
93
+ ]
94
+
95
+ [[package]]
96
+ name = "pyo3-macros-backend"
97
+ version = "0.28.3"
98
+ source = "registry+https://github.com/rust-lang/crates.io-index"
99
+ checksum = "c4cdc218d835738f81c2338f822078af45b4afdf8b2e33cbb5916f108b813acb"
100
+ dependencies = [
101
+ "heck",
102
+ "proc-macro2",
103
+ "pyo3-build-config",
104
+ "quote",
105
+ "syn",
106
+ ]
107
+
108
+ [[package]]
109
+ name = "quote"
110
+ version = "1.0.45"
111
+ source = "registry+https://github.com/rust-lang/crates.io-index"
112
+ checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924"
113
+ dependencies = [
114
+ "proc-macro2",
115
+ ]
116
+
117
+ [[package]]
118
+ name = "syn"
119
+ version = "2.0.117"
120
+ source = "registry+https://github.com/rust-lang/crates.io-index"
121
+ checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99"
122
+ dependencies = [
123
+ "proc-macro2",
124
+ "quote",
125
+ "unicode-ident",
126
+ ]
127
+
128
+ [[package]]
129
+ name = "target-lexicon"
130
+ version = "0.13.5"
131
+ source = "registry+https://github.com/rust-lang/crates.io-index"
132
+ checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
133
+
134
+ [[package]]
135
+ name = "unicode-ident"
136
+ version = "1.0.24"
137
+ source = "registry+https://github.com/rust-lang/crates.io-index"
138
+ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
@@ -0,0 +1,11 @@
1
+ [workspace]
2
+ resolver = "2"
3
+ members = ["crates/*"]
4
+
5
+ [workspace.package]
6
+ version = "0.1.0"
7
+ edition = "2021"
8
+ authors = ["Lennart Carstens-Behrens <lennart@fediway.com>"]
9
+ license = "MIT"
10
+ repository = "https://github.com/cbl/priors"
11
+ readme = "README.md"
priors-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,35 @@
1
+ Metadata-Version: 2.4
2
+ Name: priors
3
+ Version: 0.1.0
4
+ Classifier: Programming Language :: Rust
5
+ Classifier: Programming Language :: Python :: Implementation :: CPython
6
+ Classifier: Topic :: Scientific/Engineering
7
+ Classifier: License :: OSI Approved :: MIT License
8
+ License-File: LICENSE
9
+ Summary: Priors for prior-fitted networks
10
+ Author-email: Lennart Carstens-Behrens <lennart@fediway.com>
11
+ License: MIT
12
+ Requires-Python: >=3.9
13
+ Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
14
+ Project-URL: Repository, https://github.com/cbl/priors
15
+
16
+ # priors
17
+
18
+ Priors for prior-fitted networks.
19
+
20
+ ## Installation
21
+
22
+ ```bash
23
+ pip install priors
24
+ ```
25
+
26
+ ```toml
27
+ # Cargo.toml
28
+ [dependencies]
29
+ priors = "0.1"
30
+ ```
31
+
32
+ ## License
33
+
34
+ [MIT](LICENSE)
35
+
priors-0.1.0/README.md ADDED
@@ -0,0 +1,19 @@
1
+ # priors
2
+
3
+ Priors for prior-fitted networks.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ pip install priors
9
+ ```
10
+
11
+ ```toml
12
+ # Cargo.toml
13
+ [dependencies]
14
+ priors = "0.1"
15
+ ```
16
+
17
+ ## License
18
+
19
+ [MIT](LICENSE)
@@ -0,0 +1,12 @@
1
+ [package]
2
+ name = "priors"
3
+ description = "Priors for prior-fitted networks"
4
+ documentation = "https://docs.rs/priors"
5
+ keywords = ["pfn", "prior", "bayesian", "synthetic"]
6
+ categories = ["science"]
7
+ version.workspace = true
8
+ edition.workspace = true
9
+ authors.workspace = true
10
+ license.workspace = true
11
+ repository.workspace = true
12
+ readme = "README.md"
@@ -0,0 +1,19 @@
1
+ # priors
2
+
3
+ Priors for prior-fitted networks.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ pip install priors
9
+ ```
10
+
11
+ ```toml
12
+ # Cargo.toml
13
+ [dependencies]
14
+ priors = "0.1"
15
+ ```
16
+
17
+ ## License
18
+
19
+ [MIT](LICENSE)
@@ -0,0 +1 @@
1
+ //! Priors for prior-fitted networks.
@@ -0,0 +1,17 @@
1
+ [package]
2
+ name = "priors-py"
3
+ description = "Python bindings for priors"
4
+ publish = false
5
+ version.workspace = true
6
+ edition.workspace = true
7
+ authors.workspace = true
8
+ license.workspace = true
9
+ repository.workspace = true
10
+
11
+ [lib]
12
+ name = "_priors"
13
+ crate-type = ["cdylib"]
14
+
15
+ [dependencies]
16
+ priors = { path = "../priors", version = "0.1.0" }
17
+ pyo3 = { version = "0.28", features = ["extension-module"] }
@@ -0,0 +1,7 @@
1
+ use pyo3::prelude::*;
2
+
3
+ #[pymodule]
4
+ fn _priors(m: &Bound<'_, PyModule>) -> PyResult<()> {
5
+ m.add("__version__", env!("CARGO_PKG_VERSION"))?;
6
+ Ok(())
7
+ }
@@ -0,0 +1,27 @@
1
+ [build-system]
2
+ requires = ["maturin>=1.7,<2.0"]
3
+ build-backend = "maturin"
4
+
5
+ [project]
6
+ name = "priors"
7
+ version = "0.1.0"
8
+ description = "Priors for prior-fitted networks"
9
+ authors = [{ name = "Lennart Carstens-Behrens", email = "lennart@fediway.com" }]
10
+ readme = "README.md"
11
+ license = { text = "MIT" }
12
+ requires-python = ">=3.9"
13
+ classifiers = [
14
+ "Programming Language :: Rust",
15
+ "Programming Language :: Python :: Implementation :: CPython",
16
+ "Topic :: Scientific/Engineering",
17
+ "License :: OSI Approved :: MIT License",
18
+ ]
19
+
20
+ [project.urls]
21
+ Repository = "https://github.com/cbl/priors"
22
+
23
+ [tool.maturin]
24
+ manifest-path = "crates/priors-py/Cargo.toml"
25
+ module-name = "priors._priors"
26
+ python-source = "python"
27
+ features = ["pyo3/extension-module"]
@@ -0,0 +1,5 @@
1
+ """Priors for prior-fitted networks."""
2
+
3
+ from ._priors import __version__
4
+
5
+ __all__ = ["__version__"]