Skip to content

Feature/v0.1/python sdk - #2

Merged
mavdol merged 10 commits into
mainfrom
feature/v0.1/python-sdk
Dec 9, 2025
Merged

mavdol merged 10 commits into
mainfrom
feature/v0.1/python-sdk

Conversation

@mavdol

@mavdol mavdol commented Dec 9, 2025 •

Copy link
Copy Markdown
Member

SDK (Python): Basic @task Decorator with JSON Serialization

This PR introduces the first version of the Python @task decorator, enabling simple function declaration, JSON-based input/output serialization, and optional local execution.

  • Integration with Core’s WIT
    The SDK adds Python-side utilities that leverage the core’s existing WIT definitions and componentize-py tooling.
    The decorator generates the metadata needed by the core’s componentization pipeline, enabling Python task functions to be built and executed as Wasm components.

  • Local execution mode (no Wasm required)
    Allows running python your_script.py directly without compiling to Wasm.
    This mode gives the flexibility to execute @task decorated functions natively during development, without instantiating Wasm.

  • Basic test coverage
    Adds initial tests verifying decorator behavior and local execution mode.

  • CI Integration
    These tests are now included in the continuous integration workflow to prevent regressions.

@mavdol
mavdol merged commit 9850b21 into main Dec 9, 2025
2 checks passed
@mavdol
mavdol deleted the feature/v0.1/python-sdk branch December 9, 2025 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant