Skip to main content

Run sequences of Jupyter notebooks as a workflow from the command line or the JupyterLab sidebar

Project description

nbpipe

Run sequences of Jupyter notebooks as a workflow from the command line or the JupyterLab sidebar.

nbpipe demo

Installation

pip install nbpipe

Usage

Create a .nbpipe/ directory at the root of your project and add a workflow YAML file inside it.

# .nbpipe/my_workflow.yaml
# Notebook paths are relative to the project root

name: my_workflow
steps:
  - notebook: prepare_data.ipynb
    output: data/processed.csv
  - notebook: train_model.ipynb

Run it from the CLI:

nbpipe run .nbpipe/my_workflow.yaml

or from the JupyterLab sidebar.

Step fields

Field Required Description
notebook yes Notebook to run, relative to the project root
output no File the notebook must produce — workflow fails if absent. Supports wildcards (e.g. report_*.csv) for files with dynamic names such as timestamps

Project details


Download files

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

Source Distribution

nbpipe-0.1.4.tar.gz (5.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nbpipe-0.1.4-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

Details for the file nbpipe-0.1.4.tar.gz.

File metadata

  • Download URL: nbpipe-0.1.4.tar.gz
  • Upload date:
  • Size: 5.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for nbpipe-0.1.4.tar.gz
Algorithm Hash digest
SHA256 33bd655aff3353ccdcf1dc445916195d25174cbfd67ea4671404b37a0ce59c26
MD5 66ee519d605505442731ed604bb915be
BLAKE2b-256 b3c45a4e689169d317c6cb9369f48b99f8c41df1374c64dfba1ef065bf530c9b

See more details on using hashes here.

File details

Details for the file nbpipe-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: nbpipe-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for nbpipe-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 79002e2e5270a09b625b188d46b15aac81af90f096a841889722c5fb8c38659f
MD5 0cd1ee103de99926675737ae62d13604
BLAKE2b-256 ce0e1b08d95b0e86a2aa11cbed58b2e3609e4c9c232c24e41555caf156758658

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page