nbval
testbook
Our great sponsors
nbval | testbook | |
---|---|---|
1 | 2 | |
431 | 399 | |
0.7% | 0.0% | |
6.1 | 0.0 | |
about 2 months ago | about 1 year ago | |
Python | Python | |
GNU General Public License v3.0 or later | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nbval
-
How to raise the quality of scientific Jupyter notebooks
nbval is a strong fit for developers who want to check that cells always render to the same value
testbook
-
How to raise the quality of scientific Jupyter notebooks
testbook is maintained by the nteract community, and is good for testing functions written inside notebooks
-
Unit testing Python code in Jupyter notebooks
The testbook project is a different take on notebook unit testing. It allows you to refer to your notebooks in pure Python code from outside a notebook. This allows you to use any testing framework you like (for example, pytest, or unittest) in separate Python modules. You may have a situation where allowing users to modify and update notebook code is the best way to keep code updated and to allow for flexibility for end users. But you may prefer that the code still be tested and verified separately. Testbook makes this an option.
What are some alternatives?
pytest-sugar - a plugin for py.test that changes the default look and feel of py.test (e.g. progressbar, show tests that fail instantly)
pytest-cov - Coverage plugin for pytest.
nbmake - ๐ Pytest plugin for testing notebooks
best-of-python-dev - ๐ A ranked list of awesome python developer tools and libraries. Updated weekly.
pytest-langchain - โ Pytest-style test runner for langchain projects
dirty-equals - Doing dirty (but extremely useful) things with equals.
python-testing - Exercises to learn best practice of writing tests in Python
papermill - ๐ Parameterize, execute, and analyze notebooks
ITKIOScanco - ITK Image IO for Scanco MicroCT .ISQ files
pudb - Full-screen console debugger for Python
ITKElastix - An ITK Python interface to elastix, a toolbox for rigid and nonrigid registration of images