Metadata-Version: 2.0
Name: sorna-jupyter-kernel
Version: 0.1.2
Summary: Sorna Jupyter Kernel Integration
Home-page: https://github.com/lablup/sorna-jupyter-kernel
Author: Lablup Inc.
Author-email: joongi@lablup.com
License: MIT
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Operating System :: POSIX
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Environment :: No Input/Output (Daemon)
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Software Development
Requires-Python: >=3.6
Requires-Dist: sorna-client (<1.0,>=0.9)
Provides-Extra: dev
Requires-Dist: flake8; extra == 'dev'
Requires-Dist: pep8-naming; extra == 'dev'
Requires-Dist: pypandoc; extra == 'dev'
Requires-Dist: pytest; extra == 'dev'
Provides-Extra: test
Requires-Dist: pytest; extra == 'test'

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.


