Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.

Commit 74dba0d

Browse files
committed
README.md
1 parent f570e63 commit 74dba0d

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,23 @@ npm install python-runner -g
1818

1919
```
2020

21+
The only dependencies of this package are:
22+
23+
* [Q library](https://www.npmjs.org/package/q)
24+
* [lodash](https://www.npmjs.org/package/lodash)
25+
2126
## Usage
2227

28+
The execution function will run send every command to the python stdin interpreter returning
29+
a Q promise. This will be resolved with the stdout of the python binary.
30+
31+
The python binary will be executed with the same environment variables as its parent process.
32+
33+
You can tweak the following options:
34+
35+
* bin - The python binary to be used
36+
* env - Replace the environment variables for this python execution. Useful for PYTHONPATH, ...
37+
2338
```js
2439

2540

@@ -48,3 +63,8 @@ python.exec(
4863

4964

5065
```
66+
67+
## Authors
68+
69+
* [Oscar Brito](https://twitter.com/aetheon)
70+
* [Carma](https://twitter.com/TeamCarma)

0 commit comments

Comments
 (0)