Skip to main content

aidefense-cli

AI 导论编程题出题与答辩命令行工具(默认 Moonshot/Kimi)。

Install

From PyPI (after publish):

python -m pip install aidefense-cli

Editable (for development):

python -m pip install -e .

Quick start

Set env vars (recommended):

set AIDEF_API_KEY=sk-...
set AIDEF_API_BASE=https://api.moonshot.cn/v1
set AIDEF_MODEL=moonshot-v1-8k

Start REPL:

aidef

Inside REPL:

  • gen 生成题目(会要求输入:主题/题型/难度)
  • code paste 粘贴学生代码(以单独一行 EOF 结束)
  • output paste 粘贴运行输出(以单独一行 EOF 结束)
  • defend 发起答辩(只问 1 个深入问题)
  • say 你的回复... 继续多轮答辩
  • export md record.md 导出 Markdown 记录

Metadata

Release files for aidefense-cli 0.1.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 aidefense-cli 0.1.0
File Size Uploaded Provenance
aidefense_cli-0.1.0.tar.gz 12.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for aidefense-cli 0.1.0
File Interpreter ABI Platform
aidefense_cli-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 27.7 kB

Release files / aidefense_cli-0.1.0.tar.gz

Download URL aidefense_cli-0.1.0.tar.gz
Size 12.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f028a8b8808d56abfd87c4e03633492c9fb08bad95ca22fab2742462f1d79451
BLAKE2b-256 checksum
How to use checksums
2a0c663050f4febd31abdab4e8fd53cedccec60f8f3812bfa30edb87bb56b850
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / aidefense_cli-0.1.0-py3-none-any.whl

Download URL aidefense_cli-0.1.0-py3-none-any.whl
Size 15.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
879a5be144a8f9a2510ed2633f7fc9713e5ed83e9203f38407eef7f2f519d86f
BLAKE2b-256 checksum
How to use checksums
087bd658a7979b1850faa7dc94d2e6e8ed0d92c390552204c688f38616c6239c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Security for aidefense-cli 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.0 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