BSD Ports

devel/py-nbval 0.11.0_2 DragonFly

PyTest plugin to validate Jupyter notebooks

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD3CLAUSE
Categories
devel, python
Package size
40.8 KiB, 198.1 KiB installed

Description

The plugin adds functionality to py.test to recognise and collect Jupyter notebooks. The intended purpose of the tests is to determine whether execution of the stored inputs match the stored outputs of the .ipynb file. Whilst also ensuring that the notebooks are running without errors.

The tests were designed to ensure that Jupyter notebooks (especially those for reference and documentation), are executing consistently.

Each cell is taken as a test, a cell that doesn't reproduce the expected output will fail.

In the other systems

SystemPortVersion
DragonFlydevel/py-nbval0.11.0_2
FreeBSDdevel/py-nbval0.11.0_3
OpenBSDdevel/py-nbval0.11.0p0
HardenedBSDdevel/py-nbval0.11.0_3
GhostBSDdevel/py-nbval0.11.0_3

Install

Binary package:

pkg install py311-nbval

From DPorts:

cd /usr/dports/devel/py-nbval && make install clean

Dependencies

Run dependencies 7

No port depends on this one.