python agent interface native package
Project description
agent_interface
Interface to call agent_core from different run times other than nodejs
Compilation
Build Minimum requirements (Linux)
Install cmake apt-get install -y cmake
Compilation
Run script ./build.sh
Python Packaging
Packaging minimum requirements
Python3 sudo apt-get install python3.x
nvm needs to be installed
How to install nvm? refer this link https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-20-04
Build python package
./packaging/packaging.sh
Build and publish python package to pypip
./packaging/packaging.sh -p
Testing
Unit tests and Component tests
Build Minimum requirement for Unit and Component tests
Install docker , install nodejs
Compilation and Execution
Run both tests ./tests/test.sh
Unit Tests
Testing agent_interface
with mocked agent_core
Compilation and Execution
Run ./tests/test.sh -u
Where is test report?
HTML test report is generated on path
/tests/unit/out/reports/Unit_test_report.html
Run Unit tests on list of raw docker images
Run ./tests/unit/docker_test.sh
Component tests
Testing agent_interface
and agent_core
with mocked po_backend_mock
Compilation and Execution
Run ./tests/test.sh -c
Where are test reports?
HTML test report is generated on path
/tests/component/out/reports/Component_test_report.html
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for protectonce_native-0.1.24.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f3df5c746fb66bea2ae43447ba0667c4e4c59000ffe1db45eadbc129f3e95a3 |
|
MD5 | 11f7b9e59b0d3780bf29798589154b14 |
|
BLAKE2b-256 | be85d27af3256550264b79015f3206cebf45449bda57ed6f4cda610964ef6ab8 |
Hashes for protectonce_native-0.1.24-py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c83ce53ba186d917f48275b4ab2919c3ec5f19a95dba7a481e7bf3e484aa8a0a |
|
MD5 | 81a564736cf5db264ba0b574ef5eacf0 |
|
BLAKE2b-256 | b599a6b8112010efe649ddef161206d357c2b8d03b3db93fd0864a3fb89ea0ca |