Skip to main content


📝 ENGLISH 🖥️ 命令行文档 🧰 函数文档 🔧 开发文档 ⚠️ 免责声明
View 点击进入 点击进入 点击进入 点击前往

👋🏻 欢迎使用 CodemaoEDUTools!

全新版本,全新体验,欢迎使用 CodemaoEDUTools V2!

为编程猫社区的”老师“们提供更便捷的API调用方案,且用且珍惜

🔧 安装

  1. 直接安装:pip install CodemaoEDUTools
  2. 本地Wheel安装:
    • 在 Relese 界面下载最新的 Wheel 包
    • 使用 pip install <wheel包路径> 进行安装
  3. 远古方式(这种方式不能使用命令行):
    • 在 Release 界面下载最新的压缩包
    • 将 CodemaoEDUTools 文件夹放入到你的项目里

😎 使用

这个程序不仅可以在CLI(命令行)环境中使用,还可以作为一个库被调用

在命令行中使用

在安装 CodemaoEDUTools 后,你可以在命令行中直接输入:cet 来使用这个工具

例如:cet version

当然,你也可以在运行 uv pip install -e . 后通过 uv run CodemaoEDUTools 来使用这个工具

我们在 2.1.0 版本中将项目管理器变更为了 uv,这意味着你无法像往常那样使用CET了

作为库调用

在安装 CodemaoEDUTools 后,你可以在代码中使用:import CodemaoEDUTools 来导入这个工具

如果你正在制作分发给他人的程序,请要求对方安装 CodemaoEDUTools

📃 文件格式

程序不是活人,所以你得知道文件格式

Token 文件格式

每行一个 Token,纯文本格式,无后缀名要求,建议设置为 tokens.txt

表格文件格式

批量登录 EDU 账号时,程序需要一个包含账号密码的表格,这个表格可以由 MergeStudentXls() 函数生成

不要带标题,直接就是 账号名-账号-密码,下面这个表格一看就知道了:

{账号名} {账号} {密码}
{账号名} {账号} {密码}

仅接受 .xlsx 后缀文件

👍🏻 程序默认值

程序默认值在 __init__.py 内,有注释说明。由于是旧时代的产物,没有办法在直接安装时自定义,之后会加上的

只有 CLI 才能使用程序默认值

📂 版本更新/分支

  • main 主分支,在此分支的代码为最新版本代码,会自动生成 Wheel 包以及压缩包
  • dev 分支是开发分支,如果你要对本程序进行开发,请在此分支进行
  • old 分支为极早之前的版本,现已不再更新

我们会定期合并 dev 分支到 main 分支,以完成更新

⚠️ 免责声明

在适用法律允许的最大范围内,项目作者及贡献者不对因使用、无法使用或依赖本项目而产生的任何损失承担责任。该等损失包括但不限于直接损失、间接损失、附带损失、特殊损失、惩罚性损失或后果性损失,无论该等损失是否源于合同、侵权(包括过失)或其他法律理论,即使已被告知可能发生此类损失亦然。本免责声明同样适用于将本项目作为依赖库使用或通过 CLI 工具方式使用的所有情形。

本项目可能被用于多种运行环境和用途,包括但不限于开发环境、测试环境、生产环境及自动化脚本场景。使用者应自行评估本项目在其具体使用场景下的适用性、准确性、安全性及合规性,并自行承担由此产生的全部风险。 任何因第三方系统、平台、数据源、接口变更、接口限制或配置错误所引发的问题,均不属于本项目及其作者的责任范围。

本项目所使用的接口均为编程猫官方已公开、可通过常规手段访问的 API。本项目未使用任何第三方 API,亦未对编程猫提供的任何安全机制、访问控制或技术保护措施进行绕过、破解或规避。

任何基于本项目进行 Fork、派生或二次开发而形成的仓库,均不属于原作者的直接管理或管辖范围。原作者无法对 Fork 仓库中的代码内容、功能修改、发布行为或后续维护情况进行持续或有效的约束,亦不对由此产生的任何后果承担责任。

此外,原作者不对任何个人或组织在使用本项目过程中的具体使用行为承担监管义务。尽管作者已事先明确声明并提醒禁止将本项目用于任何违法或违规用途,但若使用者违反相关法律法规,或将本项目用于不当、非法或超出合理预期的用途,由此产生的一切法律责任与后果均应由使用者自行承担,与本项目及其作者无关。

本项目基于 Apache License, Version 2.0 进行许可。

本免责声明不构成对 Apache License 2.0 条款的补充、修改或替代;如本免责声明与 Apache License 2.0 存在不一致之处,以 Apache License 2.0 的约定为准。

😇 感谢以下项目的支持!

给我和他们一个 ⭐Star️ 哦

Aumiao

CodemaoLV5

编程猫API文档

本项目是以下项目的改体:

  • CodemaoCommunityHistory/CodemaoEduAutoReg
  • CodemaoCommunityHistory/CodemaoPL

❤️ 感谢各位贡献者



結ばれた絆に 裏切ることない愛情 を

为相连的牵绊 带来了永不背叛的爱情

《LOVETOXIN》- https://music.163.com/song?id=2077776113

Metadata

Release files for codemaoedutools 2.2.0

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

Source distribution (sdist)

Source distribution for codemaoedutools 2.2.0
File Size Uploaded Provenance Actions
codemaoedutools-2.2.0.tar.gz 16.7 kB Without provenance Details for codemaoedutools-2.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 36.7 kB

Release files / codemaoedutools-2.2.0.tar.gz

Download URL codemaoedutools-2.2.0.tar.gz
Size 16.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5a175fa4ccedd2166befcc3d0655f7d1b805d41bb332dc5264e7c61e165f113f
BLAKE2b-256 checksum
How to use checksums
b3a7af293ea559b818d68001d967aeb3f9f5530e9b23c1f8f7ec07d46b553909
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release files / codemaoedutools-2.2.0-py3-none-any.whl

Download URL codemaoedutools-2.2.0-py3-none-any.whl
Size 20.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
38ac1e13a86b1b5beb6cbb96faaef125a9300c855dd4a38ce239047b29e741ab
BLAKE2b-256 checksum
How to use checksums
4af3f66e97bb74b72ada99a7454b136dbadff3d782a10eaa78c875cfc1375488
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Security for codemaoedutools 2.2.0

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.

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