Pre-release
This release is a pre-release and may not be stable for production use.
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.dev20200805125716
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.dev20200805125716.tar.gz | 4.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pulse_executor-0.0.1.dev20200805125716-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.0 kB
Release files / pulse-executor-0.0.1.dev20200805125716.tar.gz
| Download URL | pulse-executor-0.0.1.dev20200805125716.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
51354d3e8d9b995616839b1852f4a4c4267e261eb1c20fcb032fe03ebd432eb1
|
|
BLAKE2b-256 checksum How to use checksums |
63a60bb3e94f4e98c7c8083e966c1ba64eccb070fa83ca5a211bd7b6ac77c77b
|
| 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.2.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.11
|
Release files / pulse_executor-0.0.1.dev20200805125716-py3-none-any.whl
| Download URL | pulse_executor-0.0.1.dev20200805125716-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
55996009d650d3b24cd58996ff4f6c80d5e8f92a03e87433840ed0f0247b7982
|
|
BLAKE2b-256 checksum How to use checksums |
ab13ae04cc7672da59550db623ef45b2912c0ba2491b720dab39fe64165a5e62
|
| 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.2.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.11
|