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.2.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.2-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: txttoqti-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 09af2bcb879945406b83d4a449b6451fbc4e1c7c20f48a750b33d0e7059dea50
MD5 f0987d6f0ef454cfc5f506254bfbdfa3
BLAKE2b-256 2448805deb372cf2528b0bb951fe31f298ec6f6a543b2f852922c3cf7acae7ee

See more details on using hashes here.

File details

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

File metadata

  • Download URL: txttoqti-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2d906fbed488c59428864c2d253ae92d69e13e2e66166e2f2aa7ad4cf3b1923f
MD5 95978536f035d263dd05d2591e1af882
BLAKE2b-256 842eaabe37f5d314adec701ea7695f0a3ec4fbff47f9db6ab227f28d4de09a1b

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