Skip to main content

TuGraph plugins python package used in DB-GPT.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dbgpt-tugraph-plugins-0.1.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dbgpt_tugraph_plugins-0.1.1-py3-none-any.whl (5.5 MB view details)

Uploaded Python 3

File details

Details for the file dbgpt-tugraph-plugins-0.1.1.tar.gz.

File metadata

  • Download URL: dbgpt-tugraph-plugins-0.1.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.6

File hashes

Hashes for dbgpt-tugraph-plugins-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c6a86c1fa6a9e46a55f1b9c90e423d814073ee5a2df5c13cb94d543215e6854e
MD5 54b508d2805d93d0d9c73ebc38b9f83b
BLAKE2b-256 cf48acf420b40ccca06d47c4b59b0b46525bb413baff54da7915cbff1ccc7ff9

See more details on using hashes here.

File details

Details for the file dbgpt_tugraph_plugins-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for dbgpt_tugraph_plugins-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6ff3438c6ec8a27a94f3d2e55fb621bd60d9fefca3d826e5c33861bf6dd1d5aa
MD5 d5fdc6bb4f5d03ea8d03f742726912cb
BLAKE2b-256 8c2822d65c18d6546e45a090732aad7022f619072c2440b29429d090634887b8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page