Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add NebulaGraph adapter #91

Merged
merged 2 commits into from
Jun 17, 2024
Merged

feat: add NebulaGraph adapter #91

merged 2 commits into from
Jun 17, 2024

Conversation

wey-gu
Copy link
Contributor

@wey-gu wey-gu commented Jun 17, 2024

Harlequin NebulaGraph Adapter

CI
for NebulaGraph GitHub release (latest by date)
pypi-version
Documentation

The NebulaGraph adapter was contributed by community member Wey Gu. You can view the source for the adapter on GitHub.

Installation

harlequin-nebulagraph depends on harlequin, so installing harlequin-nebulagraph will also install Harlequin.

Using pip

To install this adapter into an activated virtual environment:

pip install harlequin-nebulagraph

Using poetry

poetry add harlequin-nebulagraph

Using pipx

If you do not already have Harlequin installed:

pipx install harlequin[nebulagraph]

If you would like to add the nebulagraph adapter to an existing Harlequin installation:

pipx inject harlequin harlequin-nebulagraph

Usage and Configuration

You can open Harlequin with the NebulaGraph adapter by selecting it with the -a option and passing connection parameters as CLI options:

harlequin -a nebulagraph -h 127.0.0.1 -p 9669 -u root --password password

Demo

harlequin-nebulagraph-demo.mp4

Copy link

vercel bot commented Jun 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
harlequin-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 17, 2024 6:23pm

wey-gu added a commit to wey-gu/harlequin that referenced this pull request Jun 17, 2024
tconbeer pushed a commit to tconbeer/harlequin that referenced this pull request Jun 17, 2024
@tconbeer
Copy link
Owner

@wey-gu I was just reviewing the docs, and noticed one thing... you use -P for --password, but that conflicts with Harlequin's --profile/-P option. (lowercase -p for --port is fine) I should probably raise an error when adapter options step on Harlequin's core options, and I'll open an issue for that, but in the meantime, do you mind removing the shorthand for --password? (or changing it to -pw etc)

@wey-gu
Copy link
Contributor Author

wey-gu commented Jun 17, 2024

Oh sorry for that, sure, I'll remove -P tomorrow!

@wey-gu
Copy link
Contributor Author

wey-gu commented Jun 17, 2024

Managed to release a version using -pw as shortening of password now with mobile browser on bed 🫡😊.

https://github.com/wey-gu/harlequin-nebulagraph/releases/tag/v0.3.0

@tconbeer tconbeer merged commit c63bb12 into tconbeer:main Jun 17, 2024
2 checks passed
@wey-gu wey-gu deleted the nebulagraph branch June 17, 2024 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants