1.1.0 • Published 4 years ago

python-shell-cluster v1.1.0

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

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.3

4 years ago

1.0.0

4 years ago