Skip to main content

Run, profile, and save Jupyter notebooks from the command line

Project description

Build Status Coverage Status

Carpo

An irregular satellite of Jupyter.

A command line utility to run, profile, and save Jupyter notebooks.

Installation

Carpo may be installed from pypi:

pip install carpo

Tested against python 2.7, 3.4, 3.5, 3.6.

Quickstart

Use

carpo run path/to_notebook.ipynb

to run a notebook.

carpo show path/to_notebook.ipynb

will show data from past runs.

More depth

Carpo plays nicely with shell expansion:

https://colindcarroll.com/img/carpo/carpo_show.png

Carpo has gives helpful messages when successfully running notebooks:

https://colindcarroll.com/img/carpo/carpo_run.png

Carpo shows the cell and the error when a run fails:

https://colindcarroll.com/img/carpo/carpo_error.png

Also, carpo plays nicely with git, and will remember if a notebook has been run:

https://colindcarroll.com/img/carpo/carpo_git.png

Help

Includes help messages:

$ carpo --help
Usage: carpo [OPTIONS] COMMAND [ARGS]...

  Base for cli commands.

Options:
  --help  Show this message and exit.

Commands:
  run   Try to re-run all notebooks.
  show  View status of notebooks

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
carpo-0.4-py2.py3-none-any.whl (7.2 kB) Copy SHA256 hash SHA256 Wheel any Apr 24, 2017
carpo-0.4.tar.gz (7.2 kB) Copy SHA256 hash SHA256 Source None Apr 24, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page