shimpz 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,426 @@
1
+ # This file is automatically @generated by Cargo.
2
+ # It is not intended for manual editing.
3
+ version = 4
4
+
5
+ [[package]]
6
+ name = "aho-corasick"
7
+ version = "1.1.4"
8
+ source = "registry+https://github.com/rust-lang/crates.io-index"
9
+ checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301"
10
+ dependencies = [
11
+ "memchr",
12
+ ]
13
+
14
+ [[package]]
15
+ name = "block-buffer"
16
+ version = "0.10.4"
17
+ source = "registry+https://github.com/rust-lang/crates.io-index"
18
+ checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
19
+ dependencies = [
20
+ "generic-array",
21
+ ]
22
+
23
+ [[package]]
24
+ name = "cfg-if"
25
+ version = "1.0.4"
26
+ source = "registry+https://github.com/rust-lang/crates.io-index"
27
+ checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
28
+
29
+ [[package]]
30
+ name = "cpufeatures"
31
+ version = "0.2.17"
32
+ source = "registry+https://github.com/rust-lang/crates.io-index"
33
+ checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
34
+ dependencies = [
35
+ "libc",
36
+ ]
37
+
38
+ [[package]]
39
+ name = "crypto-common"
40
+ version = "0.1.7"
41
+ source = "registry+https://github.com/rust-lang/crates.io-index"
42
+ checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
43
+ dependencies = [
44
+ "generic-array",
45
+ "typenum",
46
+ ]
47
+
48
+ [[package]]
49
+ name = "digest"
50
+ version = "0.10.7"
51
+ source = "registry+https://github.com/rust-lang/crates.io-index"
52
+ checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
53
+ dependencies = [
54
+ "block-buffer",
55
+ "crypto-common",
56
+ ]
57
+
58
+ [[package]]
59
+ name = "equivalent"
60
+ version = "1.0.2"
61
+ source = "registry+https://github.com/rust-lang/crates.io-index"
62
+ checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
63
+
64
+ [[package]]
65
+ name = "generic-array"
66
+ version = "0.14.7"
67
+ source = "registry+https://github.com/rust-lang/crates.io-index"
68
+ checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
69
+ dependencies = [
70
+ "typenum",
71
+ "version_check",
72
+ ]
73
+
74
+ [[package]]
75
+ name = "hashbrown"
76
+ version = "0.17.1"
77
+ source = "registry+https://github.com/rust-lang/crates.io-index"
78
+ checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
79
+
80
+ [[package]]
81
+ name = "heck"
82
+ version = "0.5.0"
83
+ source = "registry+https://github.com/rust-lang/crates.io-index"
84
+ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
85
+
86
+ [[package]]
87
+ name = "indexmap"
88
+ version = "2.14.0"
89
+ source = "registry+https://github.com/rust-lang/crates.io-index"
90
+ checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9"
91
+ dependencies = [
92
+ "equivalent",
93
+ "hashbrown",
94
+ ]
95
+
96
+ [[package]]
97
+ name = "itoa"
98
+ version = "1.0.18"
99
+ source = "registry+https://github.com/rust-lang/crates.io-index"
100
+ checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
101
+
102
+ [[package]]
103
+ name = "libc"
104
+ version = "0.2.189"
105
+ source = "registry+https://github.com/rust-lang/crates.io-index"
106
+ checksum = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2"
107
+
108
+ [[package]]
109
+ name = "memchr"
110
+ version = "2.8.3"
111
+ source = "registry+https://github.com/rust-lang/crates.io-index"
112
+ checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
113
+
114
+ [[package]]
115
+ name = "once_cell"
116
+ version = "1.21.4"
117
+ source = "registry+https://github.com/rust-lang/crates.io-index"
118
+ checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
119
+
120
+ [[package]]
121
+ name = "portable-atomic"
122
+ version = "1.14.0"
123
+ source = "registry+https://github.com/rust-lang/crates.io-index"
124
+ checksum = "3d20d5497ef88037a52ff98267d066e7f11fcc5e99bbfbd58a42336193aacec3"
125
+
126
+ [[package]]
127
+ name = "proc-macro2"
128
+ version = "1.0.107"
129
+ source = "registry+https://github.com/rust-lang/crates.io-index"
130
+ checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
131
+ dependencies = [
132
+ "unicode-ident",
133
+ ]
134
+
135
+ [[package]]
136
+ name = "pyo3"
137
+ version = "0.29.0"
138
+ source = "registry+https://github.com/rust-lang/crates.io-index"
139
+ checksum = "cd274650b21d4bfc26a0a47587962c1edb425f69287324355cd040c3ea66071c"
140
+ dependencies = [
141
+ "libc",
142
+ "once_cell",
143
+ "portable-atomic",
144
+ "pyo3-build-config",
145
+ "pyo3-ffi",
146
+ "pyo3-macros",
147
+ ]
148
+
149
+ [[package]]
150
+ name = "pyo3-build-config"
151
+ version = "0.29.0"
152
+ source = "registry+https://github.com/rust-lang/crates.io-index"
153
+ checksum = "c5e2a7d2f0d013342f295c048ad19237add5154a55b1c5a254c0ec93d4109078"
154
+ dependencies = [
155
+ "target-lexicon",
156
+ ]
157
+
158
+ [[package]]
159
+ name = "pyo3-ffi"
160
+ version = "0.29.0"
161
+ source = "registry+https://github.com/rust-lang/crates.io-index"
162
+ checksum = "ca85c467da1bbc8d866eea5deff9cf29ea5f7785054a17da36e65bda9c05845b"
163
+ dependencies = [
164
+ "libc",
165
+ "pyo3-build-config",
166
+ ]
167
+
168
+ [[package]]
169
+ name = "pyo3-macros"
170
+ version = "0.29.0"
171
+ source = "registry+https://github.com/rust-lang/crates.io-index"
172
+ checksum = "9ac53762fd065daa3194dd09337a38bd793a188100fd1a9304c4ab312d901771"
173
+ dependencies = [
174
+ "proc-macro2",
175
+ "pyo3-macros-backend",
176
+ "quote",
177
+ "syn 2.0.119",
178
+ ]
179
+
180
+ [[package]]
181
+ name = "pyo3-macros-backend"
182
+ version = "0.29.0"
183
+ source = "registry+https://github.com/rust-lang/crates.io-index"
184
+ checksum = "4ca3a1557399783172dc5bf39cfca835157732532cba56b71d2292161e53b362"
185
+ dependencies = [
186
+ "heck",
187
+ "proc-macro2",
188
+ "quote",
189
+ "syn 2.0.119",
190
+ ]
191
+
192
+ [[package]]
193
+ name = "quote"
194
+ version = "1.0.47"
195
+ source = "registry+https://github.com/rust-lang/crates.io-index"
196
+ checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
197
+ dependencies = [
198
+ "proc-macro2",
199
+ ]
200
+
201
+ [[package]]
202
+ name = "regex"
203
+ version = "1.13.1"
204
+ source = "registry+https://github.com/rust-lang/crates.io-index"
205
+ checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d"
206
+ dependencies = [
207
+ "aho-corasick",
208
+ "memchr",
209
+ "regex-automata",
210
+ "regex-syntax",
211
+ ]
212
+
213
+ [[package]]
214
+ name = "regex-automata"
215
+ version = "0.4.16"
216
+ source = "registry+https://github.com/rust-lang/crates.io-index"
217
+ checksum = "8fcfdb36bda0c880c5931cdc7a2bcdc8ba4556847b9d912bca70bc94708711ad"
218
+ dependencies = [
219
+ "aho-corasick",
220
+ "memchr",
221
+ "regex-syntax",
222
+ ]
223
+
224
+ [[package]]
225
+ name = "regex-syntax"
226
+ version = "0.8.11"
227
+ source = "registry+https://github.com/rust-lang/crates.io-index"
228
+ checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
229
+
230
+ [[package]]
231
+ name = "semver"
232
+ version = "1.0.28"
233
+ source = "registry+https://github.com/rust-lang/crates.io-index"
234
+ checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd"
235
+ dependencies = [
236
+ "serde",
237
+ "serde_core",
238
+ ]
239
+
240
+ [[package]]
241
+ name = "serde"
242
+ version = "1.0.229"
243
+ source = "registry+https://github.com/rust-lang/crates.io-index"
244
+ checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
245
+ dependencies = [
246
+ "serde_core",
247
+ "serde_derive",
248
+ ]
249
+
250
+ [[package]]
251
+ name = "serde_core"
252
+ version = "1.0.229"
253
+ source = "registry+https://github.com/rust-lang/crates.io-index"
254
+ checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
255
+ dependencies = [
256
+ "serde_derive",
257
+ ]
258
+
259
+ [[package]]
260
+ name = "serde_derive"
261
+ version = "1.0.229"
262
+ source = "registry+https://github.com/rust-lang/crates.io-index"
263
+ checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
264
+ dependencies = [
265
+ "proc-macro2",
266
+ "quote",
267
+ "syn 3.0.3",
268
+ ]
269
+
270
+ [[package]]
271
+ name = "serde_json"
272
+ version = "1.0.151"
273
+ source = "registry+https://github.com/rust-lang/crates.io-index"
274
+ checksum = "c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14"
275
+ dependencies = [
276
+ "itoa",
277
+ "memchr",
278
+ "serde",
279
+ "serde_core",
280
+ "zmij",
281
+ ]
282
+
283
+ [[package]]
284
+ name = "serde_spanned"
285
+ version = "1.1.1"
286
+ source = "registry+https://github.com/rust-lang/crates.io-index"
287
+ checksum = "6662b5879511e06e8999a8a235d848113e942c9124f211511b16466ee2995f26"
288
+ dependencies = [
289
+ "serde_core",
290
+ ]
291
+
292
+ [[package]]
293
+ name = "sha2"
294
+ version = "0.10.9"
295
+ source = "registry+https://github.com/rust-lang/crates.io-index"
296
+ checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
297
+ dependencies = [
298
+ "cfg-if",
299
+ "cpufeatures",
300
+ "digest",
301
+ ]
302
+
303
+ [[package]]
304
+ name = "shimpz-genesis"
305
+ version = "0.1.0"
306
+ dependencies = [
307
+ "regex",
308
+ "semver",
309
+ "serde",
310
+ "serde_json",
311
+ "sha2",
312
+ "toml",
313
+ ]
314
+
315
+ [[package]]
316
+ name = "shimpz-python"
317
+ version = "0.1.0"
318
+ dependencies = [
319
+ "pyo3",
320
+ "serde",
321
+ "serde_json",
322
+ "shimpz-genesis",
323
+ ]
324
+
325
+ [[package]]
326
+ name = "syn"
327
+ version = "2.0.119"
328
+ source = "registry+https://github.com/rust-lang/crates.io-index"
329
+ checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
330
+ dependencies = [
331
+ "proc-macro2",
332
+ "quote",
333
+ "unicode-ident",
334
+ ]
335
+
336
+ [[package]]
337
+ name = "syn"
338
+ version = "3.0.3"
339
+ source = "registry+https://github.com/rust-lang/crates.io-index"
340
+ checksum = "53e9bae58849f64dfa4f5d5ae372c8341f7305f82a3868709269343628b659a3"
341
+ dependencies = [
342
+ "proc-macro2",
343
+ "quote",
344
+ "unicode-ident",
345
+ ]
346
+
347
+ [[package]]
348
+ name = "target-lexicon"
349
+ version = "0.13.5"
350
+ source = "registry+https://github.com/rust-lang/crates.io-index"
351
+ checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
352
+
353
+ [[package]]
354
+ name = "toml"
355
+ version = "0.9.12+spec-1.1.0"
356
+ source = "registry+https://github.com/rust-lang/crates.io-index"
357
+ checksum = "cf92845e79fc2e2def6a5d828f0801e29a2f8acc037becc5ab08595c7d5e9863"
358
+ dependencies = [
359
+ "indexmap",
360
+ "serde_core",
361
+ "serde_spanned",
362
+ "toml_datetime",
363
+ "toml_parser",
364
+ "toml_writer",
365
+ "winnow 0.7.15",
366
+ ]
367
+
368
+ [[package]]
369
+ name = "toml_datetime"
370
+ version = "0.7.5+spec-1.1.0"
371
+ source = "registry+https://github.com/rust-lang/crates.io-index"
372
+ checksum = "92e1cfed4a3038bc5a127e35a2d360f145e1f4b971b551a2ba5fd7aedf7e1347"
373
+ dependencies = [
374
+ "serde_core",
375
+ ]
376
+
377
+ [[package]]
378
+ name = "toml_parser"
379
+ version = "1.1.2+spec-1.1.0"
380
+ source = "registry+https://github.com/rust-lang/crates.io-index"
381
+ checksum = "a2abe9b86193656635d2411dc43050282ca48aa31c2451210f4202550afb7526"
382
+ dependencies = [
383
+ "winnow 1.0.4",
384
+ ]
385
+
386
+ [[package]]
387
+ name = "toml_writer"
388
+ version = "1.1.2+spec-1.1.0"
389
+ source = "registry+https://github.com/rust-lang/crates.io-index"
390
+ checksum = "7d56353a2a665ad0f41a421187180aab746c8c325620617ad883a99a1cbe66d2"
391
+
392
+ [[package]]
393
+ name = "typenum"
394
+ version = "1.20.1"
395
+ source = "registry+https://github.com/rust-lang/crates.io-index"
396
+ checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20"
397
+
398
+ [[package]]
399
+ name = "unicode-ident"
400
+ version = "1.0.24"
401
+ source = "registry+https://github.com/rust-lang/crates.io-index"
402
+ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
403
+
404
+ [[package]]
405
+ name = "version_check"
406
+ version = "0.9.5"
407
+ source = "registry+https://github.com/rust-lang/crates.io-index"
408
+ checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
409
+
410
+ [[package]]
411
+ name = "winnow"
412
+ version = "0.7.15"
413
+ source = "registry+https://github.com/rust-lang/crates.io-index"
414
+ checksum = "df79d97927682d2fd8adb29682d1140b343be4ac0f08fd68b7765d9c059d3945"
415
+
416
+ [[package]]
417
+ name = "winnow"
418
+ version = "1.0.4"
419
+ source = "registry+https://github.com/rust-lang/crates.io-index"
420
+ checksum = "23b97319f7b8343df12cc98938e5c3eb436064524c8d2b4e30a1d3a36eecdf81"
421
+
422
+ [[package]]
423
+ name = "zmij"
424
+ version = "1.0.23"
425
+ source = "registry+https://github.com/rust-lang/crates.io-index"
426
+ checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"
@@ -0,0 +1,18 @@
1
+ [workspace]
2
+ members = ["crates/shimpz-genesis", "python/native"]
3
+ resolver = "3"
4
+
5
+ [workspace.package]
6
+ edition = "2024"
7
+ homepage = "https://shimpz.com"
8
+ license = "Apache-2.0"
9
+ repository = "https://github.com/TheShimpz/shimpz-sdk"
10
+ rust-version = "1.97.1"
11
+
12
+ [workspace.lints.rust]
13
+ missing_docs = "deny"
14
+ unsafe_code = "forbid"
15
+
16
+ [workspace.lints.clippy]
17
+ all = "deny"
18
+ pedantic = "deny"
shimpz-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,44 @@
1
+ Metadata-Version: 2.4
2
+ Name: shimpz
3
+ Version: 0.1.0
4
+ Classifier: Development Status :: 3 - Alpha
5
+ Classifier: License :: OSI Approved :: Apache Software License
6
+ Classifier: Programming Language :: Python :: 3
7
+ Classifier: Programming Language :: Python :: 3.14
8
+ Classifier: Typing :: Typed
9
+ Summary: Python SDK for authoring Shimpz Assistants
10
+ Author: Shimpz Inc
11
+ License-Expression: Apache-2.0
12
+ Requires-Python: >=3.14
13
+ Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
14
+ Project-URL: Homepage, https://shimpz.com
15
+ Project-URL: Issues, https://github.com/TheShimpz/shimpz-sdk/issues
16
+ Project-URL: Repository, https://github.com/TheShimpz/shimpz-sdk
17
+
18
+ # Shimpz Python SDK
19
+
20
+ The Python package exposes an idiomatic authoring API while delegating
21
+ language-neutral validation and canonicalization to Shimpz Genesis.
22
+
23
+ ```console
24
+ pip install shimpz
25
+ ```
26
+
27
+ ```python
28
+ from typing import TypedDict
29
+
30
+ from shimpz import Context, power
31
+
32
+
33
+ class CreatedDns(TypedDict):
34
+ id: str
35
+
36
+
37
+ @power(accounts=["cloudflare"])
38
+ async def run(zone: str, *, ctx: Context = None) -> CreatedDns:
39
+ token = ctx.accounts.cloudflare.access_token
40
+ ...
41
+ ```
42
+
43
+ The native `_native` module is private and may not be imported by Assistants.
44
+
shimpz-0.1.0/README.md ADDED
@@ -0,0 +1,26 @@
1
+ # Shimpz Python SDK
2
+
3
+ The Python package exposes an idiomatic authoring API while delegating
4
+ language-neutral validation and canonicalization to Shimpz Genesis.
5
+
6
+ ```console
7
+ pip install shimpz
8
+ ```
9
+
10
+ ```python
11
+ from typing import TypedDict
12
+
13
+ from shimpz import Context, power
14
+
15
+
16
+ class CreatedDns(TypedDict):
17
+ id: str
18
+
19
+
20
+ @power(accounts=["cloudflare"])
21
+ async def run(zone: str, *, ctx: Context = None) -> CreatedDns:
22
+ token = ctx.accounts.cloudflare.access_token
23
+ ...
24
+ ```
25
+
26
+ The native `_native` module is private and may not be imported by Assistants.
@@ -0,0 +1,25 @@
1
+ [package]
2
+ name = "shimpz-genesis"
3
+ version = "0.1.0"
4
+ description = "Language-neutral foundation for Shimpz Assistant SDKs"
5
+ edition.workspace = true
6
+ homepage.workspace = true
7
+ license.workspace = true
8
+ repository.workspace = true
9
+ rust-version.workspace = true
10
+ readme = "README.md"
11
+ documentation = "https://docs.rs/shimpz-genesis"
12
+ keywords = ["assistant", "sdk", "shimpz"]
13
+ categories = ["development-tools"]
14
+ include = ["src/**", "tests/**", "Cargo.toml", "README.md"]
15
+
16
+ [dependencies]
17
+ regex = "1"
18
+ semver = { version = "1", features = ["serde"] }
19
+ serde = { version = "1", features = ["derive"] }
20
+ serde_json = "1"
21
+ sha2 = "0.10"
22
+ toml = "0.9"
23
+
24
+ [lints]
25
+ workspace = true
@@ -0,0 +1,8 @@
1
+ # Shimpz Genesis
2
+
3
+ `shimpz-genesis` is the language-neutral Rust foundation shared by Shimpz
4
+ language bindings and the Shimpz CLI.
5
+
6
+ It is an implementation dependency, not the public Rust authoring SDK. The
7
+ future public crate will be named `shimpz` and expose an idiomatic facade over
8
+ Genesis.