semvec/pypi-packages huggingface dataset:
auto-clash 0.1.1
Switch proxy nodes using the clash api
License: MIT
Requires Python: >=3.10

# auto-clash
### 安装
```shell
pip install auto-clash
``` 
### 使用
代码
```python
import time

from auto_clash.clash import Clash

clash = Clash()
print(clash.rule_groups)
print(clash.get_proxies())
clash.change_node("vip1 香港-01 测试")
clash.verify_proxy()
while True:
    clash.auto_switch()
    time.sleep(10)

```



命令行
```shell
auto-clash
```