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

Install embedl-hub with pip:

pip install embedl-hub

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 past runs from the artifact directory.               │
│ 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.4.0.tar.gz (128.2 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.4.0-py3-none-any.whl (166.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: embedl_hub-2026.4.0.tar.gz
  • Upload date:
  • Size: 128.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for embedl_hub-2026.4.0.tar.gz
Algorithm Hash digest
SHA256 b49501f5b1a8cf8397c2f94a9e26565d7752c3a628d4954f6dfacca020fcd0aa
MD5 d319b28e37138ae0e2d0fc59832938d6
BLAKE2b-256 1c305a7fea14bd1b83031329748a746a3f1419934c7427c5026a994974f355ab

See more details on using hashes here.

File details

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

File metadata

  • Download URL: embedl_hub-2026.4.0-py3-none-any.whl
  • Upload date:
  • Size: 166.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for embedl_hub-2026.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1da09d5a5662a3e4657b4fa07838e96fe47a981c8015b2c0cc06280a2fcb9fa2
MD5 06d881a5d0c3f0c36090f10a691ccd4d
BLAKE2b-256 6f39094cf94bf409020cf8bd4f63ce6fa9ad10eca4af06721be34edc0d88d729

See more details on using hashes here.

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