nebulagraph-lite

我要开发同款
匿名用户2024年07月31日
51阅读

技术信息

开源地址
https://modelscope.cn/models/sdfsdfoph1ofdsaofdf/nebulagraph-lite

作品详情

NebulaGraph-Lite-logo

NebulaGraph Lite

Try NebulaGraph with pip istall, o Liux/ WSL2 or eve Google Colab, i cotaier, rootless.

How to use

Istall NebulaGraph Lite

pip3 istall ebulagraph-lite

Start NebulaGraph Lite

From Jupyter Notebook: From CLI:
from ebulagraph_lite import ebulagraph_let as g_let

 = g_let()

.start()
ebulagraph start  

Voilà! It'ts up ad ruig already ow!

What's ext

Play with ebula3-pytho or ipytho-gql ad walk through the Documetatio!

pip3 istall ipytho-gql
%load_ext gql

Ad we could access it like:

%gql --address 127.0.0.1 --port 9669 --user root --password ebula

Ad query like:

%gql SHOW HOSTS;

Other o-lite or less-lite optios

Itrested i other play or productio optios?

Productio

Play ad Dev

  • Docker Compose, if you are comfortable to play with Docker o sigle server.
  • ebula-up, oe-lier test ev istaller o sigle server, support studio, dashboard, ebulagraph algorithm, exchage etc, all-i-oe.
  • Docker Extesio, oe-click o Docker Desktop(macOS, widows) o desktop machies, i GUI flavor.
  • Nebula-Operator-KiD, Nebula K8s Operator with K8s-i-Docker, oe-lier test ev with docker+k8s+ebulagrpah-operator, try NebulaGraph o K8s with ease o your sigle server.

Ackowledgemets

  • udocker, https://github.com/idigo-dc/udocker, the foudatio of this project
  • Fakechroot, https://github.com/dex4er/fakechroot, the egie rus MetaD ad StorageD
  • PRoot, https://proot-me.github.io, the egie rus GraphD ad Cosole
  • docker-i-colab, https://github.com/dregskapur/docker-i-colab, ispired our Colab capablity
  • NebulaGraph Docker, https://github.com/vesoft-ic/ebula-docker-compose, the cotaier images we leveraged

Supported Platforms

FAQ

Click to see FAQ

Why ot docker?

With udocker, the opiioated subset docker ruig i user space, we could ru docker images without root privilege, docker daemo.

Thus we support ruig iside docker cotaier, WSL2, Google Colab.

Ca NebulaGraph-Lite ru iside a cotaier?

Yes! Say we are i a cotaier that rus Ubutu, we could ru:

docker ru -it --rm ubutu:latest bash
# iside the cotaier
apt update && apt istall pytho3-pip curl -y
pip3 istall ebulagraph-lite
pytho3

I pytho3:

from ebulagraph_lite import ebulagraph_let as g_let
 = g_let(i_cotaier=True)
.start()

Or i shell:

ebulagraph --cotaier start

Does it support Widows?

Yes, it supports Widows with WSL2 or other Liux VMs with a Hypervisor.

How to clea up?

  • Step 1, from ebulagraph-lite, remove the udocker cotaier ad clea up the base path.

Pytho:

.stop()
.clea_up()

Shell:

ebulagraph stop
ebulagraph cleaup
  • Step 2, pip uistall ebulagraph-lite ad depedecies.
pip3 uistall ebulagraph-lite udocker
  • Step 3, remove the udocker files.
rm -rf ~/.udocker

功能介绍

NebulaGraph Lite Try NebulaGraph with pip install, on Linux/ WSL2 or even Google Colab, in containe

声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论