No description
Find a file
Hartmut Seichter 1d00963035 WIP
2025-03-18 19:11:56 +01:00
coursebuilder WIP 2025-03-18 19:11:56 +01:00
docs small update to get better query mode working 2024-05-29 20:02:48 +02:00
test WIP 2025-03-18 19:11:56 +01:00
.gitignore further update 2023-11-08 21:23:18 +01:00
LICENSE.md refactoring for division of concerns 2024-05-01 14:58:41 +02:00
README.md MVP creating summary tables 2024-05-27 21:09:36 +02:00
requirements.txt initial stab in restructuring and generating curricula 2024-05-09 22:57:10 +02:00
TODO.md MVP creating summary tables 2024-05-27 21:09:36 +02:00

CourseBuilder

Coursebuilder is a preprocessor tool for pandoc to generate multi-lingual curricula documentation tables from structured representations as a flatfile database. Data scheme and actual values are kept in YAML files in order to version them with git.

Usage

usage:  [-h] [-m META [META ...]] [-l LANG] [-f FIELDS [FIELDS ...]] [-s SCHEMA] [-q QUERY] [-qs QUERY_SORT] [-qc QUERY_COMPOUND] [-qf QUERY_FILTER [QUERY_FILTER ...]]
        [-p] [--title TITLE] [-b BOOK] [--level LEVEL] [--table-gen TABLE_GEN] [--template TEMPLATE] [-o OUT] [--legacy] [--leftcol LEFTCOL]

versatile curricula generator

options:
  -h, --help            show this help message and exit
  -m META [META ...], --meta META [META ...]
                        course description(s) as YAML file(s)
  -l LANG, --lang LANG  Language to parse from meta file (use de or en)
  -f FIELDS [FIELDS ...], --fields FIELDS [FIELDS ...]
                        Fields to be used, the table will be build accordingly
  -s SCHEMA, --schema SCHEMA
                        using provided schema
  -q QUERY, --query QUERY
                        compound query to select items
  -qs QUERY_SORT, --query-sort QUERY_SORT
                        sort query with a min/max over a column like min:credits
  -qc QUERY_COMPOUND, --query-compound QUERY_COMPOUND
                        create a compound from a column with multiple values/dictionaries in cells
  -qf QUERY_FILTER [QUERY_FILTER ...], --query-filter QUERY_FILTER [QUERY_FILTER ...]
                        filter final list of columns for output
  -p, --pagebreak       add a pagebreak after each module
  --title TITLE         template for title - use curly brackets (i.e. {}) to mark where the title string is inserted
  -b BOOK, --book BOOK  process a whole curriculum book with sections
  --level LEVEL         level of header tags
  --table-gen TABLE_GEN
                        runs table generator
  --template TEMPLATE   defines a template to be used with fields
  -o OUT, --out OUT     set the output type
  --legacy              use legacy generator mode for compatibility
  --leftcol LEFTCOL     maximum size of left column

Author

© Copyright 2020-2024 Hartmut Seichter

Licence

Coursebuilder is licensed under the terms of the MIT License. For details consult https://opensource.org/license/mit/ or the attached license file