.. image:: https://travis-ci.com/sdpython/pyenbc.svg?branch=master :target: https://app.travis-ci.com/github/sdpython/pyenbc :alt: Build status .. image:: https://ci.appveyor.com/api/projects/status/scv9gmggw7qc462i?svg=true :target: https://ci.appveyor.com/project/sdpython/pyenbc :alt: Build Status Windows .. image:: https://circleci.com/gh/sdpython/pyenbc/tree/master.svg?style=svg :target: https://circleci.com/gh/sdpython/pyenbc/tree/master .. image:: https://badge.fury.io/py/pyenbc.svg :target: http://badge.fury.io/py/pyenbc .. image:: https://img.shields.io/badge/license-MIT-blue.svg :alt: MIT License :target: http://opensource.org/licenses/MIT .. image:: https://codecov.io/github/sdpython/pyenbc/coverage.svg?branch=master :target: https://codecov.io/github/sdpython/pyenbc?branch=master .. image:: http://img.shields.io/github/issues/sdpython/pyenbc.png :alt: GitHub Issues :target: https://github.com/sdpython/pyenbc/issues .. image:: http://www.xavierdupre.fr/app/pyenbc/helpsphinx/_images/nbcov.png :target: http://www.xavierdupre.fr/app/pyenbc/helpsphinx/all_notebooks_coverage.html :alt: Notebook Coverage .. _l-README: pyenbc: helper to submit jobs from a notebeook ============================================== This project contains helpers used at the `ENSAE `_ for teachings available at `ENSAE - Programmation - Xavier Dupré `_. It is not used anymore and probably not wworking anymore. It implements a pythonic way to access a remote Linux machine with a python *putty* and also: * magic commands to access a Cloudera Cluster and run PIG jobs * magic commands to access Azure Blob Storage and HDInsight * magic commands to display content of a folder in DataFrame Class *ASSHClient* requires: * `paramiko `_ * `pycrypto `_ * `ecdsa `_ Class *AzureClient* requires: * `azure `_ The function *register_magics* defines magic commands to send commands to a remote commands through a SSH connection: * ``%remote_open``, ``%remote_close`` * ``%remote_cmd``, ``%remote_up``, ``%remote_down`` The magic commands will be automatically enabled if the module is imported from a notebook. **Links:** * `GitHub/pyenbc `_ * `documentation `_ * `Blog `_