Skip to main content

ChatECNU

ChatECNU 是 ECNU 门户与校园网联网工具包。安装包名仍是 ChatECNU,日常命令主推 ecnu

文档入口

任务 链接
安装和最小验证 https://arch.gh.wzhecnu.cn/ChatECNU/quickstart/
命令树 https://arch.gh.wzhecnu.cn/ChatECNU/cli-tree/
ChatEnv 变量 https://arch.gh.wzhecnu.cn/ChatECNU/chatenv/
ECNU 使用 https://arch.gh.wzhecnu.cn/ChatECNU/ecnu/

安装

pip install ChatECNU

如需验证码识别能力:

pip install "ChatECNU[captcha]"

命令结构

ecnu
├── home      # ECNU 门户
├── net       # 校园网联网
└── visitor   # 访客账号

门户命令统一放在 home 下:

ecnu home login -i
ecnu home info
ecnu home status
ecnu home user
ecnu home logout

校园网联网统一放在 net 下:

ecnu net check --auth-client /usr/local/bin/auth_client --json
ecnu net login --auth-client /usr/local/bin/auth_client -I
ecnu net logout --auth-client /usr/local/bin/auth_client --username "$ECNU_USERNAME" -I
ecnu net ensure-login --auth-client /usr/local/bin/auth_client -I

ChatECNU 不打包 auth_client。请用 --auth-clientECNU_AUTH_CLIENT 指定路径。账号密码使用同一组 ECNU_USERNAME / ECNU_PASSWORD

敏感值(密码、Cookie、短信码、会话)不要打印或提交。

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chatecnu-0.2.0.tar.gz (24.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chatecnu-0.2.0-py3-none-any.whl (24.4 kB view details)

Uploaded Python 3

File details

Details for the file chatecnu-0.2.0.tar.gz.

File metadata

  • Download URL: chatecnu-0.2.0.tar.gz
  • Upload date:
  • Size: 24.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for chatecnu-0.2.0.tar.gz
Algorithm Hash digest
SHA256 3a8e486a61c40dd6c1108620eb13ff06217ed4970761ee3f1fc047230e0d8653
MD5 3b761edb53758b4da8d216518bc53f20
BLAKE2b-256 a150de0b1daabfee6a6262d7720264b5a7ed76883b542ce83df7f25bcb0e2e33

See more details on using hashes here.

Provenance

The following attestation bundles were made for chatecnu-0.2.0.tar.gz:

Publisher: publish.yml on ChatArch/ChatECNU

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chatecnu-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: chatecnu-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 24.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for chatecnu-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f52d11d82f14eeb4c03d9ac68aea0e458629c0665e8a9ad9ce7cdb5a441d7589
MD5 9007427d95271490bc4ae52a2491fe8d
BLAKE2b-256 928c45f4d15900b1e771c5a2db50d835a75253d11abfcbb19c68151f4512d994

See more details on using hashes here.

Provenance

The following attestation bundles were made for chatecnu-0.2.0-py3-none-any.whl:

Publisher: publish.yml on ChatArch/ChatECNU

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

This release

0.2.0 This release

2 files

0.1.1

2 files

0.1.0

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page