Skip to main content

Wadas Inference Runtime

Project description

WADAS Runtime

Description

WADAS Runtime is a library designed to facilitate inference using OpenVINO for the Wild Animals Detection and Alert System (WADAS) project. It provides tools and utilities to streamline the decryption and execution of AI models.

Usage

To use the WADAS Runtime library, follow these steps:

  1. Install the library locally:

    pip install wadas_runtime
    
  2. Import the library in your Python project:

    import wadas_runtime as wadas
    
  3. Load and compile the model. The library will decrypt the model in real time

    import wadas_runtime as wadas
    
    xml, bin = # Path to the model XML and encrypted binary file
    compiled_model = wadas.load_and_compile_model(xml, bin, "GPU")
    

Developer Guide

It is suggested to install the package locally by using pip install -e .[dev]. OpenSSL is required to build the package and needs to be installed separately.

Git hooks

All developers should install the git hooks that are tracked in the .githooks directory. We use the pre-commit framework for hook management. The recommended way of installing it is using pip:

pre-commit install

If you want to manually run all pre-commit hooks on a repository, run pre-commit run --all-files. To run individual hooks use pre-commit run <hook_id>.

Uninstalling the hooks can be done using

pre-commit uninstall

Testing the library

Python test uses pytest library. Type

cd test && pytest

to run the full test suite.

Generate Python packets

To create packets run the following commands

python -m build --sdist
cibuildwheel --platform windows --output-dir dist

Publishing packets

Then check on the built sdist and wheel that are properly formatted (all files should return a green PASSED)

twine check dist/*

Upload the packets to testpypi

twine upload --repository testpypi dist/*

To upload them to the real index (verify first with testpypi)

twine upload dist/*

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

wadas_runtime-0.2.3.tar.gz (16.0 kB view details)

Uploaded Source

Built Distributions

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

wadas_runtime-0.2.3-cp313-cp313-win_amd64.whl (139.3 kB view details)

Uploaded CPython 3.13Windows x86-64

wadas_runtime-0.2.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

wadas_runtime-0.2.3-cp312-cp312-win_amd64.whl (139.3 kB view details)

Uploaded CPython 3.12Windows x86-64

wadas_runtime-0.2.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

wadas_runtime-0.2.3-cp311-cp311-win_amd64.whl (138.4 kB view details)

Uploaded CPython 3.11Windows x86-64

wadas_runtime-0.2.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

wadas_runtime-0.2.3-cp310-cp310-win_amd64.whl (137.2 kB view details)

Uploaded CPython 3.10Windows x86-64

wadas_runtime-0.2.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

File details

Details for the file wadas_runtime-0.2.3.tar.gz.

File metadata

  • Download URL: wadas_runtime-0.2.3.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for wadas_runtime-0.2.3.tar.gz
Algorithm Hash digest
SHA256 1b6002c5c1285a424bb8a3a5ac4299bd3f493f69251dd863dca43f201b6c61d2
MD5 15d7d4cfe0a1102af1d0375844370632
BLAKE2b-256 5081d46e2ba386b0a3704d12859c0dab9d5fad1868c187c8f030e0d0dc778762

See more details on using hashes here.

File details

Details for the file wadas_runtime-0.2.3-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for wadas_runtime-0.2.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 7b61d92944317acb1d75b96372cac61d71b1dc85ad390fd92b416f90f55bc835
MD5 3338d9262ac358f89e56a639941c3746
BLAKE2b-256 d4bdbe6bb88c4eb7902efb8101969788d4a5a3bf3700803148074833734e9d14

See more details on using hashes here.

File details

Details for the file wadas_runtime-0.2.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for wadas_runtime-0.2.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 424aad3805779f557250880bad9e4d5de64d55aafa8bcb842cd2214bc81cb0fe
MD5 8c797e8a7c2977c85e11356a8e310931
BLAKE2b-256 f98eedc7e966a74333f8148a3ac4d9f0ee8fe20ba7971fd21a66a2e246ee4ea8

See more details on using hashes here.

File details

Details for the file wadas_runtime-0.2.3-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for wadas_runtime-0.2.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 548a6f2287cf60d70656528f331394b0a958e32e32b9638cb5772506077c371c
MD5 335c025064a4140f4948687097f145fd
BLAKE2b-256 7cd70572dadc792e3ff18cfc54fb85e446b63933af0e91e3c2e7de50eea49e0d

See more details on using hashes here.

File details

Details for the file wadas_runtime-0.2.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for wadas_runtime-0.2.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 12be47e2d8cf9aa51f7b5b78b8dfbf17475265c55a4a14981ba2c0d1863c3fe7
MD5 6daa5479ea33223f9e6a4723a530f05b
BLAKE2b-256 9d69440ce7b643777f9074f7b93d33432e4192fb87aca2b97c2626b3c1f2214e

See more details on using hashes here.

File details

Details for the file wadas_runtime-0.2.3-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for wadas_runtime-0.2.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 81e7e0f493f978134af9de361827b17d339aca03b7cad2905c120154e345aed9
MD5 96a54d39a5de96deeb5b45a782247306
BLAKE2b-256 77ad27d2416df423b0c32710c473bf5d6b251c9c3875c8bbb611b90ea35b5c2f

See more details on using hashes here.

File details

Details for the file wadas_runtime-0.2.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for wadas_runtime-0.2.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5e65117766905302052f77caa732d5a2cfa090547a7a2007b2c0cd906c5f4a8a
MD5 a823493b31a7514e4b80af0e85e1162c
BLAKE2b-256 0cc51b5bb8ce470f743979e173af781e1d68cac5805d6ad48825a70e588f7f1e

See more details on using hashes here.

File details

Details for the file wadas_runtime-0.2.3-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for wadas_runtime-0.2.3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 2f71bccfceefc5467a1929e578ebec2cdc6d6e4ac9c4f76201ea151358ab9c45
MD5 ab4464d7828d6ccdbbb46ec32e56b69d
BLAKE2b-256 ebc4726cff1cf74da27a23cad3a6af816c21106b7ee03efedcb0525e867f266b

See more details on using hashes here.

File details

Details for the file wadas_runtime-0.2.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for wadas_runtime-0.2.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 27de7c0e8ffb55026fd6abed3c45ba2e7dd8f7f1208ed568d769793b0a6a3b80
MD5 d41790148db95d7118ce16686301fb6f
BLAKE2b-256 70ce64156f421328a0cd6829b7c08bb1c764ab2d4d29bba79823482b048f7858

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