{ "info": { "author": "Lindsey Heagy", "author_email": "lindseyheagy@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Education", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: MacOS", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python", "Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering :: Mathematics", "Topic :: Scientific/Engineering :: Physics" ], "description": "testipynb\n=========\n\n.. image:: https://img.shields.io/pypi/v/testipynb.svg\n :target: https://pypi.python.org/pypi/testipynb\n :alt: Latest PyPI version\n\n.. image:: https://readthedocs.org/projects/nbtest/badge/?version=latest\n :target: http://nbtest.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n.. image:: https://travis-ci.org/opengeophysics/testipynb.svg?branch=master\n :target: https://travis-ci.org/opengeophysics/testipynb\n :alt: Travis CI build status\n\n.. image:: https://codecov.io/gh/opengeophysics/testipynb/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/opengeophysics/testipynb\n :alt: coverage\n\n.. image:: https://img.shields.io/github/license/opengeophysics/testipynb.svg\n :target: https://github.com/opengeophysics/testipynb/blob/master/LICENSE\n :alt: MIT license\n\nUnit-testing for a collection of jupyter notebooks. :code:`testipynb` relies on `nbconvert `_ to run the notebooks and catches errors so that they are output (with syntax highlighting!) when unit-tests are run.\n\nwhy?\n----\n\n- If you want to share your notebooks and be confident that they _should_ work on someone else's machine\n- If you are using notebooks to generate figures in a publication and want to ensure they are reproducible (powerful when connected with `cron jobs on travis-ci `_)\n\n.. image:: https://raw.githubusercontent.com/opengeophysics/testipynb/master/docs/images/testing_syntax_highlighting.png\n :width: 80%\n :align: center\n\ninstallation\n------------\n\n.. code::\n\n pip install testipynb\n\nusage\n-----\n\n.. code:: python\n\n import testipynb\n \n NBDIR = '../notebooks'\n \n Test = testipynb.TestNotebooks(directory=NBDIR)\n Test.assertTrue(Test.run_tests())\n\nor in a unit-test file: \n\n\n.. code:: python\n\n import testipynb\n import unittest\n\n NBDIR = '../notebooks'\n\n Test = testipynb.TestNotebooks(directory=NBDIR, timeout=2100)\n TestNotebooks = Test.get_tests()\n\n if __name__ == \"__main__\":\n unittest.main()\n\n\nconnections\n-----------\n\n:code:`testipynb` is used in:\n\n- https://github.com/simpeg-research/heagy_2018_AEM\n\nIf you use :code:`testipynb` in one of your repositories and would like it listed, please `edit this file `_", "description_content_type": "", "docs_url": null, "download_url": "http://github.com/lheagy/testipynb", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/lheagy/testipynb", "keywords": "jupyter,testing", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "testipynb", "package_url": "https://pypi.org/project/testipynb/", "platform": "Windows", "project_url": "https://pypi.org/project/testipynb/", "project_urls": { "Download": "http://github.com/lheagy/testipynb", "Homepage": "http://github.com/lheagy/testipynb" }, "release_url": "https://pypi.org/project/testipynb/0.0.2/", "requires_dist": null, "requires_python": "", "summary": "testipynb", "version": "0.0.2" }, "last_serial": 4736615, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "704469d4ed1d2acf84012abc16cb00a8", "sha256": "9e560cf81e8d9cd72c445c9e568f11f18d58f43fcc5da9c4c77236d6a96e91ad" }, "downloads": -1, "filename": "testipynb-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "704469d4ed1d2acf84012abc16cb00a8", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 6518, "upload_time": "2018-04-04T00:04:05", "url": "https://files.pythonhosted.org/packages/6d/ae/b8725dbb0e24ca313046e70e27aced03db30de9183c91cce8170f173f017/testipynb-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7a73babc840f0eca449d7db8fd89c3bd", "sha256": "84c8e96d235f3f824e9b5429dcda7eeae44ae06823197fa19b04ce1af1b62ca4" }, "downloads": -1, "filename": "testipynb-0.0.1.tar.gz", "has_sig": false, "md5_digest": "7a73babc840f0eca449d7db8fd89c3bd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5236, "upload_time": "2018-04-04T00:04:04", "url": "https://files.pythonhosted.org/packages/7f/43/56d8050ac3084065d959f2ea8db4537d9002663d8e8a269ca73b5cca8330/testipynb-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "326ccc962a3b65230489cd8ab7f9bd8f", "sha256": "8a512bfc86a3bf329fbf8fbaa435ef0702dc89893f22398ae08ec5ef89d9bbf5" }, "downloads": -1, "filename": "testipynb-0.0.2.tar.gz", "has_sig": false, "md5_digest": "326ccc962a3b65230489cd8ab7f9bd8f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5935, "upload_time": "2019-01-24T17:04:57", "url": "https://files.pythonhosted.org/packages/57/bb/9f57e1459e275084c30071ad43913ce2cad5c117c2a499c662bc03cf79a0/testipynb-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "326ccc962a3b65230489cd8ab7f9bd8f", "sha256": "8a512bfc86a3bf329fbf8fbaa435ef0702dc89893f22398ae08ec5ef89d9bbf5" }, "downloads": -1, "filename": "testipynb-0.0.2.tar.gz", "has_sig": false, "md5_digest": "326ccc962a3b65230489cd8ab7f9bd8f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5935, "upload_time": "2019-01-24T17:04:57", "url": "https://files.pythonhosted.org/packages/57/bb/9f57e1459e275084c30071ad43913ce2cad5c117c2a499c662bc03cf79a0/testipynb-0.0.2.tar.gz" } ] }