An open API service indexing awesome lists of open source software.

https://github.com/hourout/hive_kernel

Hive Kernel for Jupyter
https://github.com/hourout/hive_kernel

hive hiveql jupyter-kernels sql

Last synced: 7 months ago
JSON representation

Hive Kernel for Jupyter

Awesome Lists containing this project

README

          

# Hive_kernel
Hive Kernel for Jupyter

![PyPI version](https://img.shields.io/pypi/pyversions/hive_kernel.svg)
![Github license](https://img.shields.io/github/license/Hourout/hive_kernel.svg)
[![PyPI](https://img.shields.io/pypi/v/hive_kernel.svg)](https://pypi.python.org/pypi/hive_kernel)
![PyPI format](https://img.shields.io/pypi/format/hive_kernel.svg)
![contributors](https://img.shields.io/github/contributors/Hourout/hive_kernel)
![downloads](https://img.shields.io/pypi/dm/hive_kernel.svg)

[中文介绍](document/chinese.md)

## Installation

#### step1:
```
pip install hive_kernel
```

To get the newest one from this repo (note that we are in the alpha stage, so there may be frequent updates), type:

```
pip install git+git://github.com/Hourout/hive_kernel.git
```

#### step2:
Add kernel to your jupyter:

```
python -m hive_kernel.install
```

ALL DONE! πŸŽ‰πŸŽ‰πŸŽ‰

## Uninstall

#### step1:

View and remove hive kernel
```
jupyter kernelspec list
jupyter kernelspec remove hive
```

#### step2:
uninstall hive kernel:

```
pip uninstall hive-kernel
```

ALL DONE! πŸŽ‰πŸŽ‰πŸŽ‰

## Using

```
jupyter notebook
```

### step1: you should set hive server (host and port)

### step2: write your hive sql
![](image/hive1.png)

## Quote
kernel logo

- https://en.wikipedia.org/wiki/Apache_Hive