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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file nbmake-0.1.post1.tar.gz.

File metadata

  • Download URL: nbmake-0.1.post1.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for nbmake-0.1.post1.tar.gz
Algorithm Hash digest
SHA256 682e9c502127c827b1acfba539ae8411ede118a85d7009ddc43bb25eecb8eff9
MD5 3bbf4e461c5d26730a43939a72a68ee3
BLAKE2b-256 f91c4b20231be0c1f7ee89fe554284b420654fdce353a8f35c8c5f7795396cce

See more details on using hashes here.

File details

Details for the file nbmake-0.1.post1-py3-none-any.whl.

File metadata

  • Download URL: nbmake-0.1.post1-py3-none-any.whl
  • Upload date:
  • Size: 11.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for nbmake-0.1.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 c097852454ce5e7d8bf52e5a5f59a300da83a4908e03c3c40ca75b99b207c1c5
MD5 b25a5b076696bf378948df10eb04cd94
BLAKE2b-256 2ab2e2489ffb2d63f46c5fc6cf0253884786b17ae02f9aa62415b4f7d1fb76ac

See more details on using hashes here.

Supported by

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