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.27.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 931787e15d5d6992d0a89c5d492e0958af3896d77eaee39626e5e296e70ad6e0 |
|
MD5 | 9145e6bb0df721d191312edb99b8815a |
|
BLAKE2b-256 | 7e18854f93abb84ac47f3d72266d26af0d00c57a4eba2aa4b2d22e343662117d |
Hashes for protectonce_native-0.1.27-py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1526d9e101644faa2ae020ed8d07881004f450c5d8d6caede9aca15d25c782b |
|
MD5 | b3400d039c6d3f723b1a035cda4aaaa5 |
|
BLAKE2b-256 | 7dfd10b349268086ceb2ed3c382e9583257febd17f880e07ca0e472176d82d14 |