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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file txttoqti-0.3.0.tar.gz.
File metadata
- Download URL: txttoqti-0.3.0.tar.gz
- Upload date:
- Size: 72.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1a3b7413cdf5dfb32e17049657f9c4cba2ded0c267f38f0f39b319b56b9b743
|
|
| MD5 |
c4711be1f7206bc5ac772aba76f8f803
|
|
| BLAKE2b-256 |
7bec9903ccc18c4a7e6187cf942d6c4f21ced78a82e43007c4d333c4ceb9085b
|
File details
Details for the file txttoqti-0.3.0-py3-none-any.whl.
File metadata
- Download URL: txttoqti-0.3.0-py3-none-any.whl
- Upload date:
- Size: 28.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a241d3214c68879597c6346d2526cb5cde156fcf150bf559f40e56125e536d1f
|
|
| MD5 |
9cea189b392b814bf417adc9ba679c22
|
|
| BLAKE2b-256 |
c0b78312cda746fee1e476796af048c984b3f9dee4287f6d14fd90406e422db9
|