🐍 UltSQL Python Package (ultsql)
The official Python client for UltSQL — the converged multimodal database engine combining Relational SQL, NoSQL JSON, HNSW Vector RAG, and PL/SQL.
⚡ Installation
pip install ultsql
🚀 Quickstart Usage
from ultsql import UltSQLClient
# Connect to running UltSQL instance (via REST or PgWire)
db = UltSQLClient("http://localhost:8080")
# 1. Query records
result = db.query("users")
print("Users:", result["rows"])
# 2. Insert record
db.insert("users", {"id": 1, "name": "Alice", "score": 95.5})
# 3. Get OpenAPI 3.0 Documentation Schema
spec = db.openapi_spec()
print("OpenAPI Version:", spec["openapi"])
🔌 PostgreSQL Wire Protocol Compatibility
You can also connect to UltSQL from Python using standard psycopg2 or asyncpg:
import psycopg2
conn = psycopg2.connect("host=localhost port=5432 user=admin password=admin dbname=ultsql_db")
cur = conn.cursor()
cur.execute("SELECT * FROM users")
print(cur.fetchall())
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ultsql-1.0.15.tar.gz
(4.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ultsql-1.0.15.tar.gz.
File metadata
- Download URL: ultsql-1.0.15.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a44e0230f77b989c1241a286e892cd3bf86222bc8e8789c2899ea068bbeb3aa
|
|
| MD5 |
4e79bd0ac907289aacc380bc5c09f645
|
|
| BLAKE2b-256 |
6a5b42b93fc34c54e5852cfa6ef63b625912f04be93cf768731b8ec11e1fc077
|
File details
Details for the file ultsql-1.0.15-py3-none-any.whl.
File metadata
- Download URL: ultsql-1.0.15-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3bd5fa12e4c222e2ce7cb7667a2cdd088dd8a56675a1e32e1dfa605a6aa6474
|
|
| MD5 |
5007d7e493a616e4d33f18d9c6af1fe8
|
|
| BLAKE2b-256 |
b32078bfc3a6ea4851e9c259f6835f8df45ce99681fc4dfe018d2fc724857b81
|