OQP is a ridiculously small tool for working with Jupyter notebooks and DVC.
Convert a notebook to a Python script:
oqp script -i path/to/notebook.ipynb
Generate a DVC run command for a Python script:
oqp dvc -i path/to/script.py
oqp
writes its result on stdout.