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.6.tar.gz (17.4 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.6-cp313-cp313-win_amd64.whl (145.5 kB view details)

Uploaded CPython 3.13Windows x86-64

wadas_runtime-0.2.6-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.6-cp312-cp312-win_amd64.whl (145.4 kB view details)

Uploaded CPython 3.12Windows x86-64

wadas_runtime-0.2.6-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.6-cp311-cp311-win_amd64.whl (144.5 kB view details)

Uploaded CPython 3.11Windows x86-64

wadas_runtime-0.2.6-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.6-cp310-cp310-win_amd64.whl (143.5 kB view details)

Uploaded CPython 3.10Windows x86-64

wadas_runtime-0.2.6-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.6.tar.gz.

File metadata

  • Download URL: wadas_runtime-0.2.6.tar.gz
  • Upload date:
  • Size: 17.4 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.6.tar.gz
Algorithm Hash digest
SHA256 0db8c3593507ff1612de9e9d8261057e09952fe0e74602af18a448b4ec6d34bc
MD5 5abe833563e0a1d0883e0d190ade3c9c
BLAKE2b-256 a55a4134715c2d3700330e80c65636a8e49420984d2196e3044ed2e83f76e2a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wadas_runtime-0.2.6-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c40de17b2ecdddad054904459266a220e7dee25946e60935379854350112aceb
MD5 98daba6df70604ac6266901a543da653
BLAKE2b-256 ed7e1cfaac1219fc94f84dfa9d12b08ab197bff3934c76d3f39cfe7017c92856

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wadas_runtime-0.2.6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8a19a00542eae34d8a24fd63972be870a9e9c67468c00e97b7b911186bd32365
MD5 b615796fd72accfb53b1dc0bbbc1f0ea
BLAKE2b-256 4ea3bba25d89037c999bfee1219fe04366e8a384cf2bc852193a215619241ef0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wadas_runtime-0.2.6-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 a898f18beb96f20ce8452f2d2b90206a74ab8c282ec782a91f063c284739fdd2
MD5 c820e2063ccfa890c63f74f984c45cbb
BLAKE2b-256 4a97dfd119a8345991ae806c3997edba76cd9b57a3a545db87de1a1a3126b266

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wadas_runtime-0.2.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ab6616f9521fef39c93a0ee37d5d415076899bac2b5a5c87beca18afbba5b28b
MD5 3fa032e2b6797d86c7ac4a1f5465a36b
BLAKE2b-256 c92e003196b7769faecd1a5d62d1d1a2338f2b42133266df7f4252767b8ad65c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wadas_runtime-0.2.6-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 69b4388d5a60534e4166f60be6794d08bfd98d29e3d50e1c9c43f0ad9eacf34a
MD5 824294ea4fd70da60578d33458919442
BLAKE2b-256 a47d576798f4e09e7b4683360d87bff1a646f0a255e270927a14b448c13dfc60

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wadas_runtime-0.2.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b92fc6f31efa7d32c3d4a454a95c3d1dd415b7514b25bfc1626df165a935f58b
MD5 b0e6bc302563f00b8621fc7e45cf49d0
BLAKE2b-256 a01ef603cc2b7d01da554775197a3d9062faafc05d3ee08e84c58f695338e9fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wadas_runtime-0.2.6-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 0bb3af5d0ef904dda0344451c481e78763834a525fec364b4084160a76df4d7e
MD5 19e48fdecde7621951dc9bb52e8afdae
BLAKE2b-256 d25a7c1599203821c10cdc51921a1de28efa7fe239d90fb63be59ebbada781b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wadas_runtime-0.2.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 49644c91d32e0a708f4cdeef2e6980b12d9d4eaa6bf0770e846b4d40cb427545
MD5 b11029d4ee66b89eaeebbcc639ada336
BLAKE2b-256 d9442444a739fd3ebc0d468cfd4d7fa458cc0b8469954a8bb675328b4588f68d

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