Skip to main content

Universal converter that transforms text-based question banks into QTI packages compatible with Canvas LMS

Project description

txttoqti

txttoqti is a universal converter that transforms text-based question banks into QTI (Question & Test Interoperability) packages compatible with Canvas LMS and other learning management systems. This package is designed to simplify the process of creating QTI packages from plain text files, making it easier for educators and developers to manage and distribute assessments.

Features

  • Convert plain text to QTI packages
  • Compatibility with Canvas LMS
  • Smart conversion with change detection
  • Comprehensive validation of question formats
  • No external dependencies (uses only Python standard library)

Installation

To install the txttoqti package, you can use pip. Clone the repository and run the following command:

pip install .

Alternatively, you can install it directly from PyPI (if available):

pip install txttoqti

Usage

Here is a basic example of how to use the txttoqti package:

from txttoqti import TxtToQtiConverter

converter = TxtToQtiConverter()
qti_file = converter.convert_file("questions.txt")
print(f"QTI package created: {qti_file}")

Documentation

For detailed documentation, including API references and examples, please refer to the docs directory.

Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue for any enhancements or bug fixes.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Project details


Download files

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

Source Distribution

txttoqti-0.1.1.tar.gz (19.4 kB view details)

Uploaded Source

Built Distribution

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

txttoqti-0.1.1-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file txttoqti-0.1.1.tar.gz.

File metadata

  • Download URL: txttoqti-0.1.1.tar.gz
  • Upload date:
  • Size: 19.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for txttoqti-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9254861d4cdba81794fa7ab733e46f0707d9fab1e8ab17e9fdf5ea255de96c4d
MD5 78aa56f13c2caf13a8800282186c91b3
BLAKE2b-256 7cbf4270796acaa2bd722d62a172439aab9b37649ebae068722365816676c584

See more details on using hashes here.

File details

Details for the file txttoqti-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: txttoqti-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for txttoqti-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c24420cf0ad127726ac995d25b7fb5b4d86cfa27e526097ba256af51050108d2
MD5 388e2245b224ababd21b9b93a00b7bc4
BLAKE2b-256 c090925f259d12961678b57fa3c1024c3e91942b0a64f2f88730d671de4c5f3d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page