Skip to main content

Pure Python Ultipa Driver

Project description

Ultipa Python Driver

Official Python driver for Ultipa graph database (GQL).

Requirements

  • Python 3.10+

Installation

pip install ultipa

Note: This is the v6.x driver for Ultipa Graph. If you are using Ultipa v4.x, please install ultipa==4.5.2. If you are using Ultipa v5.x, please install ultipa==5.2.1.

Quick Start

from gqldb import GqldbClient
from gqldb.config import GqldbConfig

# Create client
config = GqldbConfig(
    hosts=["localhost:60061"],
    username="admin",
    password="password",
    default_graph="myGraph"
)
client = GqldbClient(config)
client.login("admin", "password")

# Execute query
response = client.gql("MATCH (n) RETURN n LIMIT 10")

print(f"Rows: {len(response.rows)}")
print(f"Columns: {response.columns}")

# Close
client.close()

Features

  • GQL query execution with parameters
  • Streaming results for large datasets
  • Transaction support (begin, commit, rollback)
  • Graph management (create, drop, list)
  • Bulk import for high-throughput loading
  • Algorithm support (CALL algo.pagerank, algo.degree, etc.)
  • Type hints support
  • Health checks

Documentation

See Quick Start for detailed usage.

License

MIT License

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

Uploaded Source

Built Distribution

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

ultipa-6.2.2-py3-none-any.whl (170.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ultipa-6.2.2.tar.gz
  • Upload date:
  • Size: 143.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for ultipa-6.2.2.tar.gz
Algorithm Hash digest
SHA256 3ed22e11f351c0481374d966758ddc673674433174aa7ec02ede40ad60ab465c
MD5 d6f7cb9fc2824e3459419c801f5a4fd5
BLAKE2b-256 54c625e23aa1a737e6815697b9c6da3ad03213d2a571a53ec18306e6b47ddd82

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ultipa-6.2.2-py3-none-any.whl
  • Upload date:
  • Size: 170.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for ultipa-6.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c2e673bd91f8c633798fb2aa857ee343a2175f92e4275d1cbfc61be7f971636d
MD5 8389243c20214883f08e20622b49846a
BLAKE2b-256 6367c1c286e94772f9cc293ca1b7ba03d02b9ff40e84cc147b1af5844c6cbf61

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