Metadata-Version: 2.4
Name: suanqi
Version: 0.1.0
Summary: Run compute tasks on temporary cloud servers from a local command.
Author: Keyu Zhu
License-Expression: MIT
Project-URL: Homepage, https://github.com/zhukeyu8303/SuanQi
Project-URL: Repository, https://github.com/zhukeyu8303/SuanQi
Project-URL: Issues, https://github.com/zhukeyu8303/SuanQi/issues
Keywords: cloud-computing,tencent-cloud,cvm,cli,remote-execution,spot-instance
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: System :: Distributed Computing
Classifier: Topic :: System :: Systems Administration
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: tencentcloud-sdk-python>=3.0.0
Requires-Dist: datetime
Dynamic: license-file

# SuanQi 腾讯云网关

## 项目结构

```text
suanqi_gateway_complete/
├── gateway/
│   ├── __init__.py
│   └── tencent_gateway.py
├── main.py
└── requirements.txt
```

## 安装

```bash
pip install -r requirements.txt
```

## PowerShell 配置密钥

```powershell
$env:TENCENTCLOUD_SECRET_ID="你的SecretId"
$env:TENCENTCLOUD_SECRET_KEY="你的SecretKey"
```

## 运行

```bash
python main.py
```

`main.py` 默认只查询和询价，不创建收费实例。

正式测试创建时，将：

```python
CREATE_INSTANCE = False
```

改为：

```python
CREATE_INSTANCE = True
```
