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.6 <=3.10
  • Ultipa Server Version: >= 5.0.1

Installation

Package is uploaded on PyPI.

python3 -m pip install ultipa

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

Uploaded Source

Built Distribution

ultipa-5.0.1-py3-none-any.whl (115.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ultipa-5.0.1.tar.gz
  • Upload date:
  • Size: 83.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.13

File hashes

Hashes for ultipa-5.0.1.tar.gz
Algorithm Hash digest
SHA256 4bff4b17977b12885505cc9366c198249b06192dc3dec32a546194e1b617aef0
MD5 76be5db40525d6bd9db2d110b1458805
BLAKE2b-256 386f238bf48096216e3990fea65ea4259a061210232f7747ebe82b03a0ee0fb7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ultipa-5.0.1-py3-none-any.whl
  • Upload date:
  • Size: 115.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.13

File hashes

Hashes for ultipa-5.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 777c9bd98ca6aa7dedead2693a3fc3cd321b0cfe9affbbb6315f599f978aa20b
MD5 7aa563caec29577e9a95b8f056f71d25
BLAKE2b-256 8e5df4163139b81c775dd7a5b6db8f5f6372ba5fef1e8ed1314887fc673c6229

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