gptdb-tugraph-plugins


Namegptdb-tugraph-plugins JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/khulnasoft-lab/gptdb-tugraph-plugins
SummaryTuGraph plugins python package used in GPT-DB.
upload_time2024-09-17 20:17:38
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseNone
keywords tugraph gpt-db graph llm
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # gptdb-tugraph-plugins

TuGraph plugins python package used in GPT-DB.

## 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 GPT-DB.


## How to use in python?

1. First install the package using pip:

```bash
pip install gptdb-tugraph-plugins>=0.1.0rc1 -U -i https://pypi.org/simple
```

2. Then you can use the plugins in python:

```python
from gptdb_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/khulnasoft-lab/gptdb-tugraph-plugins",
    "name": "gptdb-tugraph-plugins",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "TuGraph GPT-DB graph LLM",
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/d1/36/bb05968891b3b704d00e0b21184856ff43369189ade4d8d5b85bc0bae87d/gptdb_tugraph_plugins-0.1.0.tar.gz",
    "platform": null,
    "description": "# gptdb-tugraph-plugins\n\nTuGraph plugins python package used in GPT-DB.\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 GPT-DB.\n\n\n## How to use in python?\n\n1. First install the package using pip:\n\n```bash\npip install gptdb-tugraph-plugins>=0.1.0rc1 -U -i https://pypi.org/simple\n```\n\n2. Then you can use the plugins in python:\n\n```python\nfrom gptdb_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",
    "bugtrack_url": null,
    "license": null,
    "summary": "TuGraph plugins python package used in GPT-DB.",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://github.com/khulnasoft-lab/gptdb-tugraph-plugins"
    },
    "split_keywords": [
        "tugraph",
        "gpt-db",
        "graph",
        "llm"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c354b628ce85185487708370561387e5ce50fd2b37ef80d366b3cf2459206aaa",
                "md5": "2d29a094756b444b5dd09603e28c1649",
                "sha256": "07104ba97fbad33ebe3f06b0ce8d4bab2ce36067fa45f3d2e420bab2e4f96c3d"
            },
            "downloads": -1,
            "filename": "gptdb_tugraph_plugins-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2d29a094756b444b5dd09603e28c1649",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 2508454,
            "upload_time": "2024-09-17T20:17:36",
            "upload_time_iso_8601": "2024-09-17T20:17:36.589343Z",
            "url": "https://files.pythonhosted.org/packages/c3/54/b628ce85185487708370561387e5ce50fd2b37ef80d366b3cf2459206aaa/gptdb_tugraph_plugins-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d136bb05968891b3b704d00e0b21184856ff43369189ade4d8d5b85bc0bae87d",
                "md5": "c985ca6786ac6ab4466a6fd014020402",
                "sha256": "415fa20b694581858b68043c72e10cf23d6d87e5a1b3eeef495f9f36c204fd5f"
            },
            "downloads": -1,
            "filename": "gptdb_tugraph_plugins-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "c985ca6786ac6ab4466a6fd014020402",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 2870,
            "upload_time": "2024-09-17T20:17:38",
            "upload_time_iso_8601": "2024-09-17T20:17:38.562034Z",
            "url": "https://files.pythonhosted.org/packages/d1/36/bb05968891b3b704d00e0b21184856ff43369189ade4d8d5b85bc0bae87d/gptdb_tugraph_plugins-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-17 20:17:38",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "khulnasoft-lab",
    "github_project": "gptdb-tugraph-plugins",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "gptdb-tugraph-plugins"
}
        
Elapsed time: 0.30756s