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.6.0 (2025-07-12)

Added variable generator and other architechtural improvements

documentation (1 change)

feature (5 changes)

improvement (7 changes)

0.5.2 (2025-06-30)

Extended Documentation and bugfix for import Module

bugfix (2 changes)

documentation (1 change)

feature (1 change)

improvement (1 change)

0.5.2 (2025-06-30)

Extended Documentation and bugfix for import Module

bugfix (2 changes)

documentation (1 change)

feature (1 change)

improvement (1 change)

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.6.0.tar.gz (64.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.6.0-py3-none-any.whl (73.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: excel2moodle-0.6.0.tar.gz
  • Upload date:
  • Size: 64.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.6.0.tar.gz
Algorithm Hash digest
SHA256 2798fd1f599ebd64036a4ca811a7a19739c4663cbb8aed76364f8c419d5cadc4
MD5 58a158496fe0a9d861f8ad8768737394
BLAKE2b-256 ba0cf084266758e2283abb67fb1fd4117e3c397024b048b9d8aa581241d7df0a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: excel2moodle-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 73.4 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.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2efb9d89c941d2728b9cb814e19d1668579df0f121756f3c79cce9663c40b23f
MD5 9a3f83113ccc6101125e8c32fb2609bb
BLAKE2b-256 9423626845e38ce0fd17e6b66177ab1c13f04a18b6b78f60f853f2517634bb07

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