Name | nicegui-g6 JSON |
Version |
0.1.1
JSON |
| download |
home_page | None |
Summary | A component of AntV G6 visualization engine implemented based on NiceGUI |
upload_time | 2024-04-19 12:20:11 |
maintainer | None |
docs_url | None |
author | CrystalWindSnake |
requires_python | <4.0,>=3.8 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
<h1 align="center">
<b>nicegui-g6</b>
</h1>
A component of AntV [G6](https://github.com/antvis/g6) visualization engine implemented based on [NiceGUI](https://github.com/zauberzeug/nicegui)
## 🔨 Getting Started
To install `nicegui-g6`, run the following command in your terminal:
```bash
pip install nicegui-g6
```
To use `nicegui-g6`, you can simply import the `g6` function and pass the graph data to it. Here's an example:
```python
from nicegui_g6 import g6
from nicegui import ui
# define the graph data
# You can refer to the G6 documentation for more details.
data = {
"nodes": [
{
"id": "node1",
"x": 100,
"y": 200,
},
{
"id": "node2",
"x": 300,
"y": 200,
},
],
"edges": [
{
"source": "node1",
"target": "node2",
},
],
}
g6(data)
ui.run()
```
Raw data
{
"_id": null,
"home_page": null,
"name": "nicegui-g6",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.8",
"maintainer_email": null,
"keywords": null,
"author": "CrystalWindSnake",
"author_email": "568166495@qq.com",
"download_url": "https://files.pythonhosted.org/packages/6b/8f/7ed0dfef261e354c1296308a2f9c0cb1e59415aa0690f71b27ef160841f7/nicegui_g6-0.1.1.tar.gz",
"platform": null,
"description": "\n<h1 align=\"center\">\n<b>nicegui-g6</b>\n</h1>\n\n\nA component of AntV [G6](https://github.com/antvis/g6) visualization engine implemented based on [NiceGUI](https://github.com/zauberzeug/nicegui)\n\n\n\n\n\n## \ud83d\udd28 Getting Started\n\nTo install `nicegui-g6`, run the following command in your terminal:\n\n```bash\npip install nicegui-g6\n```\n\nTo use `nicegui-g6`, you can simply import the `g6` function and pass the graph data to it. Here's an example:\n\n```python\nfrom nicegui_g6 import g6\nfrom nicegui import ui\n\n# define the graph data\n# You can refer to the G6 documentation for more details.\ndata = {\n \"nodes\": [\n {\n \"id\": \"node1\",\n \"x\": 100,\n \"y\": 200,\n },\n {\n \"id\": \"node2\",\n \"x\": 300,\n \"y\": 200,\n },\n ],\n \"edges\": [\n {\n \"source\": \"node1\",\n \"target\": \"node2\",\n },\n ],\n}\n\ng6(data)\n\nui.run()\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A component of AntV G6 visualization engine implemented based on NiceGUI",
"version": "0.1.1",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4ee7852b00f9bd00bbbe87fbcaa155aab224e12b06b07d0dcb20bd963df2693a",
"md5": "c8632224f0fb1c7a67faa5ef6007ea2e",
"sha256": "91c076929bfefcb8d7bb2fd93bb7d3a91ee4a4c662aaeb3f7fa4b9dc50833b90"
},
"downloads": -1,
"filename": "nicegui_g6-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c8632224f0fb1c7a67faa5ef6007ea2e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.8",
"size": 476815,
"upload_time": "2024-04-19T12:20:08",
"upload_time_iso_8601": "2024-04-19T12:20:08.372625Z",
"url": "https://files.pythonhosted.org/packages/4e/e7/852b00f9bd00bbbe87fbcaa155aab224e12b06b07d0dcb20bd963df2693a/nicegui_g6-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6b8f7ed0dfef261e354c1296308a2f9c0cb1e59415aa0690f71b27ef160841f7",
"md5": "a527afbbe2134d45e2b7b50c595907ec",
"sha256": "ba7fcd13e666ce419c7758205b5b1a4ea45f746cdf5f69de247cf675da95c065"
},
"downloads": -1,
"filename": "nicegui_g6-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "a527afbbe2134d45e2b7b50c595907ec",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.8",
"size": 470008,
"upload_time": "2024-04-19T12:20:11",
"upload_time_iso_8601": "2024-04-19T12:20:11.536033Z",
"url": "https://files.pythonhosted.org/packages/6b/8f/7ed0dfef261e354c1296308a2f9c0cb1e59415aa0690f71b27ef160841f7/nicegui_g6-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-19 12:20:11",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "nicegui-g6"
}