Welcome to PyPillar’s documentation!

This is an open source REST tool which allow to run any python script as a distributed task to monitor its all events during execution.

Why PyPillar

This is an open source REST tool which allow to run any python script as a distributed task to monitor its all events during execution.

  1. Priceless and its free
  2. Distribute your large python script in several task
  3. Monitor task logs
  4. Investigate python task exception.
  5. Investigate requests history in future at any point of time.
  6. Create multiple projects.
  7. Live code editor which allow to change code associated with task.
  8. Quickly and easily run REST to test the REST api.

Installation

pip install pypillar

Start Server

To start PyPillar server run below command in terminal

It will expose the server in http://localhost:5000

PyPillar Runtime Task Input

Suppose you want to pass transformed input from Task1 to Task2 and finally you want result then below is the example.

# Task1 python script
import json
var = {}
var['PYPILLAR_TASK_INPUT'] = 'Hello'
print(json.dumps(var))
# Task2 python script
import json
from pypillar.common import runtime_objects
pypillar = runtime_objects()
output = {}
output['PYPILLAR_RESULT'] = pypillar['PYPILLAR_TASK_INPUT'] + ' World'
print(json.dumps(output))

It will give following result

{
   "PYPILLAR_RESULT": "Hello World"
}

Some Screenshot

_images/create_project.png _images/create_task.png _images/task_log.png _images/code_editor.png _images/run.png _images/request.png