• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

paulgb / runipy / 198 / 9
89%
master: 89%

Build:
DEFAULT BRANCH: master
Ran 03 Jan 2017 06:09PM UTC
Files 5
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Jan 2017 05:55PM UTC coverage: 78.646% (-0.09%) from 78.74%
PYTHON_VERSION="2.7" IPYTHON_VERSION=3

Pull #132

travis-ci

web-flow
Add output_callback to NotebookRunner

I added an output_callback to the NotebookRunner class.
This allows to nicely display or save the outputs of a notebook:
Small example:

```
def print_output(cell, out):
    if out.output_type == 'stream':
        print(out.text, end='')

notebook = reads(open(fname).read(), 3)
nb_runner = NotebookRunner(notebook, output_callback=print_output)
nb_runner.run_notebook()
```

I think this also resolves issue #3

Cheers,
Leon
Pull Request #132: Add output_callback to NotebookRunner

302 of 384 relevant lines covered (78.65%)

0.79 hits per line

Source Files on job 198.9 (PYTHON_VERSION="2.7" IPYTHON_VERSION=3)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 198
  • Travis Job 198.9
  • 60503010 on github
  • Prev Job for PYTHON_VERSION="2.7" IPYTHON_VERSION=3 on master (#196.9)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc