Skip to main content

NEExT

Network Embedding Experimentation Toolkit

An open-source Python framework for network science and graph machine learning.

PyPI version Python versions License: MIT Downloads Docs

Documentation · Website · Issues

NEExT Workbench

What is NEExT?

NEExT is an experimentation framework for graph and network data. It takes you from a collection of graphs to predictive and scientific results through one pipeline you can inspect and reproduce at every step:

Graphs → Features → Embeddings → Evidence

Load graphs from CSV, pandas, or NetworkX into a unified GraphCollection; compute structural node features (or write your own in plain Python); turn them into graph-level embeddings with Wasserstein/Sinkhorn optimal transport or a GNN; then train classifiers or regressors and read feature importance to see which structure drives the result. It's built on the standard scientific Python stack — NumPy, pandas, scikit-learn, XGBoost, NetworkX, iGraph — and works the same in a script, a notebook, or the Workbench.

There are two ways to use NEExT:

  • The Library — a lightweight Python package for scripting and notebook workflows.
  • The Workbench — a local, desktop-style GUI over the same NEExT workflows, with versioned artifacts and job tracking. It runs entirely on your machine (127.0.0.1, no accounts, no uploads) and is MCP-native, so an agent like Claude can drive it.

Installation

pip install NEExT

Optional extras:

pip install "NEExT[gnn]"            # Graph Neural Network embeddings (pure PyTorch)
pip install "NEExT[workbench-mcp]"  # local Workbench + MCP integration

See the docs for the full list of extras.

Quick start

from NEExT import NEExT

nxt = NEExT()

# Load a collection of graphs from CSV
graph_collection = nxt.read_from_csv(
    edges_path="edges.csv",
    node_graph_mapping_path="node_graph_mapping.csv",
    graph_label_path="graph_labels.csv",
)

# Features → Embeddings → Evidence
features = nxt.compute_node_features(graph_collection, feature_list=["all"])
embeddings = nxt.compute_graph_embeddings(
    graph_collection, features, embedding_algorithm="approx_wasserstein"
)
results = nxt.train_ml_model(graph_collection, embeddings, model_type="classifier")

Custom features, GNN embeddings, large-graph sampling, feature importance, and the full API are covered in the documentation.

The Workbench

The NEExT Workbench is a local, single-user FastAPI + React application that exposes the NEExT workflows — datasets, features, embeddings, models, and analysis — as a desktop-style UI. Everything stays on your machine, and it speaks MCP, so you can drive the whole pipeline from an MCP client.

neext-workbench          # installed package
make neext-workbench     # from a development checkout

Then open http://127.0.0.1:8765. Projects are stored under ~/NEExT-Workbench by default (override with NEEXT_WORKBENCH_HOME or neext-workbench --workspace <path>). The full Workbench tour, including MCP client setup, lives in the documentation.

Learn more

License

NEExT is released under the MIT License. Created and maintained by Ash Dehghan.

Metadata

Release files for NEExT 0.3.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for NEExT 0.3.4
File Size Uploaded Provenance Actions
neext-0.3.4.tar.gz 683.8 kB Without provenance Details for neext-0.3.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for NEExT 0.3.4
File Interpreter ABI Platform Actions
neext-0.3.4-py3-none-any.whl Python 3 none any Details for neext-0.3.4-py3-none-any.whl

Total release size: 1.3 MB

Release files / neext-0.3.4.tar.gz

Download URL neext-0.3.4.tar.gz
Size 683.8 kB
Tags Source
SHA-256 checksum
How to use checksums
72c4c2fba17a6be3a3f351691f834d45d531daff39ce4793646d0e9610fe6371
BLAKE2b-256 checksum
How to use checksums
b3ebb83b55513defd9b3521b98258eaf5eaf49619de7b03abf719cb46fe337b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.15

Release files / neext-0.3.4-py3-none-any.whl

Download URL neext-0.3.4-py3-none-any.whl
Size 665.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a96b6498e747e3e0ae6092af6be1076afcc0b21fe0d14fdc32f9949384e78d5f
BLAKE2b-256 checksum
How to use checksums
a96b251d9ad582e4c7bb39f0853fbc5533961d7ad69c689b6bcf97b7e54e2006
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.15

Security for NEExT 0.3.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page