Skip to main content

Pytest plugin for testing notebooks

Project description

nbmake

codecov PyPI version

Pytest plugin for testing notebooks

Functionality

  1. Executes notebooks using pytest and nbclient, allowing parallel notebook testing
  2. Lets you automate release processes from your laptop or in the cloud
  3. Optionally builds an HTML report using jupyter-book of the test run which can be uploaded to hosting providers such as Netlify.

See docs to get started.

HTML Report Example

HTML Report

Developing

Install local package

poetry install -E html

Activate shell

poetry shell

Run static checks

pre-commit run --all-files
pre-commit install

Run tests

pytest

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

nbmake-0.1.post1.tar.gz (9.7 kB view hashes)

Uploaded Source

Built Distribution

nbmake-0.1.post1-py3-none-any.whl (11.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page