Skip to content

v0.7.0

Latest

Choose a tag to compare

@github-actions github-actions released this 11 Jan 05:34
· 1 commit to main since this release

What's New

juq nb command group

New unified command group for notebook transformations:

  • juq nb fmt - format/filter notebook fields
  • juq nb run - run notebook with papermill (alias for juq papermill run)
  • juq nb clean - clean papermill metadata (alias for juq papermill clean)

Field filtering in juq nb fmt

Filter notebook fields with short flags:

  • -s/-S sources
  • -o/-O outputs
  • -a/-A attachments
  • -i/-I cell IDs
  • -m/-M cell metadata
  • -c/-C execution counts
  • -b/-B notebook metadata

Lowercase = keep only, uppercase = drop.

juq nb fmt -s file.ipynb        # sources only
juq nb fmt -s -o file.ipynb     # sources + outputs
juq nb fmt -O file.ipynb        # drop outputs
juq nb fmt -w -S file.ipynb     # in-place, drop sources

Build system

Switched to hatchling + hatch-vcs for dynamic versioning from git tags.

Full Changelog: v0.6.0...v0.7.0