dbgpt-tugraph-plugins


Namedbgpt-tugraph-plugins JSON
Version 0.1.1 PyPI version JSON
download
home_pagehttps://github.com/TuGraph-family/dbgpt-tugraph-plugins
SummaryTuGraph plugins python package used in DB-GPT.
upload_time2024-12-17 09:49:58
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseNone
keywords tugraph db-gpt graph llm
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # dbgpt-tugraph-plugins

TuGraph plugins python package used in DB-GPT.

## Why this repository?

TuGraph plugins are written in cpp and are compiled into dynamic link libraries. The purpose of this repository is to package these plugins into a python package so that they can be easily installed and used in DB-GPT.


## How to use in python?

1. First install the package using pip:

```bash
pip install dbgpt-tugraph-plugins>=0.1.1 -U -i https://pypi.org/simple
```

2. Then you can use the plugins in python:

```python
from dbgpt_tugraph_plugins import get_plugin_binary_path

leiden_bin_abs_path = get_plugin_binary_path("leiden") 

print(leiden_bin_abs_path)
```

You will get the absolute path to the leiden plugin binary file.


## How to build the package?

```bash
BUILD_VERSION=0.1.0rc1 make py-package
```

The package will be built in the `python/dist` directory.



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/TuGraph-family/dbgpt-tugraph-plugins",
    "name": "dbgpt-tugraph-plugins",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "TuGraph DB-GPT graph LLM",
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/cf/48/acf420b40ccca06d47c4b59b0b46525bb413baff54da7915cbff1ccc7ff9/dbgpt-tugraph-plugins-0.1.1.tar.gz",
    "platform": null,
    "description": "# dbgpt-tugraph-plugins\n\nTuGraph plugins python package used in DB-GPT.\n\n## Why this repository?\n\nTuGraph plugins are written in cpp and are compiled into dynamic link libraries. The purpose of this repository is to package these plugins into a python package so that they can be easily installed and used in DB-GPT.\n\n\n## How to use in python?\n\n1. First install the package using pip:\n\n```bash\npip install dbgpt-tugraph-plugins>=0.1.1 -U -i https://pypi.org/simple\n```\n\n2. Then you can use the plugins in python:\n\n```python\nfrom dbgpt_tugraph_plugins import get_plugin_binary_path\n\nleiden_bin_abs_path = get_plugin_binary_path(\"leiden\") \n\nprint(leiden_bin_abs_path)\n```\n\nYou will get the absolute path to the leiden plugin binary file.\n\n\n## How to build the package?\n\n```bash\nBUILD_VERSION=0.1.0rc1 make py-package\n```\n\nThe package will be built in the `python/dist` directory.\n\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "TuGraph plugins python package used in DB-GPT.",
    "version": "0.1.1",
    "project_urls": {
        "Homepage": "https://github.com/TuGraph-family/dbgpt-tugraph-plugins"
    },
    "split_keywords": [
        "tugraph",
        "db-gpt",
        "graph",
        "llm"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8c2822d65c18d6546e45a090732aad7022f619072c2440b29429d090634887b8",
                "md5": "d5fdc6bb4f5d03ea8d03f742726912cb",
                "sha256": "6ff3438c6ec8a27a94f3d2e55fb621bd60d9fefca3d826e5c33861bf6dd1d5aa"
            },
            "downloads": -1,
            "filename": "dbgpt_tugraph_plugins-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d5fdc6bb4f5d03ea8d03f742726912cb",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 5467540,
            "upload_time": "2024-12-17T09:49:56",
            "upload_time_iso_8601": "2024-12-17T09:49:56.932853Z",
            "url": "https://files.pythonhosted.org/packages/8c/28/22d65c18d6546e45a090732aad7022f619072c2440b29429d090634887b8/dbgpt_tugraph_plugins-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cf48acf420b40ccca06d47c4b59b0b46525bb413baff54da7915cbff1ccc7ff9",
                "md5": "54b508d2805d93d0d9c73ebc38b9f83b",
                "sha256": "c6a86c1fa6a9e46a55f1b9c90e423d814073ee5a2df5c13cb94d543215e6854e"
            },
            "downloads": -1,
            "filename": "dbgpt-tugraph-plugins-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "54b508d2805d93d0d9c73ebc38b9f83b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 2902,
            "upload_time": "2024-12-17T09:49:58",
            "upload_time_iso_8601": "2024-12-17T09:49:58.826464Z",
            "url": "https://files.pythonhosted.org/packages/cf/48/acf420b40ccca06d47c4b59b0b46525bb413baff54da7915cbff1ccc7ff9/dbgpt-tugraph-plugins-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-17 09:49:58",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "TuGraph-family",
    "github_project": "dbgpt-tugraph-plugins",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "dbgpt-tugraph-plugins"
}
        
Elapsed time: 0.40202s