Skip to main content

Aliyun GraphCompute Python SDK

Project description

The GraphCompute SDK for Python allows user to access GraphCompute Service on Alibaba Cloud. You can access Graph Compute service without the need to generate accesskey-related signature manually. This README document introduces how to obtain and call GraphCompute SDK for Python. If you have any problem while using GraphCompute SDK for Python, please submit an issue.


  • To use GraphCompute SDK for Python, you must have an Alibaba Cloud account as well as an AccessKey ID and an AccessKey Secret. Create and view your AccessKey on the RAM console or contact your system administrator.
  • To use GraphCompute SDK for Python to access the APIs of a product, you must first activate the product on the Alibaba Cloud console if required.
  • Python 2.7 is strongly recommended


Install the official release version through PIP:

$ pip install graphcompute

You can also install the unzipped installer package directly:

$ python install

Getting Started

# -*- coding: utf-8 -*-

from graphcompute import GraphCompute_Client
from graphcompute.utils.auth import Credentials

access_key_id = "your access_key_id"
access_key_secret = "your access_key_secret"
cred = Credentials(access_key_id, access_key_secret)

instance_domain = "your instance domain with port"
remote_endpoint = "ws://%s/gremlin" % str(instance_domain)
client = GraphCompute_Client(remote_endpoint, 'g', cred)

result = client.submit(query).one()


More examples can be referred in under “examples” directory.



Project details

Download files

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

Files for graphcompute, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size graphcompute-1.0.2.tar.gz (5.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page