bernhard-42 / db-12-kernel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A Jupyter Metakernel leveraging the Databricks REST API 1.2

Installation

  • Prepare the environment

    conda create -n databricks python=3.7
    conda activate databricks
  • Install db-12-kernel

    pip install git+git://github.com/bernhard-42/db-12-kernel.git

Databricks Kernel setup

  • Edit db_12_kernel_config.py

  • Copy it to the Jupyter config folder

    cp db_12_kernel_config.py ~/.jupyter
  • Create kernelspec

    python -m db_12_kernel install

Use Databricks kernel

Start jupyter lab, select "DB Kernel". It will use the config in ~/.jupyter/db_12_kernel_config.py. With execution of the first cell, the Python execution context will be created.

About

License:MIT License


Languages

Language:Python 100.0%