ez_kaggle.kernel

API details for managing notebooks as kaggle kernels

source

nb2names

 nb2names (file)
nb2names('index.ipynb')
('ez_kaggle', 'ez-kaggle')

If you pass a list of space separated modules to install, they’ll be installed if running on Kaggle.


source

nb_meta

 nb_meta (file, private=False, gpu=False, internet=True,
          language='python', cfg_path='.', **kwargs)

Get the dict required for a kernel-metadata.json file

meta_new = nb_meta('index.ipynb')

source

push_notebook

 push_notebook (file, cfg_path='.', private=False, gpu=True,
                internet=True, **kwargs)

Push notebook file to Kaggle Notebooks

push_notebook('index.ipynb')
Kernel version 3 successfully pushed.  Please check progress at https://www.kaggle.com/code/isaacflath/ez-kaggle