将自然语言转换为shell命令的工具
Project description
pip install build twine
2. 构建分发包
python -m build
3. 上传到 PyPI(如果是第一次,需要先在 PyPI 注册账号)
twine upload dist/*
使用方法 首次使用前,创建配置文件 ~/.nl2shell.yaml api_key: "your-api-key" base_url: "your-api-base-url" model: "gpt-4-turbo"
使用命令: nl2shell "你的自然语言描述"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nl2shell-0.1.2.tar.gz
(3.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 nl2shell-0.1.2.tar.gz.
File metadata
- Download URL: nl2shell-0.1.2.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0cfac879550aba1746f42aa175162d34ad99bcfac37ea6285baadfb3a1750fe
|
|
| MD5 |
23386efe6adff78fb8e354c228124f6c
|
|
| BLAKE2b-256 |
dad31ca9ea99e42a48f3eaa44e271c999d27e17875cac30654d9e67e67c04463
|
File details
Details for the file nl2shell-0.1.2-py3-none-any.whl.
File metadata
- Download URL: nl2shell-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
131fe226479882f8a92548d37075682a1f05ebc54b23051afe326d1c6f409b5e
|
|
| MD5 |
061b806f23a440939a0a25de8cbb071d
|
|
| BLAKE2b-256 |
a34ed76c6dbad150f3b6ef292c151dbee60c32d52c08a0f33b1ff0fc9943718b
|