skillfed

neptune-query

Neptune Query is a Python library for retrieving data from Neptune.

neptune-query v1.14.1 1.4M downloads/30d#3,952 on PyPI4
Permissive license Apache-2.0 Abandoned released

What it is and what it does

neptune_query is a read-only Python client that retrieves experiment metadata, run information, metrics, and logged attributes. It provides functions to list experiments and runs, fetch metadata as pandas DataFrames, download files, and define filters to query specific subsets of data. The package depends on httpx for HTTP requests, pandas for tabular output, protobuf for serialization, PyJWT for authentication, attrs, azure-storage-blob, python-dateutil, and tqdm.

The package is designed for data scientists and ML engineers who need to programmatically access project data for analysis, reporting, or downstream processing. It supports both experiment-level and individual run-level queries, with filtering capabilities based on attributes like ownership, archival status, and metric thresholds. However, the repository is archived and abandoned, with no commits since 2026-04-20, meaning no active maintenance or support is available.

Use it for:

  • Export experiment metadata and metrics to pandas DataFrames for offline analysis or reporting.
  • Programmatically filter and retrieve runs matching specific criteria using the filters module.
  • Download files logged during experiments for post-hoc inspection or model evaluation.
  • Query individual runs by ID instead of experiment names for fine-grained data access.
  • Build automated pipelines that fetch data for integration with other tools.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Read-only API for querying experiment metadata, runs, metrics, and attributes with filtering and export to pandas DataFrames.

Yes, if you need read-only programmatic access to experiment data and can tolerate the abandoned maintenance status. Low install friction and permissive Apache 2.0 license make integration straightforward. However, no bug fixes or compatibility updates are forthcoming—install only if your use case is stable and unlikely to require updates, or if you can manage potential breakage with future Python or API changes.

Install

neptune-query on PyPI

pip

pip install neptune-query

uv

uv add neptune-query

poetry

poetry add neptune-query

Installing neptune-query

Before you install

Low install friction with a pure-Python wheel. However, the package is abandoned as of 2026-04-20 with no active maintenance, which poses a risk for bug fixes or compatibility updates with future Python or dependency versions.

License in practice

Apache License 2.0 is permissive and poses no restrictions on commercial or private use. You may use, modify, and distribute freely provided you include the license notice.

Quickstart

pip install 'neptune-query<2.0.0'

import neptune_query as nq

# Set environment variables first:
# export NEPTUNE_API_TOKEN="your-token"
# export NEPTUNE_PROJECT="workspace/project"

nq.fetch_experiments_table(attributes=["metrics/accuracy"])

Requires NEPTUNE_API_TOKEN and NEPTUNE_PROJECT environment variables to be set before use.

Verify before relying

  • Whether the abandoned status affects real-world usability or if the API remains stable against backend changes.
  • Compatibility with current API versions or whether breaking changes have occurred since last release on 2026-04-07.

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (<4.0,>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 8 — PyJWT, attrs, azure-storage-blob, httpx, pandas, protobuf, python-dateutil, tqdm
Maintenance abandoned — 129 days since the last release
Last repo commit (repository archived)
First released
Downloads 1,400,191/month — #3,952 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: neptune_query-1.14.1-py3-none-any.whl

Keywords: MLOps, ML Experiment Tracking, ML Model Registry, ML Model Store, ML Metadata Store

Development Status :: 4 - BetaEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIXOperating System :: UnixProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonTopic :: Scientific/Engineering :: Artificial IntelligenceTopic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Tags

experiment metadata query apiml experiment tracking retrievalfetch run metrics dataframemlops metadata accessexperiment filtering and export
mlopsexperiment-trackingdata-export

More Python Modules packages