Upload Jupyter notebook checkpoints through CLI#
Neptune compatibility note
This part of the integration has not yet been updated for neptune
1.x. Use it with neptune-client
For instructions, see Setup ≫ Upgrade Neptune.
We recommend uploading with CLI only if using the Jupyter extension is not possible.
You can upload notebooks and update notebook checkpoints with the Neptune command-line interface (CLI).
Before you start#
- Install the neptune-notebooks Python package, as described in Install the extension.
Export your Neptune API token as an environment variable:
How do I find my API token?
In the bottom-left corner of the Neptune app, expand the user menu and select Get your API token.
You can copy your token from the dialog that opens. It's very long – make sure to copy and paste it in full!
neptune notebook sync [ARGS...]
||(Optional) Creates a new notebook in Neptune.
If the notebook is not known to Neptune, it will be created. In this case, you do not need to use this flag.
||Project name (
||(Optional) Updates the notebook in Neptune by adding a new checkpoint to it.
If the notebook is known to Neptune, it will be updated. In this case, you do not need to use this flag.
Uploading the same notebook file as a new notebook in Neptune: