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.13
  • Ultipa Server Version: >= 5.2.0

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/docs/drivers/python-installation.

Example

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

from ultipa import Connection, UltipaConfig

ultipaConfig = UltipaConfig()
ultipaConfig.hosts = ["ip1:port1", "ip2:port2", "ip3:port3"]
ultipaConfig.username = "***"
ultipaConfig.password = "***"
ultipaConfig.defaultGraph = "default"

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.2.1.tar.gz (85.8 kB view details)

Uploaded Source

Built Distribution

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

ultipa-5.2.1-py3-none-any.whl (117.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ultipa-5.2.1.tar.gz
Algorithm Hash digest
SHA256 12892e7342dc235d4c6006d3f80fbe32086ee44e90e3a8cce4082d3ce30db576
MD5 2efb18f717006157ac47902733c428a7
BLAKE2b-256 f48deb44c1f10e50bb33b5044f554d6766b3d92ffac051554d8e4d16cfc4ca92

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ultipa-5.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1dbfcd87f0f7c24ce44e04462dcbf0cacea7528595085d8e5838b7a6b42cb507
MD5 c6fdfc3eff1cfd5aead206aec89a7695
BLAKE2b-256 4f7a071b438ee7c50ab981a0ef8360c1d2ecfb4c4b99a2a0277e2e9ae5ccc3f3

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