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.

Metadata

Release files for pytest-nbgrader 0.3.0

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

Source distribution (sdist)

Source distribution for pytest-nbgrader 0.3.0
File Size Uploaded
pytest_nbgrader-0.3.0.tar.gz 90.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytest-nbgrader 0.3.0
File Interpreter ABI Platform
pytest_nbgrader-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 110.8 kB

Release files / pytest_nbgrader-0.3.0.tar.gz

Download URL pytest_nbgrader-0.3.0.tar.gz
Size 90.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5541bf5203775325123c083d757c0827d015f27b811379e687d6edadf4a076ed
BLAKE2b-256 checksum
How to use checksums
0ead199d44c4af79b853e0795c6084743ad3c605cf308ed00ebfafaaccc45749
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 31, 2026.

Transparency log

Release files / pytest_nbgrader-0.3.0-py3-none-any.whl

Download URL pytest_nbgrader-0.3.0-py3-none-any.whl
Size 20.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
48cf42a2832c337f849060d526ff0a67812714f2f1f12090febc52a98839951f
BLAKE2b-256 checksum
How to use checksums
b8a19ec15690b6adeb68f8c2f690ee8113b718eedf299cd2015bd5030f28ec16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 31, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

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