Pulse Program Executor
Project description
Pulse Program Executor
Installation
Run the following command in a terminal:
pip install pulse-executor -i https://pip.rozum.com/simple
Usage
This library must be used to control the execution of programs generated by pulse-program-template and uploaded to the sandbox in Pulse Controlbox.
In order to start/stop program execution (for example, from pulse-program-player), the following steps must be performed:
- Connect to the sandbox on the controlbox
- Activate the virtual environment that is created for the program:
source /home/sandbox/player/{{project_name}}/venv/bin/activate
- Define address of Robot that will be used to execute Program
export ROBOT_ADDRESS="localhost:8081"
- Execute:
pulse-executor-run {{program_name}}
- To stop the program and execute the
after_all()
step the following command:source /home/sandbox/player/{{project_name}}/venv/bin/activate && pulse-executor-stop && deactivate
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
pulse-executor-0.0.1.tar.gz
(4.6 kB
view details)
Built Distribution
File details
Details for the file pulse-executor-0.0.1.tar.gz
.
File metadata
- Download URL: pulse-executor-0.0.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ee01a920988dcc5f85e327eae27a455171a1e47f84eb84f4377105d649ddb9a |
|
MD5 | 890edd65bc1f90eca106ea27f733c02f |
|
BLAKE2b-256 | d0892585acdef2b4fe37a846d33f83eb63ddec21aa68f03682201cd2d0d76954 |
File details
Details for the file pulse_executor-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: pulse_executor-0.0.1-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c944fc31c9e151b58bc66b5b216ee3f9517bef5ba94690aec1748700fd370443 |
|
MD5 | 576c81a6e75c77f0133d53148f549005 |
|
BLAKE2b-256 | ea7e493edb9a6e5710f1219a1c2f6e4a9fab3d8b3fdf80d38e1496486b09df36 |