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
Release files for pulse-executor 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pulse-executor-0.0.1.tar.gz | 4.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pulse_executor-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.7 kB
Release files / pulse-executor-0.0.1.tar.gz
| Download URL | pulse-executor-0.0.1.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6ee01a920988dcc5f85e327eae27a455171a1e47f84eb84f4377105d649ddb9a
|
|
BLAKE2b-256 checksum How to use checksums |
d0892585acdef2b4fe37a846d33f83eb63ddec21aa68f03682201cd2d0d76954
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / pulse_executor-0.0.1-py3-none-any.whl
| Download URL | pulse_executor-0.0.1-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c944fc31c9e151b58bc66b5b216ee3f9517bef5ba94690aec1748700fd370443
|
|
BLAKE2b-256 checksum How to use checksums |
ea7e493edb9a6e5710f1219a1c2f6e4a9fab3d8b3fdf80d38e1496486b09df36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|