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:
-
Install the library locally:
pip install wadas_runtime
-
Import the library in your Python project:
import wadas_runtime as wadas
-
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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wadas_runtime-0.2.2.tar.gz.
File metadata
- Download URL: wadas_runtime-0.2.2.tar.gz
- Upload date:
- Size: 15.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11b31af421e3a5940deb2811ff4208b4efb5251f9af0f273a5291946a720bdb5
|
|
| MD5 |
41f162704715570fdd6cbcb42cd34e9f
|
|
| BLAKE2b-256 |
eb407cf491f51ab7aef031d4c88cbfa060f074037cf2233c42c5c2c20f6ccf19
|
File details
Details for the file wadas_runtime-0.2.2-cp313-cp313-win_amd64.whl.
File metadata
- Download URL: wadas_runtime-0.2.2-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 138.0 kB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f2130dc11bb1055af4d8497d7713ad73c2051f785e88e337a08b26c4133dae8
|
|
| MD5 |
c469b0f693c5f1ce567aa44d39db724e
|
|
| BLAKE2b-256 |
7d2264af597d59736e73478b5254eaa38411ea7c81e933cd9e560882799bbaf6
|
File details
Details for the file wadas_runtime-0.2.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: wadas_runtime-0.2.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.13, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
761292bba1de8bf937e2d9bc057854d7ba7d2c5b17a0002ff067adeb077ba139
|
|
| MD5 |
e42c5e151c02d51aa981a0a618311607
|
|
| BLAKE2b-256 |
83f000529e423494f8a46252e051b128249eba918348758cc35c5314151b9428
|
File details
Details for the file wadas_runtime-0.2.2-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: wadas_runtime-0.2.2-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 138.0 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
270cd40217030fe2d948e7b98ae3a7373ffca3b81fa4fdc6dc7e3b0adfb0bfd2
|
|
| MD5 |
fef17177288d5345b5f2c0744edfe9c3
|
|
| BLAKE2b-256 |
8568481e471c13222ae80f0d51901fcc7109fe8f2e35a918af5a2d50a2e0d730
|
File details
Details for the file wadas_runtime-0.2.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: wadas_runtime-0.2.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98398d4e41591dc71c3cbea0de2bf8919e46548cf002b6925d7a8eada6ce0b42
|
|
| MD5 |
dff19a0faa0d6bba8edb01bf0fa28ed2
|
|
| BLAKE2b-256 |
f82ac2557a90a32a3cd95ea35ac9d5db3508c84d6b2d7547d5755c338dccc416
|
File details
Details for the file wadas_runtime-0.2.2-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: wadas_runtime-0.2.2-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 137.0 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01c74248d1d2fe9886bbd76db4f15592ab0ae1a94123ca57965f3daec22784a6
|
|
| MD5 |
99d350a0a2775067c36c5d162774d1a3
|
|
| BLAKE2b-256 |
ba3d68069de503bb28e0c41968a7ff6140cf02f28180fa3b014aab2aa932565d
|
File details
Details for the file wadas_runtime-0.2.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: wadas_runtime-0.2.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4e56ee99450840a588f60b0d822ebb441887962615e58b74361bab437e3030b
|
|
| MD5 |
3bee7efcad2b0ed443e20dab9fd4710a
|
|
| BLAKE2b-256 |
e746e7cc8305e7b8481f6d86392cf1a9bdc85a469f0b4b412146f668f6068ce4
|
File details
Details for the file wadas_runtime-0.2.2-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: wadas_runtime-0.2.2-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 135.8 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
efaeedb465b4f8d4a5969e206951915f770ecb8887f8171a9c65a425b3b0269b
|
|
| MD5 |
9bf742c778124e7a76689f11cb57c150
|
|
| BLAKE2b-256 |
d7728287fe090855af4f100ecc3fb337b08b905dde6b5b70700601a9be447d5b
|
File details
Details for the file wadas_runtime-0.2.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: wadas_runtime-0.2.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e7c824c4226fe0ed902c3b3c9e1a6d990869d362d8d7ff8f68f437a444e10d2
|
|
| MD5 |
599cd7e7fe7c0f33da78d313ca9610ca
|
|
| BLAKE2b-256 |
ae8b9d4b831dd39cda26942eeeb74577c461f5f8e4f09ee045e7391231b1293a
|