Skip to main content

ChatNet

ChatNet 是 ChatArch 的通用网络工具包,提供 Wi-Fi 连接管理、网络诊断、链接检查、显式代理和可复用的门户会话接口。

文档站 · 英文版 · 快速开始 · CLI 树

按任务选择

需要完成的事 入口 边界
查看无线能力、扫描、连接已有网络 Wi-Fi 管理 macOS CoreWLAN 或 Linux NetworkManager;凭据由系统或受控输入提供
查看工具、平台和权限要求 能力与接口 安装 Python 包不等于具备无线硬件或系统授权
观察授权网络、验证已有离线材料 观测与离线验证 独立的可选功能,不是普通连接的前置步骤
诊断并受控恢复 Linux 网络 离线网络恢复 显式单次恢复,受身份、管理路径和预算约束
检查链接、端口与服务,使用代理 快速开始 保留通用网络工具;应用专用门户业务由上层包承担

安装与查看

python -m pip install ChatNet
chatnet --help
chatnet --tree
chatnet --tree-brief
chatnet wifi capabilities
chatnet wifi interfaces

chatnet --tree 包含参数签名,chatnet --tree-brief 保留相同节点和说明;二者均由 ChatStyle 从真实注册表生成。能力检查不下载组件、不修改网络。没有受支持后端时,查看返回的 available 和限制说明。

普通 Wi-Fi 管理不需要 Hashcat 或监控模式网卡。macOS 使用系统 CoreWLAN,首次构建辅助程序需要 Swift 工具链;Linux 需要已运行的 NetworkManager 和 nmcli。定位授权、系统策略及网卡/驱动能力可能限制结果。ChatNet 不安装驱动、替换网络栈或启用新的后台服务。

连接与凭据

先通过 wifi profiles 选择已有配置,再用 wifi connect --profile 复用系统凭据。新网络口令只通过隐藏交互或 --password-stdin 输入,不提供明文密码命令行参数。连接和断开会影响选定无线接口,状态回读不代表 Internet 已可用。Linux 新配置仅存于当前系统会话,不自动连接、不保存口令。

ChatNet 自有运行态位于 $CHATARCH_HOME,未设置时使用 ~/.chatarch;系统已有配置和钥匙串仍由操作系统维护。代理配置继续由 ChatEnv 的 ChatNet 配置类型管理。密码和令牌不进入普通 JSON 或文档。

开发与接口

python -m pip install -e ".[dev,docs]"
python -m pytest -q
mkdocs build --strict

Python 接口 可直接复用管理与诊断函数,无需从 Python 再启动 CLI。应用层校园门户逻辑属于 ChatECNU 等上层包,ChatNet 保持应用无关。

Metadata

Release files for ChatNet 0.2.6

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

Source distribution (sdist)

Source distribution for ChatNet 0.2.6
File Size Uploaded Provenance Actions
chatnet-0.2.6.tar.gz 108.3 kB With provenance Details for chatnet-0.2.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ChatNet 0.2.6
File Interpreter ABI Platform Actions
chatnet-0.2.6-py3-none-any.whl Python 3 none any Details for chatnet-0.2.6-py3-none-any.whl

Total release size: 189.8 kB

Release files / chatnet-0.2.6.tar.gz

Download URL chatnet-0.2.6.tar.gz
Size 108.3 kB
Tags Source
SHA-256 checksum
How to use checksums
24fbcf90a422e8240f9c5613bb0d7637a2bbf9fec2755a3ef5bcca2cbd6ba548
BLAKE2b-256 checksum
How to use checksums
a11016f6cef6900a1cefc5eb1cd19d808c91bb4d2a45ed0943d959ef70167e01
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Release files / chatnet-0.2.6-py3-none-any.whl

Download URL chatnet-0.2.6-py3-none-any.whl
Size 81.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c32da092de68034a8a2d03173975edaa57352c0d80578fbe48dc5e46ecaa1054
BLAKE2b-256 checksum
How to use checksums
7163dda202b257ce63003a445cc680985fca651f4fe41bad8e67be2454504202
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Security for ChatNet 0.2.6

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for chatnet-0.2.6.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

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.

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