On-device ML inference monitoring for Python
Project description
WildEdge Python SDK
On-device ML inference monitoring for Python. Tracks latency, errors, and model metadata without any code modifications.
Pre-release: The API is unstable and may change between versions. Semantic versioning will apply from the first stable release.
Install
uv add wildedge-sdk
CLI
Drop wildedge run in front of your existing command. WildEdge instruments the runtime before your code starts. No SDK calls required in user code.
WILDEDGE_DSN="https://<secret>@ingest.wildedge.dev/<key>" \
wildedge run --integrations timm -- python app.py
Validate your environment before deploying:
wildedge doctor --integrations all --network-check
Useful flags:
| Flag | Description |
|---|---|
--integrations |
Comma-separated list of integrations to activate (or all) |
--hubs |
Hub trackers to activate: huggingface, torchhub |
--print-startup-report |
Print per-integration status at startup |
--strict-integrations |
Fail if a requested integration can't be loaded |
--no-propagate |
Don't pass WildEdge env vars to child processes |
SDK
import wildedge
client = wildedge.WildEdge(dsn="...") # or WILDEDGE_DSN env var
client.instrument("transformers", hubs=["huggingface"])
# models loaded after this point are tracked automatically
Supported integrations
On-device
| Integration | Example |
|---|---|
transformers |
transformers_example.py |
mlx |
mlx_example.py |
timm |
timm_example.py |
gguf |
gguf_example.py |
onnx |
onnx_example.py |
ultralytics |
- |
tensorflow |
tensorflow_example.py |
torch |
pytorch_example.py |
keras |
keras_example.py |
Remote models
| Integration | Example |
|---|---|
openai |
openai_example.py |
Hub tracking
Pass hubs= to track model download provenance. Hubs are framework-agnostic and can be combined with any integration.
| Hub | Tracks |
|---|---|
huggingface |
Downloads via huggingface_hub |
torchhub |
Downloads via torch.hub |
For unsupported frameworks, see Manual tracking.
Configuration
| Parameter | Default | Description |
|---|---|---|
dsn |
- | https://<secret>@ingest.wildedge.dev/<key> (or WILDEDGE_DSN) |
app_version |
None |
Your app's version string |
app_identity |
<project_key> |
Namespace for offline persistence. Set per-app in multi-process workloads (or WILDEDGE_APP_IDENTITY) |
enable_offline_persistence |
true |
Persist unsent events to disk and replay on restart |
sampling_interval_s |
30.0 |
Seconds between background hardware snapshots. Set to 0 or None to disable (or WILDEDGE_SAMPLING_INTERVAL_S) |
For advanced options (batching, queue tuning, dead-letter storage), see Configuration.
Privacy
Report security & priact issues to: wildedge@googlegroups.com.
Links
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wildedge_sdk-0.1.0.tar.gz.
File metadata
- Download URL: wildedge_sdk-0.1.0.tar.gz
- Upload date:
- Size: 232.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e5fd7318927e4648e90830a5c7cd07fe6551bfa04935f776616b410e8d9ab2a
|
|
| MD5 |
31ac8ae496f011d7fc21104d546502d9
|
|
| BLAKE2b-256 |
ff5b1b97e54054aa3c8e2335b3516f5759505cbd579f7c49cc16c58da92c272d
|
Provenance
The following attestation bundles were made for wildedge_sdk-0.1.0.tar.gz:
Publisher:
release.yml on wild-edge/wildedge-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wildedge_sdk-0.1.0.tar.gz -
Subject digest:
8e5fd7318927e4648e90830a5c7cd07fe6551bfa04935f776616b410e8d9ab2a - Sigstore transparency entry: 1115206884
- Sigstore integration time:
-
Permalink:
wild-edge/wildedge-python@111b3cc5350f8a5416ebbf584c6e3fa6d42bda2f -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/wild-edge
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@111b3cc5350f8a5416ebbf584c6e3fa6d42bda2f -
Trigger Event:
push
-
Statement type:
File details
Details for the file wildedge_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: wildedge_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 98.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60ba378d145202dd00f597a54354980b61707a0aa23f390151d7f5282b37baf1
|
|
| MD5 |
e3afd7709f8feb509e43266463247494
|
|
| BLAKE2b-256 |
ab48150d7bd10326b8cf56be760eb5855996105b63e953d966f4ee98b1f7e21b
|
Provenance
The following attestation bundles were made for wildedge_sdk-0.1.0-py3-none-any.whl:
Publisher:
release.yml on wild-edge/wildedge-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wildedge_sdk-0.1.0-py3-none-any.whl -
Subject digest:
60ba378d145202dd00f597a54354980b61707a0aa23f390151d7f5282b37baf1 - Sigstore transparency entry: 1115206893
- Sigstore integration time:
-
Permalink:
wild-edge/wildedge-python@111b3cc5350f8a5416ebbf584c6e3fa6d42bda2f -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/wild-edge
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@111b3cc5350f8a5416ebbf584c6e3fa6d42bda2f -
Trigger Event:
push
-
Statement type: