将自然语言转换为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.1.tar.gz
(3.5 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.1.tar.gz.
File metadata
- Download URL: nl2shell-0.1.1.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dcdbfbc5cfb346f10c2fbd9a56fa0c16dc6e5591a6e90fcb1e5236dfefe67693
|
|
| MD5 |
9f941a4195e07424ba31a3e408f23784
|
|
| BLAKE2b-256 |
8979d38776007b118d05e3a7a3cf1a74c54373ce95b21d1760b05f59bdfa44e0
|
File details
Details for the file nl2shell-0.1.1-py3-none-any.whl.
File metadata
- Download URL: nl2shell-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.8 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 |
6ee0485e5ac4be78800d800d5f1950c65633e2caa6a1d5c48dfa8bbe29e7725a
|
|
| MD5 |
b2316e89cbdb0a296f6743ccdaf9c812
|
|
| BLAKE2b-256 |
720cc98fe173311ee4577332f2c67925c362b46307b628371ad87d2161eda0d5
|