🐍 UltSQL for Python Developers
Zero Dart / Zero Setup Required!
If you are a Python developer, you DO NOT need Dart or Flutter installed on your machine. Everything works using standard Python code and tools (pip).
🚀 Quickstart Guide for Python Developers
Step 1: Install Package
pip install ultsql
Step 2: Use in Python
Method A: Using the UltSQL Python Client (REST API)
from ultsql import UltSQLClient
# Connect to ULTSQL
db = UltSQLClient("http://localhost:8080")
# 1. Insert records
db.insert("users", {"id": 1, "name": "Alice", "score": 98.5})
# 2. Query records
users = db.query("users")
print("User rows:", users["rows"])
# 3. Truncate table
db.truncate("users")
Method B: Using Standard PostgreSQL Drivers (psycopg2 / asyncpg)
Because ULTSQL speaks the PostgreSQL Wire Protocol, you can use standard Python database libraries:
pip install psycopg2-binary
import psycopg2
# Connect to ULTSQL PostgreSQL wire port (default: 5432)
conn = psycopg2.connect("host=localhost port=5432 user=admin password=admin dbname=ultsql_db")
cur = conn.cursor()
cur.execute("SELECT * FROM users WHERE score >= %s", (90.0,))
rows = cur.fetchall()
print("Postgres Client Rows:", rows)
❓ Frequently Asked Questions for Python Users
- Do I need to install Dart or Flutter?
No! Python developers only need Python andpip. - Can I run ULTSQL without any background server app?
Yes! ULTSQL bundles precompiled dynamic C libraries (libultsql.soon Linux,ultsql.dllon Windows,libultsql.dylibon macOS) so the database engine can run directly inside Python process memory just like SQLite.
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.17.tar.gz
(4.6 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.17.tar.gz.
File metadata
- Download URL: ultsql-1.0.17.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5164ad5289eab43d19a2c93e1f251bbb53942752c7d2d48006a21ca7c1c2809c
|
|
| MD5 |
aab03ac15fa4ce5a7aee96f7b9695c4b
|
|
| BLAKE2b-256 |
ea78fae5af8329f8176b82589ec85cf6ca262878629eb67b61cd75cb6f81c18a
|
File details
Details for the file ultsql-1.0.17-py3-none-any.whl.
File metadata
- Download URL: ultsql-1.0.17-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b4c6def1c1fa7117be0c86dcd2d7591658ecbabb38bd4151d21e10a4dd6d1a3
|
|
| MD5 |
2bfee19f01efc6016777883b46d5f3cd
|
|
| BLAKE2b-256 |
956dc17b9867a2f44326eabb7b18bf4236e18c5d9ebc07aa43d726a8f97ce0a6
|