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.23.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d83493864d281c8152e905403ae11bb15428ee840e5900278d7b031f566de303 |
|
MD5 | 3c3b22f98f99512361a1974937ad453e |
|
BLAKE2b-256 | cf4c8fee6cb71a1530573df39255c058f3014278995775ee0483acfab59dbe22 |
Hashes for protectonce_native-0.1.23-py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac771b97f1871aa7668728d4ccd567b34f20a58e6dd28ef1e6551ca5e2dd2c4e |
|
MD5 | 4b630ce72fc1f6174e664ccd611198db |
|
BLAKE2b-256 | 5259cd7b1b7ccb1c5d1ac54bc7158ab408696f2d19ba61461c938b178f2c79da |