Skip to main content

edge-toolkit

Edge Toolkit is a framework for running workloads across a fleet of devices -- browser tabs, phones, native processes -- that all connect to one WebSocket hub. Agents register with the hub, exchange messages through it, and keep per-agent files in its storage. A workload is a ws-module, and this package is the code the Python ws-modules share, whether they run in the browser under Pyodide or natively.

Install

pip install edge-toolkit

It brings in et-ws, the Pydantic models of the hub's wire protocol.

Client events

client_event wraps a module's data in the CloudEvents 1.0 envelope the hub expects of an et-client-event message:

from edge_toolkit.events import client_event

message = client_event("/modules/my-module", "app", "loaded", {"build": "1.2.3"})
frame = message.model_dump_json()

The event's type is et.<capability>.<action> -- et.app.loaded here -- and its source is the path the hub serves the module from. Each call gets a fresh UUID id and the current UTC time.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Metadata

Release files for edge-toolkit 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for edge-toolkit 0.1.0
File Size Uploaded Provenance Actions
edge_toolkit-0.1.0.tar.gz 2.3 kB Without provenance Details for edge_toolkit-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for edge-toolkit 0.1.0
File Interpreter ABI Platform Actions
edge_toolkit-0.1.0-py3-none-any.whl Python 3 none any Details for edge_toolkit-0.1.0-py3-none-any.whl

Total release size: 5.4 kB

Release files / edge_toolkit-0.1.0.tar.gz

Download URL edge_toolkit-0.1.0.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
984fcdd91806427effbd5cafe944fa8e06695c478eaa4a4374ce11c7f48baf81
BLAKE2b-256 checksum
How to use checksums
3de6fe23ce01da4a880835de99e793d4e16255fdb05e782c5a7d90fd4c45ddd1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / edge_toolkit-0.1.0-py3-none-any.whl

Download URL edge_toolkit-0.1.0-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
46a8cb04d0d080792bd8c4a0336b8eeabc4e92bb8ba15809b4899e8233b8b700
BLAKE2b-256 checksum
How to use checksums
74e649e604a15129f3f71a49414e7ded60b8df53a5019e38dcb82e29ec5cad68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for edge-toolkit 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page