Skip to main content

Pytest plugin for testing notebooks

Project description

nbmake [Under Construction]

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.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-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nbmake-0.1.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.tar.gz
Algorithm Hash digest
SHA256 9ae91fb81863db2a838fc814847d57b9eedddaa493b32c2f9b1199f3cf99a2b6
MD5 0bfac58985372f8f646631eed572b046
BLAKE2b-256 80d921b4c9ecf94ec23593590d518c338a3d55c10c2fbc1a1bd0187677fd010e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nbmake-0.1-py3-none-any.whl
  • Upload date:
  • Size: 10.9 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-py3-none-any.whl
Algorithm Hash digest
SHA256 033d0d0059adefe6453149df54e3043ce887f83bd765d713503cf8651ffacdc1
MD5 a7c2c20639317081c69e123b5c31ec0b
BLAKE2b-256 e0c9bf45a563bbb7bba6f021a4f0fe8f2140605b123e6ef9b717296b3d829af7

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