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. For a basic tutorial, follow https://nbscuid.readthedocs.io/en/latest/tutorialsetup.html.

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.8.tar.gz (16.7 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.8-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nbscuid-0.0.8.tar.gz
  • Upload date:
  • Size: 16.7 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.8.tar.gz
Algorithm Hash digest
SHA256 88b57d93b0bad328e86cdbb6503773de9488e39c5fc4649e4eccf27cfe5b27a2
MD5 46899591504232fa9fc5f055b19b772e
BLAKE2b-256 c138d5550f6363a004f039f5672197995877b94ac1d27736f395d93ec3da2f4d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nbscuid-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 14.6 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 63753df2d4e3951dc1d6ce53148785650719412a5645bf54edfdd45d9d358f3a
MD5 d5c09d55bf0ddc429673445df9bc3f4d
BLAKE2b-256 ea93eae7da188ef17b1eb109e7ef6980a2c72b82e127a994630f920d51168858

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