Skip to main content

Pure Python Ultipa Driver

Project description

Ultipa Python Driver

Official Python driver for Ultipa graph database (GQL).

Requirements

  • Python 3.9+

Installation

pip install ultipa

Note: This is the v6.x driver for Ultipa GQL. 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 GUIDE.md 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.0.1.tar.gz (90.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-6.0.1-py3-none-any.whl (111.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ultipa-6.0.1.tar.gz
Algorithm Hash digest
SHA256 3c637ae1a03a3c4288d582e93c9e471ac5304a75a70b6725d4d227ee924b825c
MD5 ef08161ae8532365f309a64def7cd12c
BLAKE2b-256 2086feaf2c02f826f4da33a2069a86b9a0b651bcfe5fb69305a45ce80f5ed300

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ultipa-6.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 28965e81eb78c3eddefbbe87d658cec7984d3d85b3d71de6026a7c278272d947
MD5 c499404aceb82af969b51a1b340f22a7
BLAKE2b-256 40138138bd1717b44a4527d7e20a0d8762c7d4f555deb0e326ad01f33779826f

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