Skip to main content

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/*

Metadata

Release files for wadas-runtime 0.2.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wadas-runtime 0.2.9
File Size Uploaded
wadas_runtime-0.2.9.tar.gz 17.5 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for wadas-runtime 0.2.9
File
wadas_runtime-0.2.9-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
wadas_runtime-0.2.9-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details
wadas_runtime-0.2.9-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
wadas_runtime-0.2.9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details
wadas_runtime-0.2.9-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
wadas_runtime-0.2.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details
wadas_runtime-0.2.9-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
wadas_runtime-0.2.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details

Total release size: 15.7 MB

Release files / wadas_runtime-0.2.9.tar.gz

Download URL wadas_runtime-0.2.9.tar.gz
Size 17.5 kB
Tags Source
SHA-256 checksum
How to use checksums
84bf9a11dcd4429a49ba0e44ce59c9fb2a75117af103fbb57409ef603a72ca5d
BLAKE2b-256 checksum
How to use checksums
a75af68a07e3a2cf8696a645e593306b1617f5e9460ad6026b9eccb46d23ff62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / wadas_runtime-0.2.9-cp313-cp313-win_amd64.whl

Download URL wadas_runtime-0.2.9-cp313-cp313-win_amd64.whl
Size 2.6 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
8f0fddc15623787d9fb360a27b9493c8e71064d533bf8eeaad2d9471e895420f
BLAKE2b-256 checksum
How to use checksums
b0784f5ce5f936f6d47a2dbeb732b066cce12913b0dee0c0c901a46f19394239
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / wadas_runtime-0.2.9-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL wadas_runtime-0.2.9-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.3 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
f48ebb7df10081bd9a58ecdd7b895fd946b28a95bcb7aade0000b5b2c437a586
BLAKE2b-256 checksum
How to use checksums
56b981f0ef22aecf973e9d95a6e44f0588ffe42daa5df085f82a391b42ee8448
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / wadas_runtime-0.2.9-cp312-cp312-win_amd64.whl

Download URL wadas_runtime-0.2.9-cp312-cp312-win_amd64.whl
Size 2.6 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
19ca6d84b4fe62677ae2fb0f209038a479d22b42021ce4714556ccf52acbc04c
BLAKE2b-256 checksum
How to use checksums
ed41e15d18e1ddd1cf1ddf3dbcf76424b3762d8bdaf064f1b5e9380e43bdb677
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / wadas_runtime-0.2.9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL wadas_runtime-0.2.9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.3 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
bbe485662ff8845263772a50ed91e854946d1d6a563d72c4e4ac3c02903e5bf0
BLAKE2b-256 checksum
How to use checksums
aa3a7b6038ee6929d2417603f3bc8054fd1ce0dabcefd6ec4fdb1e819a441e75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / wadas_runtime-0.2.9-cp311-cp311-win_amd64.whl

Download URL wadas_runtime-0.2.9-cp311-cp311-win_amd64.whl
Size 2.6 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
646e05f250c561a3e6d184baf4fcb0525ca468e263adab60a8b883be31886e6f
BLAKE2b-256 checksum
How to use checksums
57a79749b8886a1b819a05c03b7ac415fda10aeb3358d3b9302a63399300553c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / wadas_runtime-0.2.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL wadas_runtime-0.2.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.3 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
e5fafffae030fcdc435e1954e548fae3c30467df5eb6c99c8e592f8260cd3e95
BLAKE2b-256 checksum
How to use checksums
c21979baf6e5ed494b8c9418e8b9929d03bf4e4c16e7c8e7fc1414ab6c0e36a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / wadas_runtime-0.2.9-cp310-cp310-win_amd64.whl

Download URL wadas_runtime-0.2.9-cp310-cp310-win_amd64.whl
Size 2.6 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
5afc0f674679e58b65d100f1f4bb4498517a3393ab4488269c154a1f916af05d
BLAKE2b-256 checksum
How to use checksums
a165411e0462c840f59b01cb12a039b456977b47ea332e307a1a74fc89c2c636
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / wadas_runtime-0.2.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL wadas_runtime-0.2.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.3 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
1652059a67ad5a16255749928b12eae5b977e7e19bc353e387d8a72f6ece7169
BLAKE2b-256 checksum
How to use checksums
9d550f4a898d56820ed1e46a39d383f2a4ea5a41ef0cf630da01647778fd06ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.2.9 This release

9 release files

0.2.6

9 release files

0.2.5

9 release files

0.2.4

9 release files

0.2.3

9 release files

0.2.2

9 release files

0.2.1

9 release files

0.2.0

9 release files

0.1.0

4 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page