Skip to main content

auto-clash

安装

pip install auto-clash

使用

代码

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)

命令行

auto-clash

Metadata

Release files for auto-clash 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for auto-clash 0.1.1
File Size Uploaded Provenance Actions
auto_clash-0.1.1.tar.gz 3.7 kB Without provenance Details for auto_clash-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for auto-clash 0.1.1
File Interpreter ABI Platform Actions
auto_clash-0.1.1-py3-none-any.whl Python 3 none any Details for auto_clash-0.1.1-py3-none-any.whl

Total release size: 8.1 kB

Release files / auto_clash-0.1.1.tar.gz

Download URL auto_clash-0.1.1.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a75903a1e11c89901ba8067565c94487a940c51fbe037ebdfcb7cfadc7640ad9
BLAKE2b-256 checksum
How to use checksums
0c63217777e8c8366d12d322d5584c30f1a4e17f15c8249fe6d2d5a25739834d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.10

Release files / auto_clash-0.1.1-py3-none-any.whl

Download URL auto_clash-0.1.1-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
05ed7b7b1e9749081ec400994956c3365e8b8155dbb520d03b82c4ea90188212
BLAKE2b-256 checksum
How to use checksums
a140b3bfef1d45ade50116f2fcc5cdd5ee052af75ece6e27bea9c57eac239879
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.10

Security for auto-clash 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page