Skip to main content

A Python ToolBox for CourseGrading platform.

Project description

Pygrading

CourseGrading(希冀)信息类专业教学与科研一体化平台开发用Python工具包

Official Site Pypi package GitHub license

What is itInstallQuick StartChange LogBasic UsageAPITutorialsFAQCG Site

Made by Charles Zhang • :globe_with_meridians: https://gitlab.educg.net/zhangmingyuan/PyGrading

What is it

希冀平台 全面支撑计算机、大数据、人工智能、集成电路、信息安全、机器人、金融科技、区块链等专业建设。 基于平台建成了涵盖实验、质量指标及过程控制的完整在线实验体系,实现了“任何人、任何时间、任何地点均能开展实验学习”的目标。

通用评测 是一个通用的自动评测框架,基于该框架可以定制开发任何自己需要的自动评测内核。

PyGrading工具包 目前该工具包包含以下功能:

  1. 支持CourseGrading平台通用评测内核快速构建;
  2. 支持适用于通用评测题、云桌面环境和Jupyter实验环境的评测结果JSON串的快速生成;
  3. 支持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


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 hashes)

Uploaded Source

Built Distribution

pygrading-1.0.0-py3-none-any.whl (19.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page