Skip to main content

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


Download files

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

Source Distribution

sqnethelper-0.3.3.tar.gz (36.6 kB view details)

Uploaded Source

Built Distribution

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

sqnethelper-0.3.3-py3-none-any.whl (39.0 kB view details)

Uploaded Python 3

File details

Details for the file sqnethelper-0.3.3.tar.gz.

File metadata

  • Download URL: sqnethelper-0.3.3.tar.gz
  • Upload date:
  • Size: 36.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for sqnethelper-0.3.3.tar.gz
Algorithm Hash digest
SHA256 74d005c831273791023b8a21bafeb0cc521ca09de3fdc6f80669adbb8aa463ed
MD5 b2afec3f76f6081e86f0b5edc56bf81d
BLAKE2b-256 fc0add3b31bb24c015242082dd829fe1b339d2a8a465ecafeed12b624853f386

See more details on using hashes here.

File details

Details for the file sqnethelper-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: sqnethelper-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 39.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for sqnethelper-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b230421cf7572d899b81ec5777b4a9d1addc47695524d9124490cc379de8d4c8
MD5 a8ca8b56d69ddd1282d0076747816adc
BLAKE2b-256 29be9729004cd954f1b3854b5110891e086041de8286416512af63fe9a5ef03d

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