
Security News
Astral Launches pyx: A Python-Native Package Registry
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
canvas_qti_to_learnosity_converter
Advanced tools
This gem is designed to facilitate the conversion of canvas quizzes exported as qti 1.2, to the learnosity json format. It currently has support for converting a single qti file, or converting an entire imscc export of qti quizzes. Be aware that the CanvasQtiToLearnosityConverter makes assumptions about the format of the qti that canvas exports as of 4/23/18, and will be sensitive to spec compliant changes to the way that canvas exports qti.
Add this line to your application's Gemfile:
gem 'canvas_qti_to_learnosity_converter'
And then execute:
$ bundle
Or install it yourself as:
$ gem install canvas_qti_to_learnosity_converter
# Convert All QTI Files in entire imscc
CanvasQtiToLearnosityConverter.convert_imscc_export(path)
# returns [
# {
# title: "Canvas Quiz Title",
# ident: "canvas_qti_export_id",
# items: [...converted_learnosity_questions... ]
# More information on learnosity question format: https://docs.learnosity.com/analytics/data/endpoints/itembank_endpoints#setQuestions
# }, ...
#]
# Convert single qti_string
CanvasQtiToLearnosityConverter.convert(qti_string)
# returns
# {
# title: "Canvas Quiz Title",
# ident: "canvas_qti_export_id",
# items: [...converted_learnosity_questions... ]
# More information on learnosity question format: https://docs.learnosity.com/analytics/data/endpoints/itembank_endpoints#setQuestions
# },
To run the tests
rake spec
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that canvas_qti_to_learnosity_converter demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.