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.
====================
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for sorna-jupyter-kernel-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e127df0ed4e664c0f35e72a914fd9eb592548d8b343a60bc0a9be39684089e60 |
|
MD5 | f76b0cf10ffb9862888824df67668888 |
|
BLAKE2b-256 | c0adbf6c835cbd622c6b255cce537d3b52fd270ab5b251b08682a146d502b1e9 |
Close
Hashes for sorna_jupyter_kernel-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | acc0f152a9a4007f93982a66b17a99ac5e07f8a050cf18afd6e9eaedbd33179c |
|
MD5 | 459b30af3ad5919f0d186d321923c954 |
|
BLAKE2b-256 | ae3edc5505c0c264e22035652a5e86b31406fdf14ad82994f4ac8a0f5c062cab |