Skip to main content

Notebook-Based, Super CUstomizable Infrastructure for Diagnostics

Project description

nbscuid 🦑

Notebook-Based, Super CUstomizable Infrastructure for Diagnostics

This is a package to enable running notebook-based diagnostic workflows. Based on my-cesm-experiment by matt-long: https://github.com/matt-long/my-cesm-experiment.

See some examples of workflows at https://github.com/rmshkv/nbscuid-examples.

Capabilities

  • Integration with data catalogs
  • Inject custom parameters into code and Markdown cells
  • Run many notebooks at once on a parameter set, or different parameters per notebook
  • Run different notebooks in different environments
  • Cache intermediate data products
  • Quickly build a Jupyter book with results

Installation

  • Run:

    pip install nbscuid
    

    Alternatively, to install the commands nbscuid-run and nbscuid-build without installing all of nbscuid's dependencies, first install pipx with pip install pipx, then run:

    pipx install nbscuid
    

Running a notebook collection

Create a new folder that contains a config.yml file. (A guide to what goes in a config.yml file is coming soon!) This will be the run directory for your collection of notebooks, where all the computed notebooks will appear.

To run all the notebooks you've specified, execute:

nbscuid-run path/to/config.yml

To build the jupyter book if desired, execute:

nbscuid-build path/to/config.yml

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

nbscuid-0.0.7.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

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

nbscuid-0.0.7-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file nbscuid-0.0.7.tar.gz.

File metadata

  • Download URL: nbscuid-0.0.7.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for nbscuid-0.0.7.tar.gz
Algorithm Hash digest
SHA256 4be5d70ecc2016352baa884b40a2d7a4b197a818a2ccd7dda3c817f385a2178c
MD5 8aca14308def969c6f79994cc52c50cb
BLAKE2b-256 413269df9d854961adbea36515cc383c6c8c8b086526aa4f7e1bd552fc5a7a0a

See more details on using hashes here.

File details

Details for the file nbscuid-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: nbscuid-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 14.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for nbscuid-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 260b535ca18b934420ebd51ce071854c4ecf31cd5efceea3486ad21305f388f5
MD5 021d278022cb9c2a9bf8ca8bafc50056
BLAKE2b-256 ebb3b7b278f24e3d3d8e0ba0a1a786b4637753e8c722cfe60ad5d785e377d85e

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