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 
    
![image](https://cloud.githubusercontent.com/assets/12515751/14936724/5108fb60-0ef4-11e6-93ea-232a037f7957.png)
    
    
![image](https://cloud.githubusercontent.com/assets/12515751/14936736/7c4d0cf8-0ef4-11e6-94ca-663d00a2addd.png)
    
    
![image](https://cloud.githubusercontent.com/assets/12515751/14936715/0eec90de-0ef4-11e6-811b-7ebe46f0d279.png)
    
    
![image](https://cloud.githubusercontent.com/assets/12515751/14936718/31304cb2-0ef4-11e6-9271-df5527242799.png)
    
    ### 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 <hrivi...@users.noreply.github.com>
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to