Skip to main content

AI SQL — 自然语言转 SQL,支持中文/英文,直连数据库执行

Project description

AI SQL

自然语言转 SQL — 支持中文/英文,直连数据库执行

安装

pip install ai-sql

使用

# 生成 SQL
ai-sql "查询最近7天的订单"

# 指定数据库方言
ai-sql -d postgres "每个用户的订单总额"

# 提供 Schema
ai-sql -s "users(id,name),orders(id,user_id,amount,created_at)" \
  "上个月订单最多的10个用户"

# 带解释
ai-sql -e "统计各城市用户分布"

# 配置 LLM API
ai-sql --config

定价

功能 免费版 Pro 买断 $7 USDT
SQL 生成 ✅ 1次/天 ✅ 无限
安全检查
数据库直连
Schema 自动检测
SQL 执行

付款: USDT (ERC20) — 0xafc32581a9e4ea30aa03cb8ef5879c2366d35f46

打款后运行 ai-sql claim <交易哈希> 自动激活。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ai_sqlx-0.1.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file ai_sqlx-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ai_sqlx-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for ai_sqlx-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6138dad9610be9a634e6bd480fc5656c0e639682e5614141768955c8faa25590
MD5 4c2ca7e66ae8b5f59d19670b1906b853
BLAKE2b-256 b1f51b22313b1135ce6e22eeae0ea435f887fe792eeaa5c63e1df6d4f85ddeff

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