Commit d91763e
authored
update
* update `componentize-py` and Spin WIT files
This updates to `componentize-py` 0.22.0, which includes support for component
model concurrency. It also includes the WIT files for the upcoming Spin 4.0
release.
Other changes:
- Updated the bindings generation script and moved it into its own file
- This includes passing the `--full-names` option to `componentize-py`, ensuring names remain stable for future releases
- Ran the above script to regenerate the bindings from the new WIT files
- Added a script to build all the examples and test some of them (just one so far)
- Added a GitHub workflow to run the above script
- Bumped the package version to 4.0.0 and generated docs/v4
- Updated the examples and template
Note that the `src/componentize_py_*` files are part of the `componentize-py
bindings` output, and I've only checked them in to make `pdoc3` happy.
Signed-off-by: Joel Dice <joel.dice@akamai.com>
* add `streaming-p3` example
Signed-off-by: Joel Dice <joel.dice@akamai.com>
* use Spin setup action to install canary in CI
Signed-off-by: Joel Dice <joel.dice@akamai.com>
* add .gitattributes file
Signed-off-by: Joel Dice <joel.dice@akamai.com>
---------
Signed-off-by: Joel Dice <joel.dice@akamai.com>componentize-py and Spin WIT files (#129)1 parent 9eb2297 commit d91763e
554 files changed
Lines changed: 85699 additions & 448 deletions
File tree
- .github/workflows
- docs/v4
- http
- wit
- exports
- imports
- examples
- external-lib-example
- hello
- matrix-math
- outgoing-request
- redis-trigger
- spin-kv
- spin-llm
- spin-mysql
- spin-outbound-mqtt
- spin-postgres
- spin-redis
- spin-sqlite
- spin-variables
- streaming-p3
- streaming
- scripts
- src
- componentize_py_async_support
- spin_sdk
- http
- wit
- deps
- cli-2023-10-18
- cli-2023-11-10
- cli@0.2.0
- cli@0.2.3
- cli@0.2.6
- cli@0.3.0-rc-2026-03-15
- clocks-2023-10-18
- clocks-2023-11-10
- clocks@0.2.0
- clocks@0.2.3
- clocks@0.2.6
- clocks@0.3.0-rc-2026-03-15
- filesystem-2023-10-18
- filesystem-2023-11-10
- filesystem@0.2.0
- filesystem@0.2.3
- filesystem@0.2.6
- filesystem@0.3.0-rc-2026-03-15
- http-2023-10-18
- http-2023-11-10
- http@0.2.0
- http@0.2.3
- http@0.2.6
- http@0.3.0-rc-2026-03-15
- io-2023-10-18
- io-2023-11-10
- io@0.2.0
- io@0.2.3
- io@0.2.6
- otel@0.2.0-rc.2
- random-2023-10-18
- random-2023-11-10
- random@0.2.0
- random@0.2.3
- random@0.2.6
- random@0.3.0-rc-2026-03-15
- sockets-2023-10-18
- sockets-2023-11-10
- sockets@0.2.0
- sockets@0.2.3
- sockets@0.2.6
- sockets@0.3.0-rc-2026-03-15
- spin-key-value@3.0.0
- spin-mqtt@3.0.0
- spin-postgres@4.1.0
- spin-postgres@4.2.0
- spin-redis@3.0.0
- spin-sqlite@3.1.0
- spin-variables@3.0.0
- spin@2.0.0
- spin@3.0.0
- spin@3.2.0
- spin@3.4.0
- spin@unversioned
- exports
- imports
- templates/http-py
- content
- metadata/snippets
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
7 | | - | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 22 | + | |
33 | 23 | | |
34 | 24 | | |
35 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments