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.25.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20309338a8aa686eb742238363735ccb2e0634d8aabb02db4822827266be86d2 |
|
MD5 | e7cd834bec5396668da7c597f2df8a46 |
|
BLAKE2b-256 | fc6554b7ec436445600a9dd55b667dc168db1e9d98fb0a0bc26448f09913d33d |
Hashes for protectonce_native-0.1.25-py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13fa1162568852941e63438ddc9d7e78c8bcb1b25125f5329cc70c1da789ddf2 |
|
MD5 | 883f8d34b4749eca14cb163b3d35573c |
|
BLAKE2b-256 | f46720a03134cab55ba184420dc1af0d3316a00bb7803be6813eb309a1e4a15c |