Skip to main content

QTI Package Maker

Converts question banks into portable LMS packages and standalone teaching formats, so instructors can move assessments between Blackboard, Canvas, and Moodle without rebuilding questions or losing embedded images.

Write the bank once. Deliver it wherever students need it. One source can become an LMS import, a readable review copy, a printable exam source, or a self-grading web quiz.

One bank, many destinations

Destination What you get Best for Image handling
Canvas and LibreTexts ADAPT QTI 1.2 ZIP Course imports Packaged in the ZIP
Blackboard Learn and Ultra QTI 2.1 or pool ZIP Course and pool imports Packaged in the ZIP
Any modern browser One self-contained HTML file Practice and review Inlined in the HTML
Moodle, print, and text workflows Aiken, exam YAML, and readable text Reuse outside QTI Referenced or described

Blackboard image imports are backed by real Learn and Ultra sandbox probes. Canvas package structure and image references pass automated checks, but live Canvas image rendering remains unverified because the public Free for Teacher sandbox was discontinued. See docs/ENGINES.md for the complete compatibility matrix and exact limitations.

See the bank teach itself

Ungraded self-test question with an embedded bar chart, three choices, and a Check Answer button

Multiple choice question graded as correct, showing the embedded figure and the green CORRECT feedback pill

The first image shows the ready-to-answer state; the second shows the same item after a correct response. The same question bank that produces an LMS package can also produce this portable quiz: no server, account, or external image folder required.

Why instructors use it

  • Move questions among Blackboard, Canvas, Moodle, and LibreTexts ADAPT workflows.
  • Preserve embedded PNG, JPEG, and GIF figures in packaged LMS exports.
  • Cover seven assessment types, from multiple choice to matching and ordered lists.
  • Review content as readable text before importing it into a course.
  • Publish a self-contained HTML practice quiz with instant grading.
  • Use the command line for conversions or the Python API for generated question banks.

Quick start

Requires Python 3.10 or newer; tested with Python 3.12.

python3 -m pip install qti-package-maker
printf 'MC\tWhat color is a clear sky?\tblue\tcorrect\tgreen\tincorrect\n' > bbq-demo-questions.txt
bbq_converter.py -i bbq-demo-questions.txt -1 -r -s

This converts one Blackboard question-upload row into three useful artifacts:

  • qti12-demo.zip: a Canvas QTI 1.2 import package.
  • human-demo.html: a readable review copy.
  • selftest-demo.html: a self-contained, self-grading quiz.

Input rows are tab-delimited, and input filenames follow bbq-<name>-questions.txt. The complete installation paths, including virtual environments and PyPI, are in docs/INSTALL.md.

Choose an output

Select one or more outputs in the same conversion:

bbq_converter.py -i bbq-demo-questions.txt \
	-f canvas_qti_v1_2 -f blackboard_qti_v2_1 -f html_selftest

Use -a to select every CLI output or bbq_converter.py -h to see the available shortcuts. Some specialized engines are API-only; docs/USAGE.md covers the full CLI and Python API, while docs/FORMATS.md defines inputs and outputs.

Use it from Python

Build a mixed question bank directly when the source is generated rather than stored in a text file:

from qti_package_maker import package_interface

bank = package_interface.QTIPackageInterface("bio101", allow_mixed=True)
bank.add_item("MC", ("What color is a clear sky?", ["blue", "green"], "blue"))
bank.add_item("MA", ("Which are primes?", ["2", "3", "4"], ["2", "3"]))
bank.save_package("canvas_qti_v1_2", "bio101.zip")

The result is a Canvas-ready QTI ZIP built through the same engine used by the command-line workflow.

Documentation

Start here:

Go deeper:

Project status

The project is beta software. Runtime modules require Python 3.10 or newer, while the development and test environment targets Python 3.12. Blackboard Learn and Ultra image paths have live-import evidence; Canvas image packaging follows the QTI structure and passes local integrity tests, but still needs verification in an institutional Canvas sandbox.

License

Code is licensed under the GNU Lesser General Public License v3. See LICENSE.LGPL_v3.

Author and support

Created by Neil Voss. Follow the work on Bluesky, YouTube, or GitHub.

Support continued development through Patreon, PayPal, Bitcoin, or Dash.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qti_package_maker-26.7.14.tar.gz (209.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qti_package_maker-26.7.14-py3-none-any.whl (223.2 kB view details)

Uploaded Python 3

File details

Details for the file qti_package_maker-26.7.14.tar.gz.

File metadata

  • Download URL: qti_package_maker-26.7.14.tar.gz
  • Upload date:
  • Size: 209.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for qti_package_maker-26.7.14.tar.gz
Algorithm Hash digest
SHA256 879bd67a6b23663ddcf602cc69f00a1387327e6015453b00c0083c95685428b3
MD5 285abb3b0fc2809c5750796a7eb0c89f
BLAKE2b-256 40ef4294c02c5a37a8d7807a6ac20a00560f2cde4222ebb121b56e67b1fe4101

See more details on using hashes here.

File details

Details for the file qti_package_maker-26.7.14-py3-none-any.whl.

File metadata

File hashes

Hashes for qti_package_maker-26.7.14-py3-none-any.whl
Algorithm Hash digest
SHA256 2e3375afa66125ff6d65defedced9f6e8ede55c3cd471a0a94672bad5338edbd
MD5 346a24ba51ccfe3a9560e0100077d75f
BLAKE2b-256 6080c03832a7c8bb5fd83c6b18e9e985f38917dcdc8a09167a37f670a3dda200

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

26.7.14 This release

2 files

26.7

2 files

26.3

2 files

26.1

2 files

0.8.6

2 files

0.8.5

2 files

0.8.4

2 files

0.8.3

2 files

0.8.2

2 files

0.8.1

2 files

0.8.0.1

2 files

0.7.3

2 files

0.7.2

2 files

0.7.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page