Skip to main content

🐍 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

💻 Install the ultsql CLI (1-Line Auto-Installer)

If you want to run the standalone ultsql server daemon or interactive CLI shell directly from your terminal:

  • Windows (PowerShell):
    iwr -useb https://raw.githubusercontent.com/ompatel3158/ULTSQL/main/install.ps1 | iex
    
  • Linux & macOS (Bash):
    curl -sSL https://raw.githubusercontent.com/ompatel3158/ULTSQL/main/install.sh | bash
    

After running the installer, open a new terminal and type ultsql --help or ultsql server.

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 and pip.
  • Can I run ULTSQL without any background server app?
    Yes! ULTSQL bundles precompiled dynamic C libraries (libultsql.so on Linux, ultsql.dll on Windows, libultsql.dylib on macOS) so the database engine can run directly inside Python process memory just like SQLite.

Metadata

Release files for ultsql 1.0.18

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ultsql 1.0.18
File Size Uploaded
ultsql-1.0.18.tar.gz 4.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ultsql 1.0.18
File Interpreter ABI Platform
ultsql-1.0.18-py3-none-any.whl Python 3 none any Details

Total release size: 10.4 kB

Release files / ultsql-1.0.18.tar.gz

Download URL ultsql-1.0.18.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
605f86a67753d8cb0bcb712ad7807c4499468008aedc0c8c6e6bb5c0c8e4c9c0
BLAKE2b-256 checksum
How to use checksums
a6e68dab43258b305b08a56d54d55b9bdfb64435716ff11899fdf66329e4483d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / ultsql-1.0.18-py3-none-any.whl

Download URL ultsql-1.0.18-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ad141056dc59f3c06cf2641ad9529df09f473d0d83b8e634fd9a5c86b343531e
BLAKE2b-256 checksum
How to use checksums
ec8323d92eecacea332813901ba3127a92f9de8b46f613bf84f8e2a7ae1b3cc7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

1.0.24

2 release files

1.0.23

2 release files

1.0.22

2 release files

1.0.21

2 release files

1.0.19

2 release files

This release

1.0.18 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page