neptune-query
Neptune Query is a Python library for retrieving data from Neptune.
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-queryuv
uv add neptune-querypoetry
poetry add neptune-queryInstalling 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
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
neptune-fetcherQueries and fetches experiment metadata, runs,…
permissive · top 5,000 on PyPI
neptuneNeptune is a Python client for experiment…
permissive · top 15,000 on PyPI
neptune-scaleNeptune-scale is a Python client library for…
permissive · top 5,000 on PyPI
neptune-apiA generated Python client library for the…
permissive · top 5,000 on PyPI
comet-mlComet ML is an experiment tracking and logging…
permissive · top 15,000 on PyPI
sagemaker-experimentsTracks machine learning experiments, trials,…
permissive · top 15,000 on PyPI
ecmwf-api-clientPython client for accessing ECMWF's IFS…
permissive · top 15,000 on PyPI
dvc-studio-clientClient library for posting experiment metrics,…
permissive · top 5,000 on PyPI
prometheus-api-clientConnects to Prometheus monitoring systems and…
permissive · top 5,000 on PyPI
bigframesBigFrames provides a pandas-compatible…
permissive · top 5,000 on PyPI