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.dev20200623135624
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.dev20200623135624.tar.gz | 4.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pulse_executor-0.0.1.dev20200623135624-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.0 kB
Release files / pulse-executor-0.0.1.dev20200623135624.tar.gz
| Download URL | pulse-executor-0.0.1.dev20200623135624.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2ceed1b10f0ecfc0ee1b5274a5cac9806c6667d715a049e688ece327906ca168
|
|
BLAKE2b-256 checksum How to use checksums |
1d3a1b2500d78f529adf436cbd2168ea85f42e353f9def4549182e1c7d74de94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.10
|
Release files / pulse_executor-0.0.1.dev20200623135624-py3-none-any.whl
| Download URL | pulse_executor-0.0.1.dev20200623135624-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6aee61da187881a2c99166b78d1eff1739a1f82aaf242744c62516387a5ced44
|
|
BLAKE2b-256 checksum How to use checksums |
fc57a2386a53b4f67b2e7f8b27c22acc55108fc5a6361115d905c02b5238bb65
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.10
|