A Python ToolBox for CourseGrading platform.
Project description
Pygrading
CourseGrading(希冀)信息类专业教学与科研一体化平台开发用Python工具包
What is it • Install • Quick Start • Change Log • Basic Usage • API • Tutorials • FAQ • CG Site
Made by Charles Zhang • :globe_with_meridians: https://gitlab.educg.net/zhangmingyuan/PyGrading
What is it
希冀平台 全面支撑计算机、大数据、人工智能、集成电路、信息安全、机器人、金融科技、区块链等专业建设。 基于平台建成了涵盖实验、质量指标及过程控制的完整在线实验体系,实现了“任何人、任何时间、任何地点均能开展实验学习”的目标。
通用评测 是一个通用的自动评测框架,基于该框架可以定制开发任何自己需要的自动评测内核。
PyGrading工具包 目前该工具包包含以下功能:
- 支持CourseGrading平台通用评测内核快速构建;
- 支持适用于通用评测题、云桌面环境和Jupyter实验环境的评测结果JSON串的快速生成;
- 支持HTML标签文本内容的快速生成,绝对好用的HTML生成工具;
希望使用本工具能够提高大家的工作效率,祝各位开发顺利!
Install
使用pip可以轻松安装PyGrading:
pip install pygrading
PyGrading的运行环境要求 Python >= 3.5,不支持Python2。
Quick Start
下面从一段简单的代码开始,感受使用PyGrading创建通用评测内核的方便与快捷:
import pygrading as gg
# 创建一个任务对象
job = gg.Job()
# 设定任务得分、评定结果和评语
job.score(100)
job.verdict("Accept")
job.comment("Hello World")
# 输出评测结果
job.print()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pygrading-1.0.0.tar.gz
(14.5 kB
view details)
Built Distribution
pygrading-1.0.0-py3-none-any.whl
(19.0 kB
view details)
File details
Details for the file pygrading-1.0.0.tar.gz
.
File metadata
- Download URL: pygrading-1.0.0.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dca9656039ef5cb926fe10ff491415ad4995af4d770f5766a43fddf40246925d |
|
MD5 | 176f69efd15fb599c4ada96ebe619ce2 |
|
BLAKE2b-256 | f11dd84a9dc43394241e5e7583708a04d57bc7242aa5fd1cc53811b97ba9da71 |
File details
Details for the file pygrading-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: pygrading-1.0.0-py3-none-any.whl
- Upload date:
- Size: 19.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a6ff5240446cf7a5678dac4cfbb25d01f17128fa9aa8be572fa067ee5c4a4fa |
|
MD5 | 95c3ae32b8ffa622fb56fa074d34a2ba |
|
BLAKE2b-256 | 07b7f595d03a37ac7d6709ab8f67778b007a9101c90ec5ddfaa2190ad4cd6fc4 |