1.1.0 • Published 6 years ago

python-shell-cluster v1.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

Python Shell Cluster

Utility to run python script in parallel from nodejs

Example:

Typescript

import PythonShellCluster from "./index"
const cluster = new PythonShellCluster(1, __dirname + "/python/main.py")
cluster.run("this message will be passed to python").then((resposne) => console.log(resposne))

Python

while True:
    b = input()
    print("received" + b)
1.1.0

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.3

6 years ago

1.0.0

6 years ago