https://github.com/qin2dim/clashbyte
Clash.Meta 生态组件
https://github.com/qin2dim/clashbyte
clashmeta hysteria tuic tuic-v5
Last synced: 8 months ago
JSON representation
Clash.Meta 生态组件
- Host: GitHub
- URL: https://github.com/qin2dim/clashbyte
- Owner: QIN2DIM
- License: mit
- Created: 2023-07-15T12:51:15.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-09T06:42:55.000Z (about 2 years ago)
- Last Synced: 2024-10-09T22:22:50.987Z (12 months ago)
- Topics: clashmeta, hysteria, tuic, tuic-v5
- Language: Python
- Homepage:
- Size: 17.6 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ClashByte
Clash & Clash.Meta 外部控制的 Python 实现## Get started
1. Install package
```bash
pip install -U clashbyte
```2. hello world
```python
from clashbyte import ClashMetaAPI
CONTROLLER_URL = "http://127.0.0.1:9090"
if __name__ == '__main__':
clash = ClashMetaAPI()
if clash.is_alive:
print(f"{clash.version=}")
```