Skip to main content

Pure Python Ultipa Driver

Project description

Introduction

This Python SDK is a part of Ultipa Drivers, a set of specifications for developing software and applications using Java, Python, Go and NodeJs. This SDK provides instructions on introducing query and management operations of Ultipa Graph Database into Python programs, both by calling command through interfaces and sending assembled UQLs to an Ultipa server. A basic understanding of UQL query commands and the returned data structures is needed to guarantee a proper usage of the SDK.

Requirements

  • Python version: >=3.9 <=3.12
  • Ultipa Server Version: >= 5.0.x

Installation

To install ultipa python driver:

pip install ultipa

If you are using Ultipa v4.x,Please visit ultipa-4.5.2 to install the correct version.

Documentation

Documentation is available online: https://www.ultipa.com/document/ultipa-drivers/python-installation/v5.0.

Example

Example: Create a server connection and use graphset 'amz'

from ultipa import Connection, UltipaConfig

ultipaConfig = UltipaConfig()
ultipaConfig.hosts = ["192.168.1.85:60061", "192.168.1.86:60061", "192.168.1.87:60061"]
ultipaConfig.username = "***"
ultipaConfig.password = "***"
ultipaConfig.defaultGraph = "amz"

conn = Connection.NewConnection(defaultConfig=ultipaConfig)
conn.test().Print()

req = conn.uql("show().graph()")
req.Print()

If you have any questions please contact: Ultipa Support

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

ultipa-5.0.5.tar.gz (83.3 kB view details)

Uploaded Source

Built Distribution

ultipa-5.0.5-py3-none-any.whl (113.1 kB view details)

Uploaded Python 3

File details

Details for the file ultipa-5.0.5.tar.gz.

File metadata

  • Download URL: ultipa-5.0.5.tar.gz
  • Upload date:
  • Size: 83.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for ultipa-5.0.5.tar.gz
Algorithm Hash digest
SHA256 b338e38977cd6940125b90a40ddfdf9bc3c5ae42d693f9a0a7339cd15616764b
MD5 671e814a7eea5af2af4ea33a2228d643
BLAKE2b-256 5e6b10751565eb3da9dbe0d5b78c52aaa160821c8f82a62434699bb2b9124997

See more details on using hashes here.

File details

Details for the file ultipa-5.0.5-py3-none-any.whl.

File metadata

  • Download URL: ultipa-5.0.5-py3-none-any.whl
  • Upload date:
  • Size: 113.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for ultipa-5.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 bbb1208be39775f782aed172dba2965787066083601d52756be63a01439913c7
MD5 3172be39f06f4d33151723da7e3d38f2
BLAKE2b-256 c2703220362e9cf9f3536c35698f8120672264cb9567285e55a5603adfb72f0c

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 Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page