edgelens-sdk — Python client for the EdgeLens Edge AI Device Farm
The base Python client used by all Python EdgeLens integrations (pytest, Robot Framework, MLflow, W&B, the CLI, and the MCP server).
Install
pip install edgelens-sdk
The distribution is edgelens-sdk; the import name is edgelens
(from edgelens import EdgeLensClient). The PyPI package named
edgelens is an unrelated project and is not this SDK.
Quick Start
from edgelens import EdgeLensClient
client = EdgeLensClient() # reads EDGELENS_API_KEY from env
with client.create_session(device_type="recamera-2002", os="stock-os") as session:
session.wait_ready()
session.device.deploy(model="./models/face_detection.cvimodel")
session.device.display.play("./test_data/crowd_scene.mp4")
stats = session.device.inference.run(duration=30)
assert stats.fps.avg > 15
For reCamaginedOS (raw, customer provides binary):
with client.create_session(device_type="recamera-2002", os="recamagined") as session:
session.wait_ready()
# Files land in /userdata/Models/ on reCamaginedOS.
session.device.deploy(
model="./build/my_inference",
files=["./models/my_model.cvimodel"],
)
result = session.device.exec(
"chmod +x /userdata/Models/my_inference && "
"/userdata/Models/my_inference "
"--model /userdata/Models/my_model.cvimodel --duration 10"
)
assert result.success
On reCamaginedOS, deploy(model=..., files=[...]) places the model and
each file in /userdata/Models/ under its base filename. Files arrive
readable but not executable: before running a deployed binary, make it
executable, e.g. chmod +x /userdata/Models/my_inference.
API Surface
EdgeLensClient— entry point, creates sessionsSession— session lifecycle (wait_ready, refresh, release)Device— device operationsdevice.deploy()— model deploymentdevice.display.*— display control (play, show, stop)device.inference.*— built-in inference (stock OS only)device.exec()— run commands via SSHdevice.ssh()— SSH connection detailsdevice.info()— device info reportdevice.stream_url()— camera stream URL (stock OS only)
Development
cd core/python
pip install -e ".[dev]"
pytest
License
MIT
Metadata
Release files for edgelens-sdk 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| edgelens_sdk-0.2.1.tar.gz | 20.4 kB | With provenance | Details for edgelens_sdk-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| edgelens_sdk-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for edgelens_sdk-0.2.1-py3-none-any.whl |
Total release size: 46.1 kB
Release files / edgelens_sdk-0.2.1.tar.gz
| Download URL | edgelens_sdk-0.2.1.tar.gz |
|---|---|
| Size | 20.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0aeefbff1dd81ead21a95413c4a646dfa8685a1bd61343adffc69e3d51547ee4
|
|
BLAKE2b-256 checksum How to use checksums |
d38d11db2bdd825c4442d61327b0b2f53ca9087aa01c9f197e265031bda0a3d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.
Transparency logRelease files / edgelens_sdk-0.2.1-py3-none-any.whl
| Download URL | edgelens_sdk-0.2.1-py3-none-any.whl |
|---|---|
| Size | 25.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0365b859cf92f16fbadc8bd3f5166011ef279b289f90a871034d4412218e557c
|
|
BLAKE2b-256 checksum How to use checksums |
1e87c38317837ae79bdb458cd6843a50f50a6244e5cc2f58bef3c5a0dad7b850
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.
Transparency logSecurity for edgelens-sdk 0.2.1
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for edgelens_sdk-0.2.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.
Transparency logA 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.