Skip to main content
App version: 3.4.8

Setting up Neptune Fetcher

Install neptune-fetcher:

pip install -U neptune-fetcher

Set your Neptune API token and project name as environment variables:

In your .profile or other shell initialization file, use the export commands:

export NEPTUNE_API_TOKEN="h0dHBzOi8aHR0cHM.4kl0jvYh3Kb8...ifQ=="
export NEPTUNE_PROJECT="workspace-name/project-name"

For help, see Get started.

Working with multiple projects

To change the token or project, you can set the context directly in the code. This way, you can set the project for individual fetching calls or globally for your session.

To start using the API, import the alpha module:

import neptune_fetcher.alpha as npt