demplan 0.1.1__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.
- demplan-0.1.1/Cargo.lock +515 -0
- demplan-0.1.1/Cargo.toml +21 -0
- demplan-0.1.1/LICENSE +21 -0
- demplan-0.1.1/PKG-INFO +781 -0
- demplan-0.1.1/README.md +763 -0
- demplan-0.1.1/crates/demplan-core/Cargo.toml +16 -0
- demplan-0.1.1/crates/demplan-core/src/dep1ex.rs +949 -0
- demplan-0.1.1/crates/demplan-core/src/economy.rs +846 -0
- demplan-0.1.1/crates/demplan-core/src/lib.rs +15 -0
- demplan-0.1.1/crates/demplan-core/src/wiod/files.rs +211 -0
- demplan-0.1.1/crates/demplan-core/src/wiod/grid.rs +126 -0
- demplan-0.1.1/crates/demplan-core/src/wiod/labor.rs +209 -0
- demplan-0.1.1/crates/demplan-core/src/wiod/layout.rs +320 -0
- demplan-0.1.1/crates/demplan-core/src/wiod/mapping.rs +437 -0
- demplan-0.1.1/crates/demplan-core/src/wiod/tests.rs +1317 -0
- demplan-0.1.1/crates/demplan-core/src/wiod.rs +370 -0
- demplan-0.1.1/crates/demplan-core/tests/load_dep1ex.rs +723 -0
- demplan-0.1.1/crates/demplan-core/tests/validate.rs +1103 -0
- demplan-0.1.1/crates/demplan-py/Cargo.toml +16 -0
- demplan-0.1.1/crates/demplan-py/src/lib.rs +253 -0
- demplan-0.1.1/pyproject.toml +26 -0
- demplan-0.1.1/python/demplan/__init__.py +169 -0
- demplan-0.1.1/python/demplan/_wording.py +32 -0
- demplan-0.1.1/python/demplan/checks.py +201 -0
- demplan-0.1.1/python/demplan/configuration.py +778 -0
- demplan-0.1.1/python/demplan/differences.py +506 -0
- demplan-0.1.1/python/demplan/economy.py +551 -0
- demplan-0.1.1/python/demplan/indicators.py +122 -0
- demplan-0.1.1/python/demplan/io.py +335 -0
- demplan-0.1.1/python/demplan/iterate.py +119 -0
- demplan-0.1.1/python/demplan/objectives.py +289 -0
- demplan-0.1.1/python/demplan/periods.py +238 -0
- demplan-0.1.1/python/demplan/plan.py +483 -0
- demplan-0.1.1/python/demplan/prefabs/__init__.py +13 -0
- demplan-0.1.1/python/demplan/prefabs/hahnel/__init__.py +83 -0
- demplan-0.1.1/python/demplan/prefabs/hahnel/book_2021.py +428 -0
- demplan-0.1.1/python/demplan/prefabs/hahnel/councils.py +638 -0
- demplan-0.1.1/python/demplan/prefabs/hahnel/labels.py +143 -0
- demplan-0.1.1/python/demplan/prefabs/hahnel/production.py +109 -0
- demplan-0.1.1/python/demplan/procedure.py +102 -0
- demplan-0.1.1/python/demplan/reference.py +364 -0
- demplan-0.1.1/python/demplan/seeds.py +53 -0
- demplan-0.1.1/python/demplan/technology.py +242 -0
- demplan-0.1.1/python/demplan/tools/__init__.py +55 -0
- demplan-0.1.1/python/demplan/tools/cobb_douglas.py +70 -0
- demplan-0.1.1/python/demplan/tools/leontief.py +34 -0
- demplan-0.1.1/python/demplan/tools/linearize.py +87 -0
demplan-0.1.1/Cargo.lock
ADDED
|
@@ -0,0 +1,515 @@
|
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
|
2
|
+
# It is not intended for manual editing.
|
|
3
|
+
version = 4
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "atoi_simd"
|
|
7
|
+
version = "0.18.1"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "f3cdb3708a128e559a30fb830e8a77a5022ee6902806925c216658652b452a44"
|
|
10
|
+
dependencies = [
|
|
11
|
+
"debug_unsafe",
|
|
12
|
+
"rustversion",
|
|
13
|
+
]
|
|
14
|
+
|
|
15
|
+
[[package]]
|
|
16
|
+
name = "autocfg"
|
|
17
|
+
version = "1.5.1"
|
|
18
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
19
|
+
checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
|
|
20
|
+
|
|
21
|
+
[[package]]
|
|
22
|
+
name = "bumpalo"
|
|
23
|
+
version = "3.20.3"
|
|
24
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
25
|
+
checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649"
|
|
26
|
+
|
|
27
|
+
[[package]]
|
|
28
|
+
name = "byteorder"
|
|
29
|
+
version = "1.5.0"
|
|
30
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
31
|
+
checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
|
|
32
|
+
|
|
33
|
+
[[package]]
|
|
34
|
+
name = "calamine"
|
|
35
|
+
version = "0.36.1"
|
|
36
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
37
|
+
checksum = "5fa68281b1a76b54a62156474adb06bb380a67e07dd60656e3217152b42183f3"
|
|
38
|
+
dependencies = [
|
|
39
|
+
"atoi_simd",
|
|
40
|
+
"byteorder",
|
|
41
|
+
"codepage",
|
|
42
|
+
"encoding_rs",
|
|
43
|
+
"fast-float2",
|
|
44
|
+
"log",
|
|
45
|
+
"quick-xml",
|
|
46
|
+
"serde",
|
|
47
|
+
"zip",
|
|
48
|
+
]
|
|
49
|
+
|
|
50
|
+
[[package]]
|
|
51
|
+
name = "cfg-if"
|
|
52
|
+
version = "1.0.5"
|
|
53
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
54
|
+
checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
|
|
55
|
+
|
|
56
|
+
[[package]]
|
|
57
|
+
name = "codepage"
|
|
58
|
+
version = "0.1.3"
|
|
59
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
60
|
+
checksum = "bdff162541cd8b79de82e2edcc7eff3a8c2a6dc3d75152636028f96d93de3b26"
|
|
61
|
+
dependencies = [
|
|
62
|
+
"encoding_rs",
|
|
63
|
+
]
|
|
64
|
+
|
|
65
|
+
[[package]]
|
|
66
|
+
name = "core_detect"
|
|
67
|
+
version = "1.0.0"
|
|
68
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
69
|
+
checksum = "7f8f80099a98041a3d1622845c271458a2d73e688351bf3cb999266764b81d48"
|
|
70
|
+
|
|
71
|
+
[[package]]
|
|
72
|
+
name = "crc32fast"
|
|
73
|
+
version = "1.5.2"
|
|
74
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
75
|
+
checksum = "01a7799fd6b852db0e61728dde9a204c423b44d689dbd432522543614b490e78"
|
|
76
|
+
dependencies = [
|
|
77
|
+
"cfg-if",
|
|
78
|
+
]
|
|
79
|
+
|
|
80
|
+
[[package]]
|
|
81
|
+
name = "debug_unsafe"
|
|
82
|
+
version = "0.1.4"
|
|
83
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
84
|
+
checksum = "7eed2c4702fa172d1ce21078faa7c5203e69f5394d48cc436d25928394a867a2"
|
|
85
|
+
|
|
86
|
+
[[package]]
|
|
87
|
+
name = "demplan-core"
|
|
88
|
+
version = "0.1.1"
|
|
89
|
+
dependencies = [
|
|
90
|
+
"calamine",
|
|
91
|
+
"flate2",
|
|
92
|
+
"thiserror",
|
|
93
|
+
"zip",
|
|
94
|
+
]
|
|
95
|
+
|
|
96
|
+
[[package]]
|
|
97
|
+
name = "demplan-py"
|
|
98
|
+
version = "0.1.1"
|
|
99
|
+
dependencies = [
|
|
100
|
+
"demplan-core",
|
|
101
|
+
"numpy",
|
|
102
|
+
"pyo3",
|
|
103
|
+
]
|
|
104
|
+
|
|
105
|
+
[[package]]
|
|
106
|
+
name = "encoding_rs"
|
|
107
|
+
version = "0.8.42"
|
|
108
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
109
|
+
checksum = "8e985e0451871ad22fb8d2b6b076e2028a502a0d3950998c2c5c0a4f9b5d9679"
|
|
110
|
+
dependencies = [
|
|
111
|
+
"cfg-if",
|
|
112
|
+
"core_detect",
|
|
113
|
+
"multiversion_no_op",
|
|
114
|
+
"rustversion",
|
|
115
|
+
"scopeguard",
|
|
116
|
+
"simdutf8",
|
|
117
|
+
]
|
|
118
|
+
|
|
119
|
+
[[package]]
|
|
120
|
+
name = "equivalent"
|
|
121
|
+
version = "1.0.2"
|
|
122
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
123
|
+
checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
|
|
124
|
+
|
|
125
|
+
[[package]]
|
|
126
|
+
name = "fast-float2"
|
|
127
|
+
version = "0.2.4"
|
|
128
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
129
|
+
checksum = "c6e8948ce679d00a02a94739ea185595dca7118ed04feb991127e443bd3d761f"
|
|
130
|
+
|
|
131
|
+
[[package]]
|
|
132
|
+
name = "flate2"
|
|
133
|
+
version = "1.1.10"
|
|
134
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
135
|
+
checksum = "6e634e2e0ebac1ee034020da1ca582e17ffe4e0f5e985823721e168928136dcb"
|
|
136
|
+
dependencies = [
|
|
137
|
+
"zlib-rs",
|
|
138
|
+
]
|
|
139
|
+
|
|
140
|
+
[[package]]
|
|
141
|
+
name = "hashbrown"
|
|
142
|
+
version = "0.17.1"
|
|
143
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
144
|
+
checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
|
|
145
|
+
|
|
146
|
+
[[package]]
|
|
147
|
+
name = "heck"
|
|
148
|
+
version = "0.5.0"
|
|
149
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
150
|
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
151
|
+
|
|
152
|
+
[[package]]
|
|
153
|
+
name = "indexmap"
|
|
154
|
+
version = "2.14.2"
|
|
155
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
156
|
+
checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855"
|
|
157
|
+
dependencies = [
|
|
158
|
+
"equivalent",
|
|
159
|
+
"hashbrown",
|
|
160
|
+
]
|
|
161
|
+
|
|
162
|
+
[[package]]
|
|
163
|
+
name = "libc"
|
|
164
|
+
version = "0.2.189"
|
|
165
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
166
|
+
checksum = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2"
|
|
167
|
+
|
|
168
|
+
[[package]]
|
|
169
|
+
name = "log"
|
|
170
|
+
version = "0.4.34"
|
|
171
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
172
|
+
checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6"
|
|
173
|
+
|
|
174
|
+
[[package]]
|
|
175
|
+
name = "matrixmultiply"
|
|
176
|
+
version = "0.3.11"
|
|
177
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
178
|
+
checksum = "3f607c237553f086e7043417a51df26b2eb899d3caff94e6a67592ff992fedc7"
|
|
179
|
+
dependencies = [
|
|
180
|
+
"autocfg",
|
|
181
|
+
"rawpointer",
|
|
182
|
+
]
|
|
183
|
+
|
|
184
|
+
[[package]]
|
|
185
|
+
name = "memchr"
|
|
186
|
+
version = "2.8.3"
|
|
187
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
188
|
+
checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
|
|
189
|
+
|
|
190
|
+
[[package]]
|
|
191
|
+
name = "multiversion_no_op"
|
|
192
|
+
version = "1.0.0"
|
|
193
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
194
|
+
checksum = "743fb55ba31b18fb1ecef6bdc9aa2743314978ac084044301a7eee33fb99a20d"
|
|
195
|
+
|
|
196
|
+
[[package]]
|
|
197
|
+
name = "ndarray"
|
|
198
|
+
version = "0.17.2"
|
|
199
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
200
|
+
checksum = "520080814a7a6b4a6e9070823bb24b4531daac8c4627e08ba5de8c5ef2f2752d"
|
|
201
|
+
dependencies = [
|
|
202
|
+
"matrixmultiply",
|
|
203
|
+
"num-complex",
|
|
204
|
+
"num-integer",
|
|
205
|
+
"num-traits",
|
|
206
|
+
"portable-atomic",
|
|
207
|
+
"portable-atomic-util",
|
|
208
|
+
"rawpointer",
|
|
209
|
+
]
|
|
210
|
+
|
|
211
|
+
[[package]]
|
|
212
|
+
name = "num-complex"
|
|
213
|
+
version = "0.4.6"
|
|
214
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
215
|
+
checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495"
|
|
216
|
+
dependencies = [
|
|
217
|
+
"num-traits",
|
|
218
|
+
]
|
|
219
|
+
|
|
220
|
+
[[package]]
|
|
221
|
+
name = "num-integer"
|
|
222
|
+
version = "0.1.47"
|
|
223
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
224
|
+
checksum = "7ce2d95d4b3734dc35aa2f45e1aa22cd416814592a4f9d9205e11affd5b8e10b"
|
|
225
|
+
dependencies = [
|
|
226
|
+
"num-traits",
|
|
227
|
+
]
|
|
228
|
+
|
|
229
|
+
[[package]]
|
|
230
|
+
name = "num-traits"
|
|
231
|
+
version = "0.2.19"
|
|
232
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
233
|
+
checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
|
|
234
|
+
dependencies = [
|
|
235
|
+
"autocfg",
|
|
236
|
+
]
|
|
237
|
+
|
|
238
|
+
[[package]]
|
|
239
|
+
name = "numpy"
|
|
240
|
+
version = "0.29.0"
|
|
241
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
242
|
+
checksum = "6a5b15d63a5ff39e378daed0e1340d3a5964703ea9712eb09a0dc66fade996f4"
|
|
243
|
+
dependencies = [
|
|
244
|
+
"libc",
|
|
245
|
+
"ndarray",
|
|
246
|
+
"num-complex",
|
|
247
|
+
"num-integer",
|
|
248
|
+
"num-traits",
|
|
249
|
+
"pyo3",
|
|
250
|
+
"pyo3-build-config",
|
|
251
|
+
"rustc-hash",
|
|
252
|
+
]
|
|
253
|
+
|
|
254
|
+
[[package]]
|
|
255
|
+
name = "once_cell"
|
|
256
|
+
version = "1.21.4"
|
|
257
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
258
|
+
checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
|
|
259
|
+
|
|
260
|
+
[[package]]
|
|
261
|
+
name = "portable-atomic"
|
|
262
|
+
version = "1.15.0"
|
|
263
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
264
|
+
checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
|
|
265
|
+
|
|
266
|
+
[[package]]
|
|
267
|
+
name = "portable-atomic-util"
|
|
268
|
+
version = "0.2.8"
|
|
269
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
270
|
+
checksum = "10ab3eb7f3becc3a1cbc4f2c6f20267996cfc1a6467a873763411b136a122715"
|
|
271
|
+
dependencies = [
|
|
272
|
+
"portable-atomic",
|
|
273
|
+
]
|
|
274
|
+
|
|
275
|
+
[[package]]
|
|
276
|
+
name = "proc-macro2"
|
|
277
|
+
version = "1.0.107"
|
|
278
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
279
|
+
checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
|
|
280
|
+
dependencies = [
|
|
281
|
+
"unicode-ident",
|
|
282
|
+
]
|
|
283
|
+
|
|
284
|
+
[[package]]
|
|
285
|
+
name = "pyo3"
|
|
286
|
+
version = "0.29.2"
|
|
287
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
288
|
+
checksum = "4688ddedf473e32662b9b067670129a8afb8c18e351482c70d62ba4a88171e8b"
|
|
289
|
+
dependencies = [
|
|
290
|
+
"libc",
|
|
291
|
+
"once_cell",
|
|
292
|
+
"portable-atomic",
|
|
293
|
+
"pyo3-build-config",
|
|
294
|
+
"pyo3-ffi",
|
|
295
|
+
"pyo3-macros",
|
|
296
|
+
]
|
|
297
|
+
|
|
298
|
+
[[package]]
|
|
299
|
+
name = "pyo3-build-config"
|
|
300
|
+
version = "0.29.2"
|
|
301
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
302
|
+
checksum = "f41027e41b4bd03f6e60f9f417fe24a6341a6bb744edd62b6f709f2a52ea30e9"
|
|
303
|
+
dependencies = [
|
|
304
|
+
"target-lexicon",
|
|
305
|
+
]
|
|
306
|
+
|
|
307
|
+
[[package]]
|
|
308
|
+
name = "pyo3-ffi"
|
|
309
|
+
version = "0.29.2"
|
|
310
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
311
|
+
checksum = "e591a95526fead067432c3b3a33fc74770b87b1e04e73671090d9c2055a2b327"
|
|
312
|
+
dependencies = [
|
|
313
|
+
"libc",
|
|
314
|
+
"pyo3-build-config",
|
|
315
|
+
]
|
|
316
|
+
|
|
317
|
+
[[package]]
|
|
318
|
+
name = "pyo3-macros"
|
|
319
|
+
version = "0.29.2"
|
|
320
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
321
|
+
checksum = "73225868fc1cd84eef2c3c230ddb91273bf1de46aeb8a4248da76d32a0924a1c"
|
|
322
|
+
dependencies = [
|
|
323
|
+
"proc-macro2",
|
|
324
|
+
"pyo3-macros-backend",
|
|
325
|
+
"quote",
|
|
326
|
+
"syn 2.0.119",
|
|
327
|
+
]
|
|
328
|
+
|
|
329
|
+
[[package]]
|
|
330
|
+
name = "pyo3-macros-backend"
|
|
331
|
+
version = "0.29.2"
|
|
332
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
333
|
+
checksum = "571575aa3749fa6216757dd47d2a3e7ef360f329a40f0666a9fbd14889024952"
|
|
334
|
+
dependencies = [
|
|
335
|
+
"heck",
|
|
336
|
+
"proc-macro2",
|
|
337
|
+
"quote",
|
|
338
|
+
"syn 2.0.119",
|
|
339
|
+
]
|
|
340
|
+
|
|
341
|
+
[[package]]
|
|
342
|
+
name = "quick-xml"
|
|
343
|
+
version = "0.41.0"
|
|
344
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
345
|
+
checksum = "e660451e55124f798a69a5af3f49ccfbefbd41910eefd25caf2393e1f3473ec1"
|
|
346
|
+
dependencies = [
|
|
347
|
+
"encoding_rs",
|
|
348
|
+
"memchr",
|
|
349
|
+
]
|
|
350
|
+
|
|
351
|
+
[[package]]
|
|
352
|
+
name = "quote"
|
|
353
|
+
version = "1.0.47"
|
|
354
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
355
|
+
checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
|
|
356
|
+
dependencies = [
|
|
357
|
+
"proc-macro2",
|
|
358
|
+
]
|
|
359
|
+
|
|
360
|
+
[[package]]
|
|
361
|
+
name = "rawpointer"
|
|
362
|
+
version = "0.2.1"
|
|
363
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
364
|
+
checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3"
|
|
365
|
+
|
|
366
|
+
[[package]]
|
|
367
|
+
name = "rustc-hash"
|
|
368
|
+
version = "2.1.3"
|
|
369
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
370
|
+
checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d"
|
|
371
|
+
|
|
372
|
+
[[package]]
|
|
373
|
+
name = "rustversion"
|
|
374
|
+
version = "1.0.23"
|
|
375
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
376
|
+
checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
|
|
377
|
+
|
|
378
|
+
[[package]]
|
|
379
|
+
name = "scopeguard"
|
|
380
|
+
version = "1.2.0"
|
|
381
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
382
|
+
checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
|
|
383
|
+
|
|
384
|
+
[[package]]
|
|
385
|
+
name = "serde"
|
|
386
|
+
version = "1.0.229"
|
|
387
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
388
|
+
checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
|
|
389
|
+
dependencies = [
|
|
390
|
+
"serde_core",
|
|
391
|
+
]
|
|
392
|
+
|
|
393
|
+
[[package]]
|
|
394
|
+
name = "serde_core"
|
|
395
|
+
version = "1.0.229"
|
|
396
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
397
|
+
checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
|
|
398
|
+
dependencies = [
|
|
399
|
+
"serde_derive",
|
|
400
|
+
]
|
|
401
|
+
|
|
402
|
+
[[package]]
|
|
403
|
+
name = "serde_derive"
|
|
404
|
+
version = "1.0.229"
|
|
405
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
406
|
+
checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
|
|
407
|
+
dependencies = [
|
|
408
|
+
"proc-macro2",
|
|
409
|
+
"quote",
|
|
410
|
+
"syn 3.0.4",
|
|
411
|
+
]
|
|
412
|
+
|
|
413
|
+
[[package]]
|
|
414
|
+
name = "simd-adler32"
|
|
415
|
+
version = "0.3.10"
|
|
416
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
417
|
+
checksum = "3a219298ac11a56ea9a6d2120044824d6f01aeb034955e7af7bc16858527deea"
|
|
418
|
+
|
|
419
|
+
[[package]]
|
|
420
|
+
name = "simdutf8"
|
|
421
|
+
version = "0.1.5"
|
|
422
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
423
|
+
checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e"
|
|
424
|
+
|
|
425
|
+
[[package]]
|
|
426
|
+
name = "syn"
|
|
427
|
+
version = "2.0.119"
|
|
428
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
429
|
+
checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
|
|
430
|
+
dependencies = [
|
|
431
|
+
"proc-macro2",
|
|
432
|
+
"quote",
|
|
433
|
+
"unicode-ident",
|
|
434
|
+
]
|
|
435
|
+
|
|
436
|
+
[[package]]
|
|
437
|
+
name = "syn"
|
|
438
|
+
version = "3.0.4"
|
|
439
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
440
|
+
checksum = "e6275cddf4610d1775e6d1fe9469b2e77d0f39fd98fb7450901b821e0c53649f"
|
|
441
|
+
dependencies = [
|
|
442
|
+
"proc-macro2",
|
|
443
|
+
"quote",
|
|
444
|
+
"unicode-ident",
|
|
445
|
+
]
|
|
446
|
+
|
|
447
|
+
[[package]]
|
|
448
|
+
name = "target-lexicon"
|
|
449
|
+
version = "0.13.5"
|
|
450
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
451
|
+
checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
|
|
452
|
+
|
|
453
|
+
[[package]]
|
|
454
|
+
name = "thiserror"
|
|
455
|
+
version = "2.0.20"
|
|
456
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
457
|
+
checksum = "ec86235f5fcc2a73650310756d2ac5b138a5780bbbdfae3eeccec992c435ba4f"
|
|
458
|
+
dependencies = [
|
|
459
|
+
"thiserror-impl",
|
|
460
|
+
]
|
|
461
|
+
|
|
462
|
+
[[package]]
|
|
463
|
+
name = "thiserror-impl"
|
|
464
|
+
version = "2.0.20"
|
|
465
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
466
|
+
checksum = "bc04cd3e1236dd4a98afca4569f2deb3f120e5422a4023be2cb683f8486292af"
|
|
467
|
+
dependencies = [
|
|
468
|
+
"proc-macro2",
|
|
469
|
+
"quote",
|
|
470
|
+
"syn 3.0.4",
|
|
471
|
+
]
|
|
472
|
+
|
|
473
|
+
[[package]]
|
|
474
|
+
name = "typed-path"
|
|
475
|
+
version = "0.12.3"
|
|
476
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
477
|
+
checksum = "8e28f89b80c87b8fb0cf04ab448d5dd0dd0ade2f8891bae878de66a75a28600e"
|
|
478
|
+
|
|
479
|
+
[[package]]
|
|
480
|
+
name = "unicode-ident"
|
|
481
|
+
version = "1.0.24"
|
|
482
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
483
|
+
checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
|
484
|
+
|
|
485
|
+
[[package]]
|
|
486
|
+
name = "zip"
|
|
487
|
+
version = "8.6.0"
|
|
488
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
489
|
+
checksum = "2d04a6b5381502aa6087c94c669499eb1602eb9c5e8198e534de571f7154809b"
|
|
490
|
+
dependencies = [
|
|
491
|
+
"crc32fast",
|
|
492
|
+
"flate2",
|
|
493
|
+
"indexmap",
|
|
494
|
+
"memchr",
|
|
495
|
+
"typed-path",
|
|
496
|
+
"zopfli",
|
|
497
|
+
]
|
|
498
|
+
|
|
499
|
+
[[package]]
|
|
500
|
+
name = "zlib-rs"
|
|
501
|
+
version = "0.6.7"
|
|
502
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
503
|
+
checksum = "34b31d188d9d685a4f9c7b46d6e36631b07058d2cfe190267adce54dc230bf12"
|
|
504
|
+
|
|
505
|
+
[[package]]
|
|
506
|
+
name = "zopfli"
|
|
507
|
+
version = "0.8.3"
|
|
508
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
509
|
+
checksum = "f05cd8797d63865425ff89b5c4a48804f35ba0ce8d125800027ad6017d2b5249"
|
|
510
|
+
dependencies = [
|
|
511
|
+
"bumpalo",
|
|
512
|
+
"crc32fast",
|
|
513
|
+
"log",
|
|
514
|
+
"simd-adler32",
|
|
515
|
+
]
|
demplan-0.1.1/Cargo.toml
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[workspace]
|
|
2
|
+
resolver = "2"
|
|
3
|
+
members = ["crates/demplan-core", "crates/demplan-py"]
|
|
4
|
+
|
|
5
|
+
[workspace.package]
|
|
6
|
+
version = "0.1.1"
|
|
7
|
+
edition = "2021"
|
|
8
|
+
license = "MIT"
|
|
9
|
+
repository = "https://github.com/enshulv/demplan"
|
|
10
|
+
|
|
11
|
+
[workspace.dependencies]
|
|
12
|
+
thiserror = "2"
|
|
13
|
+
flate2 = { version = "1", default-features = false, features = ["zlib-rs"] }
|
|
14
|
+
pyo3 = { version = "0.29", features = ["extension-module", "abi3-py310"] }
|
|
15
|
+
numpy = "0.29"
|
|
16
|
+
calamine = "0.36"
|
|
17
|
+
zip = { version = "8", default-features = false, features = ["deflate"] }
|
|
18
|
+
|
|
19
|
+
[profile.release]
|
|
20
|
+
codegen-units = 1
|
|
21
|
+
lto = "fat"
|
demplan-0.1.1/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Enrique Mark
|
|
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.
|