GitHub user hriviere opened a pull request:
https://github.com/apache/incubator-zeppelin/pull/869
[ZEPPELIN-502] Python interpreter group
### What is this PR for?
Adding a python 2 &3 interpreter. It's a basic implementation (no py4j for
example), with a java ProcessBuilder object used to instantiate a python REPL.
The interpreter doesn't bring it own python binary but uses the python
specified by python.path configutation. Thus, you can still use your specific
installed python modules (scikit-learn, matplotlib...) and the interpreter is
able to work with python 2 & 3 without change.
I had a python helper function (zeppelin_show() ) to easily display
matplotlib graph as SVG.
### What type of PR is it?
[Feature]
### Todos
* [ ] - Code review
* [ ] - Improve bootstrap.py : choose available helper functions and their
names
* [ ] - Unit / IT tests ?
### What is the Jira issue?
[ZEPPELIN-502](https://issues.apache.org/jira/browse/ZEPPELIN-502?jql=project%20%3D%20ZEPPELIN%20AND%20text%20~%20%22python%22)
### How should this be tested?
1. In interpreter screen, in Python section, specify in python.path the
python binary you want to use
2. In a paragraph, you can use the interpreter with **_%python_**. Calling
help() will describe you the interpreter functionnalities.
### Screenshots




### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? Yes
You can merge this pull request into a Git repository by running:
$ git pull
https://github.com/hriviere/incubator-zeppelin-python-interpreter
PR_interpreter_python
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-zeppelin/pull/869.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #869
----
commit 489265a0ae2eff4a3618bad487f5b51143e0afd6
Author: Hervé RIVIERE <[email protected]>
Date: 2016-04-13T21:23:12Z
[ZEPPELIN-502] Python interpreter group
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---