Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hourout/mysql_kernel
Mysql Kernel for Jupyter
https://github.com/hourout/mysql_kernel
jupyter-kernels mysql sql
Last synced: 15 days ago
JSON representation
Mysql Kernel for Jupyter
- Host: GitHub
- URL: https://github.com/hourout/mysql_kernel
- Owner: Hourout
- License: apache-2.0
- Created: 2020-03-06T03:19:59.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-08-05T12:19:10.000Z (over 2 years ago)
- Last Synced: 2024-10-14T11:20:34.901Z (about 1 month ago)
- Topics: jupyter-kernels, mysql, sql
- Language: Python
- Homepage:
- Size: 536 KB
- Stars: 4
- Watchers: 1
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Mysql_kernel
![PyPI version](https://img.shields.io/pypi/pyversions/mysql_kernel.svg)
![Github license](https://img.shields.io/github/license/Hourout/mysql_kernel.svg)
[![PyPI](https://img.shields.io/pypi/v/mysql_kernel.svg)](https://pypi.python.org/pypi/mysql_kernel)
![PyPI format](https://img.shields.io/pypi/format/mysql_kernel.svg)
![contributors](https://img.shields.io/github/contributors/Hourout/mysql_kernel)
![downloads](https://img.shields.io/pypi/dm/mysql_kernel.svg)Mysql Kernel for Jupyter
[δΈζδ»η»](document/chinese.md)
## Installation
#### step1:
```
pip install mysql_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/mysql_kernel.git
```#### step2:
Add kernel to your jupyter:```
python -m mysql_kernel.install
```ALL DONE! πππ
## Uninstall
#### step1:
View and remove mysql kernel
```
jupyter kernelspec list
jupyter kernelspec remove mysql
```#### step2:
uninstall mysql kernel:```
pip uninstall mysql-kernel
```ALL DONE! πππ
## Using
```
jupyter notebook
```### step1: you should set mysql host and port
```
mysql://user:password@host:portor
mysql://host:port
```### step2: write your mysql code
![](image/mysql2.png)
## Quote
kernel logo- https://jeongw00.tistory.com/203