Python SDK for building Pointiv WASM extensions
Reason this release was yanked:
Accidentally bundled local venv in sdist
Project description
pointiv-extension-sdk
Python SDK for Pointiv WASM extensions.
Install
pip install pointiv-extension-sdk
Setup
from pointiv_extension_sdk import Input, output, storage
def execute(input: Input) -> dict[str, str]:
count = int(storage.read("run_count") or "0") + 1
storage.write("run_count", str(count))
result = output.text(f"Hello, {input.text or 'World'}! Run #{count}")
return {"type": result.type, "value": result.value}
Build to WASM with componentize-py or your Pointiv Python toolchain, then set runtime: "wasm" and main: "extension.wasm" in pointiv-extension.json.
APIs
| Module | Permission | What it does |
|---|---|---|
storage |
storage |
Per-extension key/value store |
clipboard |
clipboard_read |
Read clipboard |
ai |
ai |
LLM completion |
http |
network |
Outbound HTTP |
google_calendar |
google_calendar |
Create Calendar events |
google_gmail |
google_gmail |
Send Gmail |
log |
none | Log to ~/.pointiv/trace.jsonl |
Calls without permission fail safely.
Manifest
{
"name": "My Extension",
"description": "What it does",
"version": "1.0.0",
"author": "your-name",
"keywords": ["tag"],
"runtime": "wasm",
"main": "extension.wasm",
"permissions": ["storage", "network", "google_calendar", "google_gmail"]
}
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pointiv_extension_sdk-0.3.0.tar.gz.
File metadata
- Download URL: pointiv_extension_sdk-0.3.0.tar.gz
- Upload date:
- Size: 6.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f9fa5519906c70638458a0cebfe06e883c390fc72cbb892b20474cf22393b11
|
|
| MD5 |
f774e646604712c8f44cb3c7edd79dd2
|
|
| BLAKE2b-256 |
915defc85fd4f05dc2cf96b638a2d10bb252ed74bb9932a9e40a01a9659a0dda
|