1.1.0 • Published 5 years ago

python-shell-cluster v1.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 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

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.3

5 years ago

1.0.0

5 years ago