Skip to main content

Editor and validator for Rexam items in the ShareStats project

Project description

ShareStats Item Editor

GitHub Python Version PyPI

Editor and validator for Rexam items in the ShareStats project

Feature overview

  • Takes into account the conventions of the ShareStats Project
    • violation checks of file and folder naming and required meta-information
    • required subfolder structure
    • joining bilingual items in the database (Dutch, English)
  • Convenience functions for item editing
    • support for generating and naming new items
    • auto-fix function for some violations of the conventions and R
      markdown syntax
    • multiple choice items: correct answers can be indicated with an # (instead of *). exsolution will be set automatically.
  • R markdown rendering check (experimental, requires R)

This program is based on (and includes copy of) the Python package RExam Item Editor.

The software is released under the MIT License

Oliver Lindemann, Erasmus University Rotterdam, NL

screenshot


Installation

Please, ensure that Python 3 is installed on your computer. If you install Python 3 on Windows, don't for get to add Python the path environment variable.

ShareStats-Item-Editor can be installed via the Pythons package manager pip. Open a shell and call:

python -m pip install -U sharestats-item-editor

(This command is also used the update an existsing installing of ShareStats-Item-Editor.)

To run ShareStats-Item-Editor called this command via your shell:

sharestats-item-editor

Windows Executables

Windows user may run StatsShare-Item-Editor without installing Python. Download the latest executable file, sharestats_item_editor.exe, via the release website and execute it.

Note, depending on your security settings, you may receive a security alert from Windows defender, because the executable is not a registered Windows application.

Using this installation method is convenient has however two disadvantages. (a) Windows may classify the executable erroneously as a virus and prevents you from installing. (b) Using the executable instead of installing the application via pip results in a slow launching application.

Dependencies

Python 3.7+ and the following libraries (see requirements.txt):

  • PySimpleGUI
  • appdirs

Optional requirement:

  • rpy2 >=3.4
  • markdown >=3.0

Rendering Rmd File (work in progress)

To render Rmd files directly via the StatsShare-Item-Editor, you need a functioning installation of R including the R-package exams.

If you don't use the Windows executable, install the Python-package rpy2 (pip install rpy2).

Windows user find two executable files for StatsShare-Item-Editor, one with and one without R rendering support. StatsShare-Item-Editor with rendering does not work on computers without a R installation.


Bugs: Please submit any bug you encounter to the Github issue tracker.

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

sharestats-item-editor-0.2.11.post2.tar.gz (38.9 kB view hashes)

Uploaded Source

Built Distribution

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