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.4.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.4-cp313-cp313-win_amd64.whl (139.3 kB view details)

Uploaded CPython 3.13Windows x86-64

wadas_runtime-0.2.4-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.4-cp312-cp312-win_amd64.whl (139.3 kB view details)

Uploaded CPython 3.12Windows x86-64

wadas_runtime-0.2.4-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.4-cp311-cp311-win_amd64.whl (138.4 kB view details)

Uploaded CPython 3.11Windows x86-64

wadas_runtime-0.2.4-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.4-cp310-cp310-win_amd64.whl (137.2 kB view details)

Uploaded CPython 3.10Windows x86-64

wadas_runtime-0.2.4-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.4.tar.gz.

File metadata

  • Download URL: wadas_runtime-0.2.4.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.4.tar.gz
Algorithm Hash digest
SHA256 f0dc53d6dcc21c3254e363783ad58efe76ffa45e8f2baac519b50b6416662430
MD5 5313eddb61b0fbaf2e4c9e466f66dc5c
BLAKE2b-256 e7ced0ed600a7df5ed1228048fc85e9d232107df45444ebd9f48cd6b3d503e42

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wadas_runtime-0.2.4-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 054d9eb0281e885876a3f9dfc50b404aac731a7e579dfa6fb1d756f66862bda0
MD5 66061711c789b718fb785abbba04e418
BLAKE2b-256 bf29eda527d083e0b9be1857216997fcfcdee061eac08c3fdfc78fddd2e53593

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wadas_runtime-0.2.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b062baae6bf4914d6c3c07a3002bc2331b9f6b8f51469f2a80e39c6d8a3a5e84
MD5 61faddbbd89070645624593903d6bb82
BLAKE2b-256 99e8497cf697a91aa9019f373a4cc9d9d9ef3359929b61c81a950ec039a76a8e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wadas_runtime-0.2.4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 61b0be348dfd0369761f454d8ad3d9d957236554d00e4293a73026bdb9377cc8
MD5 7659dfbac5990490f07cb3a95507cde7
BLAKE2b-256 2422c4b41b24edab40141b933d3b9d6cc8a326c8c789ce8e628335a1583079bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wadas_runtime-0.2.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2da855fd8b0c910096dcd544766e1de4603d2e7d64d7c7d90553be0440983e82
MD5 f81ec5c769d02b143ed60f045c65afca
BLAKE2b-256 b955228bd52dfa22824d4989aeca58f5da47c8711562d2340e489b87819a6782

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wadas_runtime-0.2.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 01cd3e09cc00c582124a30070738a9ba656113bfd9448b0f39d5954caa1eebaa
MD5 25e1b5756417ac75d914cad211046c1d
BLAKE2b-256 d96a65cc9824370a4ca1f9876e1c4eaef9e9f86a1d66a9ee187ad0c6be5f03c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wadas_runtime-0.2.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 57b1634a9772cec2a1bd199a027376ae276c6d13583524a52c476096882c878e
MD5 01b381f35eda724d2fbc67ea882beb86
BLAKE2b-256 d140db9d0a54e80e956756bebd8be17ff2b9ddf1aa083fbb37a1dcd9300959ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wadas_runtime-0.2.4-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 5f89d29a069918407e49d6a29b47ffa62b54420279bc4449e7bcbc3d0e4984f9
MD5 5d611d52327b628296530808aeadacf2
BLAKE2b-256 912e194e60265b4d45728017761b9879cc013f92150f2a242229160e40232555

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wadas_runtime-0.2.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 704ffcd105fea4e0144d22946c58b6e044b01322cc9b9946192958ee903f248d
MD5 028163eb001f195b7727c244f8ae2058
BLAKE2b-256 fc1394256de39743123bc3c6407c6fd4364f11b8b03bad828f3fe8a40c1c3eaf

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