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" }
Release files for pypillar 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pypillar-0.0.5.tar.gz | 3.1 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pypillar-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.1 MB
Release files / pypillar-0.0.5.tar.gz
| Download URL | pypillar-0.0.5.tar.gz |
|---|---|
| Size | 3.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
638a2e57584eeed679e4a479164e11b9ea5e21cb01428aa52d5641b0e00467e2
|
|
BLAKE2b-256 checksum How to use checksums |
f8d51622560ff4a8ab86030d0212764e8a003c36d1889b00e3be67f0d9049a2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / pypillar-0.0.5-py3-none-any.whl
| Download URL | pypillar-0.0.5-py3-none-any.whl |
|---|---|
| Size | 3.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a2dfc4447ce02168916e385ba319aa55ca4f4f0ba1d7e82175253ea62ed36b5d
|
|
BLAKE2b-256 checksum How to use checksums |
4acc366bb1f1b721dd5c89f53054a39bf499f9330b7d9af3ff21952b2f500d2b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|