Metadata-Version: 2.1
Name: auto-clash
Version: 0.1.0
Summary: Switch proxy nodes using the clash api
Author-Email: funcdefmain <741132517@qq.com>
License: MIT
Requires-Python: >=3.10
Requires-Dist: requests>=2.32.3
Requires-Dist: pyyaml>=6.0.2
Requires-Dist: loguru>=0.7.2
Requires-Dist: jsonpath>=0.82.2
Description-Content-Type: text/markdown

# 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
```
