pytest-nbgrader
Versions |
|
Documentation and Support |
|
Open Source |
|
Coding Standards |
|
Development Status |
Pytest plugin for using with nbgrader and generating test cases.
Free software: MIT license
Documentation: https://pytest-nbgrader.readthedocs.io.
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pytest_nbgrader-0.3.0.tar.gz | 90.5 kB | With provenance | Details for pytest_nbgrader-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytest_nbgrader-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for pytest_nbgrader-0.3.0-py3-none-any.whl |
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 logRelease 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 logSecurity for pytest-nbgrader 0.3.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for pytest_nbgrader-0.3.0.tar.gz
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 logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.