Skip to content

TuGraph-family/dbgpt-tugraph-plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:
pip install dbgpt-tugraph-plugins>=0.1.1 -U -i https://pypi.org/simple
  1. Then you can use the plugins in 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?

BUILD_VERSION=0.1.0rc1 make py-package

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

About

TuGraph plugins python package used in DB-GPT.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published