Skip to main content

The official Embedl Hub Python client library.

Project description

Embedl Hub Python library

Optimize and deploy your model on any edge device with the Embedl Hub Python library:

  • Compile your model for execution on CPU, GPU, NPU or other AI accelerators using ONNX Runtime, TensorRT, or TFLite backends.
  • Profile your model's latency and memory usage on real edge devices in the cloud.
  • Invoke your compiled model to run inference with real input data.

The library logs your metrics, parameters, and results on the Embedl Hub website, allowing you to inspect, compare, and reproduce your results.

For comprehensive getting started guides and API reference, visit the Embedl Hub documentation.

Create a free Embedl Hub account to get started.

Installation

embedl-hub requires Python 3.10 or newer.

The base install gives you experiment tracking, the CLI shell (auth, init, log, list-devices), and the Python tracking API — without pulling in any backend execution toolchain:

pip install embedl-hub

To use the bundled compile, profile, and invoke components (Embedl's ready-made wrappers for TFLite, ONNX Runtime, and TensorRT), install one or more toolchain extras:

Workflow Install command
TFLite (local + QAI Hub + device cloud) pip install 'embedl-hub[tflite]'
ONNX Runtime (QAI Hub + embedl-ORT) pip install 'embedl-hub[onnxruntime]'
TensorRT (trtexec over SSH) pip install 'embedl-hub[tensorrt]'
Everything pip install 'embedl-hub[all]'

Linux aarch64 installs of [tflite] skip the onnx2tf-based local conversion path and the ai-edge-* quantization deps because the upstream TensorFlow package does not publish Linux aarch64 wheels. The QAI Hub TFLite provider still works.

Running a backend command without its extra installed prints a clear hint pointing at the right pip install command rather than a raw import traceback.

Usage

The embedl-hub library can be used in two ways:

CLI

The embedl-hub (or ehub) command provides an end-to-end workflow for compiling, profiling, and invoking models from the terminal:

Usage: embedl-hub [OPTIONS] COMMAND [ARGS]...

 embedl-hub end-to-end Edge-AI workflow CLI

╭─ Options ────────────────────────────────────────────────────────────────╮
│ --version      -V               Print embedl-hub version and exit.       │
│ --verbose      -v      INTEGER  Increase verbosity (-v, -vv, -vvv).      │
│ --help                          Show this message and exit.              │
╰──────────────────────────────────────────────────────────────────────────╯
╭─ Commands ───────────────────────────────────────────────────────────────╮
│ auth           Store the API key for embedl-hub CLI.                     │
│ init           Configure persistent CLI context.                         │
│ show           Print the active project name and artifact directory.     │
│ compile        Compile a model for on-device deployment.                 │
│ profile        Profile a compiled model on a target device.              │
│ invoke         Run inference on a compiled model.                        │
│ log            Show runs created with this CLI tool.                     │
│ list-devices   List available devices.                                   │
╰──────────────────────────────────────────────────────────────────────────╯

Python API

For programmatic use, import from the embedl_hub package. The API provides compiler, profiler, and invoker components for each supported backend (ONNX Runtime, TensorRT, TFLite):

from embedl_hub.compile import OnnxRuntimeCompiler
from embedl_hub.profile import OnnxRuntimeProfiler
from embedl_hub.invoke import OnnxRuntimeInvoker

See the Embedl Hub documentation for detailed guides and examples.

License

Copyright (C) 2025, 2026 Embedl AB

This software is subject to the Embedl Hub Software License Agreement.

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

embedl_hub-2026.5.2.tar.gz (134.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

embedl_hub-2026.5.2-py3-none-any.whl (176.7 kB view details)

Uploaded Python 3

File details

Details for the file embedl_hub-2026.5.2.tar.gz.

File metadata

  • Download URL: embedl_hub-2026.5.2.tar.gz
  • Upload date:
  • Size: 134.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for embedl_hub-2026.5.2.tar.gz
Algorithm Hash digest
SHA256 abb65c8e89689dc2bfbffc6ca3ae08b45b508c2c706e69fe7746db4b5abfcf76
MD5 d12288949723311e490197ce059a003e
BLAKE2b-256 62a3c2cb61e7511fb54caa5c0f70dbdd1a043a44df55a71980cef2369c79fd92

See more details on using hashes here.

Provenance

The following attestation bundles were made for embedl_hub-2026.5.2.tar.gz:

Publisher: release-sdk.yml on embedl/embedl-hub

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file embedl_hub-2026.5.2-py3-none-any.whl.

File metadata

  • Download URL: embedl_hub-2026.5.2-py3-none-any.whl
  • Upload date:
  • Size: 176.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for embedl_hub-2026.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 443a38f8d44d6f096ab430d4f160ff112409b32b16a3ef0695ada31054967e92
MD5 0cfe3d2783eacdccc3428249d8ba8e0f
BLAKE2b-256 8fa1854f8e8b4cf538d75ba17a68878653fdae82754207f49b9b3d018106f8ac

See more details on using hashes here.

Provenance

The following attestation bundles were made for embedl_hub-2026.5.2-py3-none-any.whl:

Publisher: release-sdk.yml on embedl/embedl-hub

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page