Skip to main content

TuGraph plugins python package used in GPT-DB.

Project description

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

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

gptdb_tugraph_plugins-0.1.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

gptdb_tugraph_plugins-0.1.0-py3-none-any.whl (2.5 MB view details)

Uploaded Python 3

File details

Details for the file gptdb_tugraph_plugins-0.1.0.tar.gz.

File metadata

  • Download URL: gptdb_tugraph_plugins-0.1.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.1

File hashes

Hashes for gptdb_tugraph_plugins-0.1.0.tar.gz
Algorithm Hash digest
SHA256 415fa20b694581858b68043c72e10cf23d6d87e5a1b3eeef495f9f36c204fd5f
MD5 c985ca6786ac6ab4466a6fd014020402
BLAKE2b-256 d136bb05968891b3b704d00e0b21184856ff43369189ade4d8d5b85bc0bae87d

See more details on using hashes here.

File details

Details for the file gptdb_tugraph_plugins-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for gptdb_tugraph_plugins-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 07104ba97fbad33ebe3f06b0ce8d4bab2ce36067fa45f3d2e420bab2e4f96c3d
MD5 2d29a094756b444b5dd09603e28c1649
BLAKE2b-256 c354b628ce85185487708370561387e5ce50fd2b37ef80d366b3cf2459206aaa

See more details on using hashes here.

Supported by

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