Skip to main content

Sorna Jupyter Kernel Integration

Project description

Sorna Jupyter Kernel
====================

Your Jupyter notebooks are running on the Sorna Cloud!

Installation and Usage
----------------------

First, grab your API keypair in `Sorna
Cloud <https://cloud.sorna.io>`__.

.. code:: sh

$ pip install jupyter sorna-jupyter-kernel
$ python -m sorna.integration.jupyter.install
$ export SORNA_ACCESS_KEY=...
$ export SORNA_SECRET_KEY=...
$ jupyter notebook

Then you will see Sorna kernels in the new notebook menu:

.. raw:: html

<p style="text-align:center">

.. raw:: html

</p>

More kernels will become available soon!

Development
-----------

Add ``--sys-prefix`` argument to tell the installer to recognize
editable installation under your virtual environment.

.. code:: sh

$ python -m venv venv
$ source venv/bin/activate
$ pip install jupyter
$ pip install -e . # editable installation
$ python -m sorna.integration.jupyter.install --sys-prefix
$ export SORNA_ACCESS_KEY=...
$ export SORNA_SECRET_KEY=...
$ jupyter notebook

Uninstall
---------

To list and uninstall existing kernelspecs registered to Jupyter, use
``jupyter-kernelspec`` command.


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sorna-jupyter-kernel-0.1.2.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

sorna_jupyter_kernel-0.1.2-py3-none-any.whl (7.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page