Giter VIP home page Giter VIP logo

proben-wrangler's Introduction

Proben-Wrangler

A collection of tools for wrangling Proben. ๐Ÿ‘จโ€๐Ÿซ

General Usage

  • pip install -r requirements.txt

Tools

Split Exams PDF

Splits a class-set PDF of exam scans into individual PDFs for each student, based on a points / grade list Excel spreadsheet.

Usage:

python split_exams_pdf.py <path_to_clas_pdf> <path_to_metadata_spreadsheet> <spreadsheet_tab_index>

Example: The following command splits a spreadsheet Proben_xy_korrigiert.pdf up into individual PDFs for each student, located in /path/to/Proben_xy_korrigiert, using student information in worksheet / tab 0 an Excel spreadsheet Auswertung_Probe_xy.xlsx.

python split_exams_pdf.py "/path/to/Proben_xy_korrigiert.pdf" "/Path/to/Auswertung_Probe_xy.xlsx" 0

File requirements:

  • Column Seite contains the 1-indexed page number on which the exam for this student begins
  • Column Name contains the student's last name
  • Column Vorname contains the student's first name
  • Column headers are located on line 3 (1-indexed)
  • PDF contains no pages to be skipped (length of the printout is calculated as a different between to starting page values in the spreadsheet)

Example metadata file:

Seite Name Vorname A1 A2 A3 P_total Note
1 Muster Max 5 1.5 3 9.5 5.5
3 Beispiel Bettina 7 1 3.5 11.5 6
5 Alisson Alice 3 2 1 6 4.5

Note: The point scores and grades are not relevant for this tool. However, such a table usually exists when grading an examp, and with the addition of the Seite column, it can be used as the metadata file for this PDF splitter.

proben-wrangler's People

Contributors

silasberger avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.