neptune-scale 0.28.0


pip install neptune-scale

  Latest version

Released: Oct 21, 2025


Meta
Author: neptune.ai
Requires Python: >=3.9,<4.0

Classifiers

Development Status
  • 4 - Beta

Environment
  • Console

Intended Audience
  • Developers
  • Science/Research

License
  • OSI Approved :: Apache Software License

Natural Language
  • English

Operating System
  • MacOS
  • Microsoft :: Windows
  • POSIX
  • Unix

Programming Language
  • Python :: 3
  • Python :: 3.9
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13
  • Python :: 3.14

Topic
  • Scientific/Engineering :: Artificial Intelligence
  • Software Development :: Libraries :: Python Modules

neptune.ai

Quickstart   •   Website   •   Docs   •   Examples   •   Blog  

Neptune is an experiment tracker purpose-built for foundation model training.

With Neptune, you can monitor thousands of per-layer metrics—losses, gradients, and activations—at any scale. Visualize them with no lag and no missed spikes. Drill down into logs and debug training issues fast. Keep your model training stable while reducing wasted GPU cycles.

Watch a 3min explainer video →  

Play with a live example project in the Neptune app →  

Get started

Neptune consists of a Python API and a web application.

Install the Python client library:

pip install neptune-scale

Configure the API token and project:

  1. Log in to your Neptune workspace.

  2. Get your API token from your user menu in the bottom left corner.

    To create shared API tokens, see how to set up a service account.

  3. In the environment where neptune-scale is installed, save your API token to the NEPTUNE_API_TOKEN environment variable:

    export NEPTUNE_API_TOKEN="h0dHBzOi8aHR0cHM6...Y2MifQ=="
    
  4. Create a project, or find an existing project you want to send the run metadata to.

    To create a project via API:

    from neptune_scale.projects import create_project
    
    create_project(
        name="project-x",
        workspace="team-alpha",
    )
    
  5. (optional) In the environment where neptune-scale is installed, save your full project path to the NEPTUNE_PROJECT environment variable:

    export NEPTUNE_PROJECT="team-alpha/project-x"
    

    If you skip this step, you need to pass the project name as an argument each time you start a run.

You're ready to start using Neptune.

For more help with setup, see Get started in the Neptune documentation.

Example usage

Create an experiment:

from neptune_scale import Run


run = Run(experiment_name="MyExperimentName")

Then, call logging methods on the run and pass the metadata as a dictionary.

Log configuration or other simple values with log_configs():

run.log_configs(
    {
        "learning_rate": 0.001,
        "batch_size": 64,
    }
)

Inside a training loop or other iteration, use log_metrics() to append metric values:

# inside a loop
for step in range(100):
    run.log_metrics(
        data={"acc": 0.89, "loss": 0.17},
        step=step,
    )

Upload files:

run.assign_files(
    {
        "dataset/data_sample": "sample_data.csv",
        "dataset/image_sample": "input/images/img1.png",
    }
)

Log series of histograms:

from neptune_scale.types import Histogram


for step in epoch:
    # your training loop

    my_histogram = Histogram(...)

    run.log_histograms(
        histograms={
            "layers/1/activations": my_histogram
        },
        step=step,
    )

To help organize and group runs, apply tags:

run.add_tags(tags=["testing", "data v1.0"])

# To assign the run to groups, apply group tags
run.add_tags(
    tags=["group1", "group2"]
    group_tags=True,
)

When logging is no longer needed, use close() to stop the run:

run.close()

To explore your experiment, open the project in Neptune and navigate to Runs. For an example, see the demo project →

For more instructions, see the Neptune documentation:

Getting help

For help and support, visit our Support Center.

 


People behind Neptune

Created with :heart: by the neptune.ai team →

