nbproject.dev.MetaStore#

class nbproject.dev.MetaStore(meta_container, filepath=None, env=None)#

Bases: object

The wrapper class for metadata stored in the notebook file.

Methods

add_pypackages(packages)#

Manually add pypackages to track.

Pass a string or a list of strings representing package names.

Returns self.

Return type

MetaStore

write(**kwargs)#

Write to file.

You can edit the nbproject metadata of the current notebook by changing .store fields and then using this function to write the changes to the file.

Outside Jupyter Lab: Save the notebook before writing.