Giter Site home page Giter Site logo

ghofferek / generateseatingplan.py Goto Github PK

View Code? Open in Web Editor NEW

This project forked from novoid/generateseatingplan.py

0.0 1.0 0.0 130 KB

Uses output-CSV files of CAMPUSonline containing students attending an exam and generates a randomized seating plan

Python 100.00%

generateseatingplan.py's Introduction

TUGRAZonline is an instance of CAMPUSonline which is used for campus data management.

When you are organizing exams using this system, you might be interested in deriving randomized seating plans. This is for you :-)

Usage

(status: 2012-04-06)

Usage: 
         GenerateSeatingPlan.py --lr KNOWN_ROOM STUDENTS.csv

GenerateSeatingPlan.py takes a TUGrazOnline CSV file including the students
attending an exam and generates a randomized seating plan for a specific
lecture room.

Several things can be manipulated according to your needs. 

  :URL:        https://github.com/novoid/GenerateSeatingplan.py
  :copyright:  (c) 2010-2012 by Karl Voit <[email protected]>
  :license:    GPL v2 or any later version
  :bugreports: <[email protected]>

Run GenerateSeatingPlan.py --help for usage hints


Options:
  -h, --help            show this help message and exit
  -c FILE, --csvfile=FILE
                        CSV file of students in TUGrazOnline format. You can
                        add columns but original header line is required.
  --lr=NAME, --lecture-room=NAME
                        the short name of a known lecture room. so far,
                        following lecture rooms are supported: HS_i7 HS_i11
                        HS_i12 HS_i13 HS_B HS_P1 test1
  --sa=INT, --students_adjoined=INT
                        that many students are sitting right beneath each
                        other before the next empty seat(s)
  --ra=INT, --filled_rows_adjoined=INT
                        that many rows are being filled with students before
                        the next empty row(s)
  --fs=INT, --free_seats_to_seperate=INT
                        that many seats are empty before the next student sits
  --fr=INT, --free_rows_to_seperate=INT
                        that many rows are empty before the next row is filled
  -s FLOAT, --seed=FLOAT
                        sets random seed for shuffling students (default 0.0)
  -p, --pdf             generates a PDF file with alphabetical student names
                        and seating (requires pdflatex with savetrees,
                        longtable, hyperref, and KOMA)
  -t, --table           generates a seating plan in (HTML) table format.
  -u, --tableturn       Writes the table upside down (view for lecturer).
                        Might not work with all browsers.
  -v, --verbose         enable verbose mode
  -q, --quiet           do not output anything but just errors on console
  --checklist           creates a list of students orderd by seat

generateseatingplan.py's People

Contributors

novoid avatar ghofferek avatar anonymouscommitter avatar flowolf 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.