QIN2DIM / ClashByte

Clash.Meta 生态组件

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ClashByte

Clash & Clash.Meta 外部控制的 Python 实现

Get started

  1. Install package

    pip install -U clashbyte
  2. hello world

    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=}")

About

Clash.Meta 生态组件

License:MIT License


Languages

Language:Python 100.0%