Sign inSign up

weygu/nebulagraph-jupyter

By weygu

•Updated about 2 years ago

Play, query, and visualize NebulaGraph magic within Jupyter Notebook!

Image
1

10K+

weygu/nebulagraph-jupyter repository overview

for NebulaGraph Jupyter Docker Image Docker Extension GitHub release (latest by date) pypi-version Open In Colab Documentation

⁠Google Colab

Experience it directly on Google Colab: Open In Colab

⁠Introduction

jupyter_nebulagraph (previously known as ipython-ngql) is a Python package designed to facilitate connections to NebulaGraph directly from Jupyter Notebooks or iPython environments. It streamlines the process of creating, debugging, and sharing Jupyter Notebooks that interact with NebulaGraph, enhancing collaborative efforts.

Your browser does not support the video tag.

⁠Get Started

For a more comprehensive guide on how to get started with jupyter_nebulagraph, please refer to the Get Started Guide⁠. This guide provides step-by-step instructions on installation, connecting to NebulaGraph, making queries, and visualizing query results, making it easier for new users to get up and running.

⁠Features

FeatureCheat SheetExampleCommand Documentation
Connect%ngql --address 127.0.0.1 --port 9669 --user user --password passwordConnect⁠%ngql⁠
Load Data from CSV%ng_load --source actor.csv --tag player --vid 0 --props 1:name,2:age --space basketballplayerLoad Data⁠%ng_load⁠
Query Execution%ngql MATCH p=(v:player{name:"Tim Duncan"})-->(v2:player) RETURN p;Query Execution⁠%ngql or %%ngql(multi-line)⁠
Result Visualization%ng_drawDraw Graph⁠%ng_draw⁠
Draw Schema%ng_draw_schemaDraw Schema⁠%ng_draw_schema⁠
Tweak Query Resultdf = _ to get last query result as pd.dataframe or ResultSet⁠Tweak Result⁠Configure ngql_result_style⁠

⁠Acknowledgments ♥️

Tag summary

Content type

Image

Digest

sha256:58ac387b2…

Size

546.1 MB

Last updated

about 2 years ago

docker pull weygu/nebulagraph-jupyter