Skip to main content

Generates variants of exam questions using texsurgery, keeps a question database, exports to pdf and moodle

Project description

pyexams

Generates variants of exam questions using texsurgery, keeps a question database, exports to pdf and moodle.

Much like R exams, but with the following (main) differences:

  1. R-exams requires use of R for both creating exam variants and managing R-exams itself, while pyexams allows any language for exam creation and is called from a command which can be incorporated into your favourite LaTeX editor.
  2. R-exams keeps each question in a separate file, then use a simple R script to compose the whole exam, while pyexams use a single LaTeX file for the whole exam.
  3. Both R-exams and pyexams keep a record of past exam questions, but pyexams also keeps a database that can be queried in order to find, for instance, all questions with the tag derivative that appeared in exams at least two years ago. The question code is also saved in plain text and managed in a git repository, which simplifies the management of a shared question bank, whether group-private or totally open.
  4. Last but not least, R-exams is a mature and feature rich project, while pyexams is a very young project that still has to deliver.

Other important design decisions involved in pyexams:

  • The syntax for the questions is exactly that of auto-multiple-choice
  • We will use amc2moodle (or a custom version of it) to generate the moodle question bank.
  • pyexams strives to feel as close to LaTeX as possible to its users, which paradoxically is better done through texsurgery than through a LaTeX package.

But where is the code??!

Please wait, we have built prototypes of all the advertised features, but the code is not polished yet, and some parts of the syntax may change as we discuss our prototypes with our colleagues.

Installation

python3 -m pip install pyexams

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

pyexams-0.0.1.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

pyexams-0.0.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file pyexams-0.0.1.tar.gz.

File metadata

  • Download URL: pyexams-0.0.1.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.5

File hashes

Hashes for pyexams-0.0.1.tar.gz
Algorithm Hash digest
SHA256 584b7eaaea284958107ed29f97bc8125cbc8fdab3b0dad14164c23399912ef6d
MD5 db55e43d7482c7dcb2ab77e3c4c64da5
BLAKE2b-256 29f8d3048c0b676bf2650ff4000d1a82fa04669e6622ea46d0c5b0b18b6db009

See more details on using hashes here.

File details

Details for the file pyexams-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pyexams-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.5

File hashes

Hashes for pyexams-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 303d3c28065095bcf23838f65c2585f8d497e9becb263e6b0d39a026c625cab5
MD5 c51d787f36521db3bcee0f1a7c512273
BLAKE2b-256 db24d473ec644382836248a5648bce471eef5b2b367f090876401213e7b83666

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page