0.29.0b1 Oct 22, 2025
0.28.0 Oct 21, 2025
0.28.0b1 Oct 16, 2025
0.27.0 Sep 25, 2025
0.27.0b2 Sep 24, 2025
0.27.0b1 Sep 24, 2025
0.26.0 Sep 24, 2025
0.26.0b1 Sep 15, 2025
0.25.1 Sep 15, 2025
0.25.1a1 Sep 15, 2025
0.25.0b2 Sep 10, 2025
0.25.0b1 Sep 09, 2025
0.24.0 Sep 09, 2025
0.24.0b2 Sep 05, 2025
0.24.0b1 Sep 02, 2025
0.23.0 Sep 02, 2025
0.23.0b2 Aug 28, 2025
0.23.0b1 Aug 28, 2025
0.22.0 Aug 28, 2025
0.22.0b2 Aug 27, 2025
0.22.0b1 Aug 26, 2025
0.21.0 Aug 06, 2025
0.21.0b1 Aug 05, 2025
0.20.0 Aug 05, 2025
0.20.0b1 Jul 30, 2025
0.19.0 Jul 30, 2025
0.19.0b1 Jul 24, 2025
0.18.0 Jul 24, 2025
0.18.0b1 Jul 22, 2025
0.17.0 Jun 26, 2025
0.17.0b1 Jun 24, 2025
0.16.0 Jun 23, 2025
0.16.0b0 Jun 18, 2025
0.15.1b0 Jun 18, 2025
0.15.0 Jun 12, 2025
0.14.1 Jun 11, 2025
0.14.1b3 Jun 17, 2025
0.14.1b2 Jun 17, 2025
0.14.1b1 Jun 06, 2025
0.14.1b0 Jun 04, 2025
0.14.0 Jun 04, 2025
0.13.1b0 May 28, 2025
0.13.0 May 22, 2025
0.13.0b0 May 16, 2025
0.12.1 May 19, 2025
0.12.1b1 May 06, 2025
0.12.1b0 May 06, 2025
0.12.0 Apr 29, 2025
0.12.0b5 Apr 29, 2025
0.12.0b4 Apr 25, 2025
0.12.0b3 Apr 25, 2025
0.12.0b2 Apr 23, 2025
0.12.0b1 Apr 23, 2025
0.12.0b0 Apr 18, 2025
0.11.4b0 Apr 15, 2025
0.11.3 Apr 08, 2025
0.11.3b1 Apr 07, 2025
0.11.3b0 Apr 04, 2025
0.11.2 Apr 03, 2025
0.11.2b0 Apr 01, 2025
0.11.1 Mar 25, 2025
0.11.1b2 Mar 25, 2025
0.11.1b1 Mar 24, 2025
0.11.1b0 Mar 24, 2025
0.11.0 Mar 18, 2025
0.11.0b4 Mar 15, 2025
0.11.0b3 Mar 14, 2025
0.11.0b2 Mar 13, 2025
0.11.0b1 Mar 13, 2025
0.11.0b0 Mar 12, 2025
0.10.2 Feb 25, 2025
0.10.2b1 Feb 25, 2025
0.10.2b0 Feb 25, 2025
0.10.1 Feb 21, 2025
0.10.1b1 Feb 21, 2025
0.10.0 Feb 19, 2025
0.10.0b1 Feb 19, 2025
0.9.1 Feb 13, 2025
0.9.1b2 Jan 17, 2025
0.9.1b1 Jan 17, 2025
0.9.1b0 Jan 16, 2025
0.9.0 Jan 07, 2025
0.9.0b0 Jan 07, 2025
0.8.0 Nov 26, 2024
0.8.0b2 Nov 26, 2024
0.8.0b1 Nov 25, 2024
0.8.0b0 Nov 08, 2024
0.7.3 Nov 08, 2024
0.7.2 Nov 07, 2024
0.7.2b3 Nov 06, 2024
0.7.2b0 Nov 06, 2024
0.7.1 Oct 28, 2024
0.7.0b0 Oct 28, 2024
0.6.3 Oct 23, 2024
0.6.2 Oct 15, 2024
0.6.1 Oct 04, 2024
0.6.0 Sep 09, 2024
0.5.0 Sep 05, 2024
0.4.0 Sep 03, 2024
0.3.0 Sep 03, 2024

Wheel compatibility matrix

Platform Python 3
any

Files in release

Extras: None
Dependencies:
GitPython (>=2.0.8)
aiofiles (>=22.1.0)
azure-storage-blob (<13.0.0,>=12.7.0)
backoff (<3.0.0,>=2.0.0)
click (>=7.0)
filetype (<2.0.0,>=1.2.0)
more-itertools (<11.0.0,>=10.0.0)
neptune-api (<0.24.0,>=0.23.0)
psutil (>=5.0.0)
requests (>=2.21.0)
tqdm (<5.0.0,>=4.21.0)