How to Test Jupyter Notebooks with Pytest and Nbmake

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • nbmake

    📝 Pytest plugin for testing notebooks

    This tutorial describes how you can use the pytest plugin nbmake to automate end-to-end testing of notebooks.

  • pytudes

    Python programs, usually short, of considerable difficulty, to perfect particular skills.

    For the purpose of this tutorial, we are going to learn how to automate simple end-to-end tests on some notebooks containing Python exercises. Thanks to pytudes for providing this example material.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • sublime_text

    Issue tracker for Sublime Text

    Open your .ipynb file in a simple text editor such as Sublime.

  • nbmake-examples

    Example repo showing how to test Jupyter Notebooks with nbmake and Semaphore CI

    Fork and clone the example project on GitHub.

  • pre-commit

    A framework for managing and maintaining multi-language pre-commit hooks.

    Use pre-commit and nbstripout to remove bulky notebook output data before committing changes

  • jupyter-book

    Create beautiful, publication-quality books and documents from computational content.

    Use jupyter book to compile your notebooks into a beautiful documentation site

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts