I'd like to let you know that I wrote and published a Python package https://pypi.org/project/nbgv-python/ to adapt NBGV to python world.