A command line tool to manage Alibaba Cloud ECS instances
Project description
sqnethelper
阿里云ECS实例管理工具,支持一键创建VPN服务器。
🚀 快速安装
# 推荐:使用pipx安装
pipx install sqnethelper
# 或使用pip安装
pip install sqnethelper
💡 快速使用
# 1. 配置阿里云凭证
sqnethelper setup
# 2. 一键创建VPN服务器(1小时后自动销毁)
sqnethelper create
# 3. 查看实例
sqnethelper list
📋 全部命令
sqnethelper --help # 查看帮助
sqnethelper setup # 配置阿里云凭证
sqnethelper config # 修改配置(区域/实例类型)
sqnethelper create # 创建实例并安装VPN
sqnethelper list # 列出所有实例
sqnethelper delete # 删除实例
sqnethelper autodel # 修改自动释放时间
sqnethelper addvpn # 为现有实例添加VPN
🔧 开发
快速开始
# 克隆并安装
git clone https://github.com/weishq/sqnethelper.git
cd sqnethelper
pip install -e .
# 测试运行
python -m sqnethelper --help
发布新版本
# 1. 更新setup.py中的版本号
# 2. 构建和发布
source venv/bin/activate
rm -rf build/ dist/ *.egg-info/
python -m build
python -m twine upload dist/*
📄 许可证
MIT License
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
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 sqnethelper-0.4.3.tar.gz.
File metadata
- Download URL: sqnethelper-0.4.3.tar.gz
- Upload date:
- Size: 36.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a44d3c6f637c44650db08e49f665d814a9bcbf240543356cc63a57db3752bc74
|
|
| MD5 |
8c054904cbfc407bccb69511a23efb95
|
|
| BLAKE2b-256 |
88d66a9abdadd102554db4142f99c83828b4b7b0226e7cef2c652b27f1e0d084
|
Provenance
The following attestation bundles were made for sqnethelper-0.4.3.tar.gz:
Publisher:
publish.yml on wade0317/sqnethelper
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sqnethelper-0.4.3.tar.gz -
Subject digest:
a44d3c6f637c44650db08e49f665d814a9bcbf240543356cc63a57db3752bc74 - Sigstore transparency entry: 1076212151
- Sigstore integration time:
-
Permalink:
wade0317/sqnethelper@4bc1765eaaefd0b61ce8ef3a2a4c3af268e74f10 -
Branch / Tag:
refs/tags/v0.4.3 - Owner: https://github.com/wade0317
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4bc1765eaaefd0b61ce8ef3a2a4c3af268e74f10 -
Trigger Event:
push
-
Statement type:
File details
Details for the file sqnethelper-0.4.3-py3-none-any.whl.
File metadata
- Download URL: sqnethelper-0.4.3-py3-none-any.whl
- Upload date:
- Size: 39.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2323b2ed0b380e57396ca4961ec3a153ffd2353322caa889d0dd993415a87867
|
|
| MD5 |
6174e593d618f59c1bc4ffc4af1d1e34
|
|
| BLAKE2b-256 |
2a6f93450240c63a8be2e9ec006a80cba399c129fbb90add63578c979bd30b04
|
Provenance
The following attestation bundles were made for sqnethelper-0.4.3-py3-none-any.whl:
Publisher:
publish.yml on wade0317/sqnethelper
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sqnethelper-0.4.3-py3-none-any.whl -
Subject digest:
2323b2ed0b380e57396ca4961ec3a153ffd2353322caa889d0dd993415a87867 - Sigstore transparency entry: 1076212153
- Sigstore integration time:
-
Permalink:
wade0317/sqnethelper@4bc1765eaaefd0b61ce8ef3a2a4c3af268e74f10 -
Branch / Tag:
refs/tags/v0.4.3 - Owner: https://github.com/wade0317
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4bc1765eaaefd0b61ce8ef3a2a4c3af268e74f10 -
Trigger Event:
push
-
Statement type: