# simple script to generate random seating plans using templates ## Usage ``` usage: spgen.py [-h] [--duration DURATION | --week WEEK] template positional arguments: template options: -h, --help show this help message and exit --duration DURATION --week WEEK ``` Pipeline to generate a HTML seating plan from a Infoportal csv class list. ```sh cat Klassenliste.csv | cut -f2 -d';' | ./spgen.py templates/8,9,9,4.html --seats=n > class.html ``` ## Available Templates ``` templates ├── 4x(2,5).tex ├── 8,9,9,4.html └── 8,9,9,4.tex ``` ## Requirements * python >= 3.10 The requirements can be installed in virtual environment using [`pipenv`](https://pipenv.pypa.io/). ## License The spgen.py program is licensed under the terms of the GNU General Public License version 3. A Copy of the license is included in the `LICENSE` file.