Skip to main content

Plug and play NebulaGraph with pip install.

Project description

NebulaGraph Lite

for NebulaGraph pdm-managed Jupyter GitHub release (latest by date) pypi-version python-version Open in Colab

Try NebulaGraph with pip install, on Linux/ WSL2 or even Google Colab!

How to use

Install NebulaGraph Lite

pip3 install nebulagraph-lite

Start NebulaGraph Lite from Jupyter Notebook

from nebulagraph_lite import nebulagraph_let as ng_let

n = ng_let()

n.start()

Voilà! It'ts up and running already now!

What's next

Play with nebula3-python or ipython-ngql and walk through the Documentation!

pip3 install ipython-ngql
%load_ext ngql

And we could access it like:

%ngql --address 127.0.0.1 --port 9669 --user root --password nebula

And query like:

%ngql SHOW HOSTS;

Other non-lite or less-lite options

Intrested in other play or production options?

Production

Play and Dev

  • Docker Compose, if you are comfortable on single server
  • nebula-up, one-liner test env installer on single server, support studio, dashboard, nebulagraph algorithm, exchange etc, all-in-one.
  • Docker Extension, one-click on Docker Desktop(macOS, windows) on desktop machines, in GUI flavor.
  • Nebula-Operator-KinD, Nebula K8s Operator with K8s-in-Docker, one-liner test env with docker+k8s+nebulagrpah-operator, try NebulaGraph on K8s with ease on your single server.

Acknowledgements

FAQ

Why not docker?

With udocker, the opinionated subset docker running in user space, we could run docker images without root privilege, docker daemon.

Thus we support running inside docker container, WSL2, Google Colab.

Does it support Windows?

Yes, it supports Windows with WSL2 or other Linux VMs with a Hypervisor.

How to clean up?

  • Step 1, from nebulagraph-lite, remove the udocker container and clean up the base path.
n.stop()
n.clean_up_base_path()
  • Step 2, pip uninstall nebulagraph-lite and dependencies.
pip3 uninstall nebulagraph-lite udocker
  • Step 3, remove the udocker files.
rm -rf ~/.udocker
  • Step 4, kill the left processes.
killall -9 nebula-graphd
killall -9 nebula-storaged
killall -9 nebula-metad

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nebulagraph_lite-0.0.6.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

nebulagraph_lite-0.0.6-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file nebulagraph_lite-0.0.6.tar.gz.

File metadata

  • Download URL: nebulagraph_lite-0.0.6.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.11.2 CPython/3.11.6

File hashes

Hashes for nebulagraph_lite-0.0.6.tar.gz
Algorithm Hash digest
SHA256 1f8cb80ec71840b0f91f472f5fb899d67faaf88d8c13f77ddeaeea9d25143b40
MD5 712dca8a79ecd80b71471707c678dc33
BLAKE2b-256 13f8d7c8da9a1d68135536e6e731d3c7d8c160520201701fbcb224ee79e8b817

See more details on using hashes here.

File details

Details for the file nebulagraph_lite-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for nebulagraph_lite-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 55234a5aa74c3cbfd762907640c2e058dc7cd4f97d0290bb0649f0a7f3002de5
MD5 0c1aa5f32f8294aec5140b483d92f2de
BLAKE2b-256 7c7fdfed35794b960721ae1b04d753309d350d23c4c67dd6c58ef410ea204822

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page