Skip to main content

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:

  1. Connect to the sandbox on the controlbox
  2. Activate the virtual environment that is created for the program: source /home/sandbox/player/{{project_name}}/venv/bin/activate
  3. Define address of Robot that will be used to execute Program export ROBOT_ADDRESS="localhost:8081"
  4. Execute: pulse-executor-run {{program_name}}
  5. 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


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 hashes)

Uploaded Source

Built Distribution

pulse_executor-0.0.1-py3-none-any.whl (8.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page