code-grader-0.1.8
توضیحات
Add a short description here!
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | code-grader-0.1.8 |
| نام | code-grader |
| نسخه کتابخانه | 0.1.8 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Stephan Seitz |
| ایمیل نویسنده | stephan.seitz@fau.de |
| آدرس صفحه اصلی | https://github.com/pyscaffold/pyscaffold/ |
| آدرس اینترنتی | https://pypi.org/project/code-grader/ |
| مجوز | mit |
[](https://badge.fury.io/py/code-grader)
# code-grader
Generate a PDF of graded source files as a feedback for students
## Installation
- Please ensure that **latexmk** or **pdflatex** is in `$PATH`!
- We use the `minted` and the `geometry` LaTeX package
- Install this package
```bash
pip3 install code-grader
```
Or from this repo:
```bash
pip3 install -e .
```
## Usage
```bash
code-grader Signal.java LinearFilter.java
```
where `Signal.java` `LinearFilter.java` are Java source code files somewhere in the directory structure of current
directory.
Usually, you want to grade more than one student:
```bash
# Will generate one PDF for each subdir of current working directory
code-grader Signal.java LinearFilter.java --batch-grade
```
More options:
```bash
code-grader -h
```
## Magic Comments
Comment your code with
- `/// <-` Hint for the students
- `// [task blub: X/Y points]` Grading for a subtask
نحوه نصب
نصب پکیج whl code-grader-0.1.8:
pip install code-grader-0.1.8.whl
نصب پکیج tar.gz code-grader-0.1.8:
pip install code-grader-0.1.8.tar.gz