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.26.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22bfe1513f82a1a30b786512506352a2e2a10a69c1e9b077b5b4ec7ba21f01ce |
|
MD5 | 97548844597e5326c654d7af9b63f83a |
|
BLAKE2b-256 | f7b174fbb778fce03f56d39c25a22b1a08d4d693c3e831405f3f4150aadaed6a |
Hashes for protectonce_native-0.1.26-py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f677e38e65f00cbd8e3b3d7bdc053a690fd6cc15fab7e46c6ed98009ce71836 |
|
MD5 | e0f792d877f5d5fd7ea8f832051e6292 |
|
BLAKE2b-256 | e6bd751d5289f453c4f837b1d774e439465f3cb16c9b40fe22fd5d0ace4b182d |