自然语言操作MySQL——输入中文即可查询、插入、修改数据库
Project description
vmysql-cli
自然语言操作 MySQL —— 输入中文即可查询、插入、修改数据库。
安装
pip install vmysql-cli
使用
# 命令行交互模式
vmysql-cli
# 代码调用
import vmysql_cli
vmysql_cli.configure(api_key="sk-xxx", base_url="https://api.deepseek.com/v1", db_url="mysql+pymysql://user:pass@host:3306/db0")
vmysql_cli.sql("查询所有用户")
vmysql_cli.use_db("另一个数据库") # 运行时切换数据库
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vmysql_cli-0.1.4.tar.gz
(6.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 vmysql_cli-0.1.4.tar.gz.
File metadata
- Download URL: vmysql_cli-0.1.4.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
453fed0f0fcd45b6bacf8dcbc7e344cb9320ca4bea4be7bea279404d18bc32d6
|
|
| MD5 |
dbe9d60574e8ee2d270c44562459bf0a
|
|
| BLAKE2b-256 |
83c196ba76ee6b73f40a9c0f055f251758b6aee799fccf50eb8a6240c6eb06fb
|
File details
Details for the file vmysql_cli-0.1.4-py3-none-any.whl.
File metadata
- Download URL: vmysql_cli-0.1.4-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
357bdebe68f80ef72ffb4510c581f1233311c38869cbbd2fdb255146dd6e64b2
|
|
| MD5 |
37ddaeae64e3c9da3741bc6f9ad68b47
|
|
| BLAKE2b-256 |
8c3f12f54c6050c0d19244cabacdc8345dd6be9cb8e3991204dde1d8f603d8d6
|