Skip to main content

Interactive graded quizzes for Jupyter notebooks (nbgrader-jupyterquiz).

Project description

Versions

PyPI

Documentation and Support

Documentation Status Supported Python Versions

Open Source

License OpenSSF Scorecard

Coding Standards

Ruff pre-commit.ci status

Development Status

Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public. Build Status Coveralls

nbgrader-jupyterquiz lets instructors embed interactive, gradeable quizzes directly inside Jupyter notebooks using a simple Markdown syntax. During nbgrader assign the quiz source is transformed into interactive quiz cells (powered by a fork of jupyterquiz); correct answers are hidden from students before the assignment is released.

Installation

pip install nbgrader-jupyterquiz

Quick start

Register the preprocessor in nbgrader_config.py:

c.GenerateAssignment.preprocessors = [
    "nbgrader_jupyterquiz.CreateQuiz",
]

Write quizzes in Manually Graded Task cells using #### Quiz / #### End Quiz delimiters:

#### Quiz
* (SC) "What is the capital of France?"
  + (Correct!) "Paris"
  - "London"
  - "Berlin"
#### End Quiz

Run nbgrader assign — quiz regions are replaced with interactive widgets and correct answers are hidden from students.

See the documentation for the full quiz syntax, nbgrader pipeline, and display options.

Credits

This package incorporates a fork of jupyterquiz (v2.9.6.4) by John M. Shea, copyright 2021–2025, used under the MIT License. See LICENSES/jupyterquiz-MIT.txt.

This package was scaffolded with Cookiecutter and the Ouranosinc/cookiecutter-pypackage project template.

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

nbgrader_jupyterquiz-0.3.0.tar.gz (86.0 kB view details)

Uploaded Source

Built Distribution

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

nbgrader_jupyterquiz-0.3.0-py3-none-any.whl (30.6 kB view details)

Uploaded Python 3

File details

Details for the file nbgrader_jupyterquiz-0.3.0.tar.gz.

File metadata

  • Download URL: nbgrader_jupyterquiz-0.3.0.tar.gz
  • Upload date:
  • Size: 86.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for nbgrader_jupyterquiz-0.3.0.tar.gz
Algorithm Hash digest
SHA256 ab40747eb74d5989391ab765e685fb477d1089d5d79721e657489fd41db927a2
MD5 f6403b25d2a570728072eb3ac4dbad79
BLAKE2b-256 168d99bfd3701725b60ac6f983313397c2f4615144f47802fc27684a7b866433

See more details on using hashes here.

Provenance

The following attestation bundles were made for nbgrader_jupyterquiz-0.3.0.tar.gz:

Publisher: publish-pypi.yml on PhilippRisius/nbgrader-jupyterquiz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nbgrader_jupyterquiz-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nbgrader_jupyterquiz-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0efd081557a47717346bef073cc0eb1d71b564fcb6e0ad1da9bc4f772c5b057d
MD5 0ddbbc15d31fdee29964987383d108e0
BLAKE2b-256 9ae7f7bf9f496e6c1ed7cb1b1648a25e58ed02d93ea2913fbb932bee2e1247fe

See more details on using hashes here.

Provenance

The following attestation bundles were made for nbgrader_jupyterquiz-0.3.0-py3-none-any.whl:

Publisher: publish-pypi.yml on PhilippRisius/nbgrader-jupyterquiz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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