semvec/pypi-packages huggingface dataset:
qti2latex 0.1.4
Convert QTI (Canvas) to LaTeX exam. Designed to work with text2qti, but should also work with quiz files exported from Canvas.
Requires Python: >=3.6

# qti2latex - Convert QTI XML to LaTeX exam file

qti2latex converts a QTI XML file (version 1.2) to a LaTeX exam file.
it is designed to work with text2qti (https://github.com/gpoore/text2qti), which does not support all possible question types.
it should work with export QTI files from canvas for supported question types.
it uses the exam document class (https://ctan.org/pkg/exam).

both qti2latex and exporting exams from canvas will produce a QTI zip file that can be used with qti2latex.

if there are question groups (a set of questions that can be chosen from), qti2latex will pick them at random.
the --choose-item option can be used the select a specific question instead of choosing at random.

## Supported Question Types
- Multiple Choice (single answer)
- Multiple Choice (multiple answers)
- True/False 
- Short Answer
- Numerical
- Essay

## Bonus questions

QTI doesn't support bonus questions, a question that starts with `(bonus X points)` or `bonus (X points)` will be treated as a bonus question worth X points.

## Flow to get a LaTeX exam file from a markdown text file

starting with a markdown text file called exam.md:

```bash
text2qti exam.md
qti2latex exam.zip
pdflatex exam.tex
pdflatex exam.tex
pdflatex exam.tex
```
ctyunsdk-elb20220909 1.0.0
CTYun ELB (2022-09-09) SDK Library for Python
Requires Python: >=3.9
Keywords: ctyunsdk, elb20220909


        =================
         CTyun OpenAPI SDK for Python
        =================
        Setup
        -----
        
        First, you need to create a virtual environment and activate it.
        
        ::
        
          $ pip install virtualenv
          $ virtualenv .venv
          $ . .venv/bin/activate
          (.venv)$
        
        For Windows users:
        
        ::
        
          $ python -m pip install virtualenv
          $ python -m virtualenv .venv
          $ . .venv/Scripts/activate
          (.venv)$
        
        Next, install ``pytest libs`` in the environment.
        
        ::
          (.venv)$ python -m pip install -r requirements.txt
          (.venv)$ python -m pip setuptools
          (.venv)$ python setup.py install
        
        Or build wheel and then install with pip
        
        ::
          (.venv)$ python -m pip install build
          (.venv)$ python -m build -n
          (.venv)$ python -m pip install --force-reinstall dist/ctyunsdk_elb20220909-1.0.0-*.whl
        
        Usage
        -----
        
        To see a list of commands available, run::
        
          (.venv)$ python ctyunsdk_elb20220909/tests/xxx.py
        
        Cleaning Up
        -----------
        
        Finally, when done, deactivate your virtual environment::
        
        ::
          (.venv)$ deactivate
          $