Skip to main content

A package for converting questions from a spreadsheet, to valid moodle-xml

Project description

excel 2 Moodle

Logo{width=35%}

This Python program helps to create Moodle questions in less time. The idea is to write the questions data into a spreadsheet file, from which the program generates the moodle compliant xml Files. All questions or a selection of questions can be exported into one xml file to be imported into moodle.

Concept

The concept is, to store the different questions into categories of similar types and difficulties of questions, for each of which, a separated sheet in the Spreadsheet document should be created.

A settings sheet contains global settings to be used for all questions and categories. Another sheet stores metadata for the different categories of questions. And each category lives inside a separate sheet inside the spreadsheet document.

Getting Started

Installation

To get started with excel2moodle first have a look at the installation If you already have python and uv installed, it is as easy as running uv tool install excel2moodle.

Documentation

Once excel2moodle is installed you can checkout the example question sheet in the repository.

Some steps are already documented as tutorials you can follow along.

And please have a look into the user Reference of the documentation. That part explains each part of defining a question.

Functionality

  • Equation Verification:
    • this tool helps you to validate the correct equation for the parametrized Questions.
  • Question Preview:
    • This helps you when selecting the correct questions for the export.
  • Export Options:
    • you can export the questions preserving the categories in moodle

Question Types

  • Generate multiple Choice Questions:
    • The answers can be pictures or normal text
  • Generate Numeric Questions
  • Generate parametrized numeric Questions
  • Generate parametrized cloze Questions

MainWindow{width=80%}

Licensing and authorship

excel2moodle is lincensed under the latest GNU GPL license Initial development was made by Richard Lorenz, and later taken over by Jakob Bosse

Supporting

A special thanks goes to the Civil Engineering Departement of the Fachhochschule Potsdam where i was employed as a student associate to work on this project.

If You want to support my work as well, you can by me a coffee

Changelogs

0.5.1 (2025-06-24)

Minor docs improvement and question variant bugfix

bugfix (1 change)

0.5.0 (2025-06-20)

settings handling improved

feature (2 changes)

improvement (1 change)

Settings Errors are logged (1 change)

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

excel2moodle-0.5.1.tar.gz (108.4 kB view details)

Uploaded Source

Built Distribution

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

excel2moodle-0.5.1-py3-none-any.whl (66.6 kB view details)

Uploaded Python 3

File details

Details for the file excel2moodle-0.5.1.tar.gz.

File metadata

  • Download URL: excel2moodle-0.5.1.tar.gz
  • Upload date:
  • Size: 108.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for excel2moodle-0.5.1.tar.gz
Algorithm Hash digest
SHA256 dbda166978efbdc119dc0b36eac49da7fdfd199ab709aef63360621f92aee05a
MD5 c0adcb049fb2fd0f3796070238999d2b
BLAKE2b-256 3906db9c16d1b7474cbd0fe4c860e18810e9c48080b80ad139094fc34669e63b

See more details on using hashes here.

File details

Details for the file excel2moodle-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: excel2moodle-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 66.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for excel2moodle-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5dafd64bb94c8327d51b9ce36da2849ab1a141acbf679b2757c6198416045332
MD5 437bc193eddd9bf534f89f01b81b11a0
BLAKE2b-256 2eb6bb55518881fa4d4a678ad7614d979f649513902127e2fc4680174504d0c0

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