Skip to main content

LuxonisML

License PyBadge PyPI PyPI - Downloads

CI Docs codecov

Ruff Docformatter Black

This library includes a collection of helper functions and utilities for the Luxonis MLOps stack. API documentation is available at https://luxonis.github.io/luxonis-ml/.

The library includes the following submodules:

  • Dataset Management: Creating computer vision datasets focused around Luxonis hardware and to be used with our LuxonisTrain framework.
  • Tracking: Our implementation of a logger for use with PyTorch Lightning or in LuxonisTrain
  • Telemetry: A lightweight, reusable telemetry layer with pluggable backends.
  • Utils: Miscellaneous utils for developers.

NOTE: The project is in a beta state, it might be missing certain features or contain bugs - please report any feedback!

Table of Contents

Installation

The luxonis_ml package is hosted on PyPI, so you can install it with pip.

We offer several versions of the package:

  • luxonis-ml[data]: installs necessary dependencies for using luxonis_ml.data module
  • luxonis-ml[utils]: installs necessary dependencies for using luxonis_ml.utils module
  • luxonis-ml[tracker]: installs necessary dependencies for using luxonis_ml.tracker module
  • luxonis-ml[telemetry]: installs necessary dependencies for using luxonis_ml.telemetry module
  • luxonis-ml[all]: installs all dependencies
  • luxonis-ml[dev]: installs all dependencies, including development dependencies

Additional dependencies

Additional dependencies for working with specific cloud services can be installed using the following extras:

  • gcs: Dependencies for working with Google Cloud Storage
  • s3: Dependencies for working with AWS S3
  • roboflow: Dependencies for downloading datasets from Roboflow
  • mlflow: Dependencies for working with MLFlow

[!NOTE] If some of the additional dependencies are required but not installed (e.g. attempting to use Google Cloud Storage without installing the gcs extra), then the missing dependencies will be installed automatically.

Example:

Installing the package with the data extra and dependencies for gcs and roboflow:

pip install luxonis-ml[data,gcs,roboflow]

Installing the package with all dependencies:

pip install luxonis-ml[all]

Documentation

The latest API documentation is published with GitHub Pages:

Versioned release docs are published under releases/<tag>/ for releases created after v0.8.6-beta.

To build the docs locally, install the development dependencies and run:

python tools/build_pydoctor_docs.py --mode current --output apidocs

The local site will be written to apidocs/latest/index.html.

CLI

The luxonis-ml package comes with a CLI that can be used to interact with the library.

To see the available commands, run:

luxonis_ml --help

Contributing

If you want to contribute to this project, read the instructions in CONTRIBUTING.md

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

luxonis_ml-0.9.1.tar.gz (312.5 kB view details)

Uploaded Source

Built Distribution

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

luxonis_ml-0.9.1-py3-none-any.whl (402.2 kB view details)

Uploaded Python 3

File details

Details for the file luxonis_ml-0.9.1.tar.gz.

File metadata

  • Download URL: luxonis_ml-0.9.1.tar.gz
  • Upload date:
  • Size: 312.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for luxonis_ml-0.9.1.tar.gz
Algorithm Hash digest
SHA256 354b2df230d64438f79fa5184e1666be3eb2fe735da2ae11d84351f4594ee0a0
MD5 9be8277d929134e1df454524d59c0571
BLAKE2b-256 9bb7624b9834fcbea32fcde3747acb9c5102b3db36a47a287165211ffa5317f7

See more details on using hashes here.

File details

Details for the file luxonis_ml-0.9.1-py3-none-any.whl.

File metadata

  • Download URL: luxonis_ml-0.9.1-py3-none-any.whl
  • Upload date:
  • Size: 402.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for luxonis_ml-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 98095a2f8cc33e5a5e7074ca49d41b662e3dcca7d5dd1a6d27f24d5e32c9f1c7
MD5 bfe64c9467d19ade9ac89945e620bc3b
BLAKE2b-256 c12e7dcbe49f0e713cb87d4eaa51a09b1670c6beb29af886f777d08e5174b94b

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 Sentry Error logging StatusPage Status page