Skip to main content

AI SQL

Turn natural language into SQL queries. Supports MySQL, PostgreSQL, SQLite.

Installation

pip install ai-sqlx

Usage

# Generate SQL from natural language
ai-sqlx "find users who registered in the last 7 days"

# Specify database dialect
ai-sqlx -d postgres "total orders per customer"

# With schema context
ai-sqlx -s "products(id,name,price,stock)" "items with low inventory"

# Explain the generated SQL
ai-sqlx -e "count products by category"

Pricing

Plan Price Scope
Bundle (recommended) $10 USDT All 4 tools
SQL Pro $7 USDT This tool only
Free $0 1 trial

Payment: USDT (ERC20) — 0xafc32581a9e4ea30aa03cb8ef5879c2366d35f46

After payment, run: ai-sqlx claim <tx_hash>

Configuration

ai-sqlx --config

Requires OpenAI API key.

License

MIT

Metadata

Release files for ai-sqlx 0.1.5

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

Built distribution (wheel)

Table of built distributions (wheels) for ai-sqlx 0.1.5
File Interpreter ABI Platform Actions
ai_sqlx-0.1.5-py3-none-any.whl Python 3 none any Details for ai_sqlx-0.1.5-py3-none-any.whl

Release files / ai_sqlx-0.1.5-py3-none-any.whl

Download URL ai_sqlx-0.1.5-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
93dc9fdda0d150ca81547849ccff9b4507d9c9c29743106f885d392b3b402f50
BLAKE2b-256 checksum
How to use checksums
7b2d8d481e02172b0fb42ed5961c505ec2a57bf6db9899e9a98079d9dccc3590
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for ai-sqlx 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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