Skip to main content

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: Active – The project has reached a stable, usable state and is being actively developed. Build Status Coveralls

Pytest plugin for using with nbgrader and generating test cases.

Features

  • Load student submissions from Jupyter notebooks via Submission class

  • Define test cases with expected inputs/outputs using TestCase and TestSubtask dataclasses

  • Execute student code against test cases with automatic result comparison

  • Serialize and deserialize test cases via YAML

  • Prerequisite checks: function signature validation, write-access verification

  • Assertion helpers for numeric comparisons (numpy-based tolerances)

  • Automatic pytest test class generation via TestClass harness

  • Run pytest from within notebooks using the runner module

  • Plugs into pytest as a standard plugin — no configuration needed beyond install

Credits

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest_nbgrader-0.3.0.tar.gz (90.5 kB view details)

Uploaded Source

Built Distribution

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

pytest_nbgrader-0.3.0-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pytest_nbgrader-0.3.0.tar.gz
Algorithm Hash digest
SHA256 5541bf5203775325123c083d757c0827d015f27b811379e687d6edadf4a076ed
MD5 0a30342756f0262424a6113998c4e4bd
BLAKE2b-256 0ead199d44c4af79b853e0795c6084743ad3c605cf308ed00ebfafaaccc45749

See more details on using hashes here.

Provenance

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

Publisher: publish-pypi.yml on PhilippRisius/pytest_nbgrader

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

File details

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

File metadata

File hashes

Hashes for pytest_nbgrader-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 48cf42a2832c337f849060d526ff0a67812714f2f1f12090febc52a98839951f
MD5 ebc452d1900a3be53ff1ea646a7cb36f
BLAKE2b-256 b8a19ec15690b6adeb68f8c2f690ee8113b718eedf299cd2015bd5030f28ec16

See more details on using hashes here.

Provenance

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

Publisher: publish-pypi.yml on PhilippRisius/pytest_nbgrader

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

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 files

0.2.0

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page