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 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.0.13.tar.gz (124.3 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.13-py3-none-any.whl (151.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ultipa-6.0.13.tar.gz
Algorithm Hash digest
SHA256 cafab387d75efdb31c18a899336c432b60f4a402bc9591ac084a5d1491610189
MD5 1491e17606ec92e49d2d963adae54aa9
BLAKE2b-256 89add445d7621392be6fa719f7ba6f1c7ea46c6590f74c2776b14ab6dd6136ff

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ultipa-6.0.13-py3-none-any.whl
  • Upload date:
  • Size: 151.2 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.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 47ebb1135729ef1ac08d2181b2b763c691e1a61456a1965d1abd0ec9caf09394
MD5 faf0d5c8a1e517c4f4d05e9c29879b6f
BLAKE2b-256 fa45ffecf34d47c4d4b23bf4e6df6d59e492801ae2d77ad0e608f4a620680b7c

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