Skip to main content

excel 2 Moodle

Logo{width=35%}

excel2moodle helps you to create moodle questions in less time. The idea is to write the questions data into a spreadsheet file, from which excel2moodle generates moodle compliant xml Files. All questions or a selection of questions can then be imported into moodle. Furthermore excel2moodle helps you generating semi-random Variables for parametric questions. This way you can generate a thousands of numeric questions based off a formula and a set of variables.

Concept

At the heart the excel2moodle is a simple key-value-pair "syntax", where the key is set once in the first spreadsheet column. Each key can be provided with a value for each question in its column. To enhance reusability, keys which are correct for more than one question can be set per category or for all questions.

Structure of the Spreadsheet

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. You need to download all Files in the example directory and save them together.

Most 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 in more detail each part of defining a question.

Features

  • Fully parametrized numeric questions:
    • Formulas for the calculated results can be coded into extensive python modules, which can be loaded.
  • Question Preview:
    • This helps you when selecting the correct questions for the export.
  • Equation Verification:
    • this tool helps you to validate the correct equation for the parametrized Questions.
  • Variable Generation:
    • You can generate variables for the parametric Question to easily create hundreds of different variants of the same question.
  • 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:
    • With the parametrization excel2moodle calculats the numeric answer from a given formula based on a set of variables.
  • 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.9.7 (2026-06-04)

Parametric questions parsing more robust against some invalid parameters

improvement (2 changes)

0.9.6 (2026-05-26)

Improved debugging of failing parametric results

No changes.

0.9.5 (2026-03-03)

Bugfix Answerfeedbacks

bugfix (1 change)

0.9.4 (2026-02-22)

Adde aliases for Question types

No changes.

0.9.3 (2026-01-13)

improved error logging and number formatting

improvement (1 change)

bugfix (1 change)

0.9.2 (2025-11-13)

improved error logging

improvement (1 change)

0.9.1 (2025-11-13)

Small bugfixes and improvements

feature (2 changes)

bugfix (2 changes)

0.9.0 (2025-11-02)

Bullet Points can be formatted by a template

documentation (3 changes)

feature (2 changes)

0.8.0 (2025-10-25)

feedbacking and raw bullet implemented

feature (3 changes)

bugfix (1 change)

documentation (2 changes)

0.7.4 (2025-10-13)

hopefully final bulletPoint improvement

bugfix (2 changes)

0.7.3 (2025-10-12)

further bulletPoint improvements

No changes.

0.7.2 (2025-10-11)

small important bugfixes

improvement (2 changes)

bugfix (2 changes)

0.7.1 (2025-10-04)

feedbacking improved

documentation (1 change)

feature (1 change)

0.7.0 (2025-09-30)

Rework of the equation checker done!

feature (1 change)

documentation (1 change)

improvement (1 change)

0.6.5 (2025-09-02)

Added Scripted Media Support now with the module

No changes.

0.6.4 (2025-09-02)

Added Scripted Media Support

feature (1 change)

0.6.3 (2025-08-03)

Lots of small improvements made

improvement (3 changes)

bugfix (3 changes)

feature (2 changes)

0.6.2 (2025-08-02)

Adding export options and fixing cloze points bug

feature (4 changes)

improvement (1 change)

bugfix (1 change)

0.6.1 (2025-07-12)

Fixing import error caused by dumping pyside meta package

bugfix (1 change)

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)

Metadata

Release files for excel2moodle 0.9.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for excel2moodle 0.9.7
File Size Uploaded Provenance Actions
excel2moodle-0.9.7.tar.gz 80.6 kB Without provenance Details for excel2moodle-0.9.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for excel2moodle 0.9.7
File Interpreter ABI Platform Actions
excel2moodle-0.9.7-py3-none-any.whl Python 3 none any Details for excel2moodle-0.9.7-py3-none-any.whl

Total release size: 167.0 kB

Release files / excel2moodle-0.9.7.tar.gz

Download URL excel2moodle-0.9.7.tar.gz
Size 80.6 kB
Tags Source
SHA-256 checksum
How to use checksums
4bddb12076aef4622f9055c62a4a4fe89182fa18eebf87b0e1d2eb9b1263baac
BLAKE2b-256 checksum
How to use checksums
7b1d7bd27d14a9d914e025e8f3d45d75504f208ac015d2324bcb4e4a8ca5f63c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / excel2moodle-0.9.7-py3-none-any.whl

Download URL excel2moodle-0.9.7-py3-none-any.whl
Size 86.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
29b9c75420a8ea3e3c6c8ee3f7629418f22147b33a0188a3acf6b33384f394ce
BLAKE2b-256 checksum
How to use checksums
bd71a78f891740c5d94f8b7eb5e363ff129f92cd257143f648409dc028cc6524
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.2.0 CPython/3.13.5

Security for excel2moodle 0.9.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.9.7 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page