Skip to main content

Distribute large python execution in task

Project description

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.

.. toctree:: :maxdepth: 2 :caption: Contents:

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.

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

Installation

.. code-block:: shell

pip install pypillar

Start Server

To start PyPillar server run below command in terminal

.. code-block:: shell

pypillar run

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.

.. code-block:: shell

Task1 python script

import json var = {} var['PYPILLAR_TASK_INPUT'] = 'Hello' print(json.dumps(var))

.. code-block:: shell

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

.. code-block:: shell

{ "PYPILLAR_RESULT": "Hello World" }

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

pypillar-0.0.5.tar.gz (3.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pypillar-0.0.5-py3-none-any.whl (3.1 MB view details)

Uploaded Python 3

File details

Details for the file pypillar-0.0.5.tar.gz.

File metadata

  • Download URL: pypillar-0.0.5.tar.gz
  • Upload date:
  • Size: 3.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for pypillar-0.0.5.tar.gz
Algorithm Hash digest
SHA256 638a2e57584eeed679e4a479164e11b9ea5e21cb01428aa52d5641b0e00467e2
MD5 421299527f984826a89eb6ad15ff9c2c
BLAKE2b-256 f8d51622560ff4a8ab86030d0212764e8a003c36d1889b00e3be67f0d9049a2c

See more details on using hashes here.

File details

Details for the file pypillar-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: pypillar-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for pypillar-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a2dfc4447ce02168916e385ba319aa55ca4f4f0ba1d7e82175253ea62ed36b5d
MD5 5aac5ce94e584d4de739a7bab8c32602
BLAKE2b-256 4acc366bb1f1b721dd5c89f53054a39bf499f9330b7d9af3ff21952b2f500d2b

See more details on using hashes here.

Supported by

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