Skip to main content

Network Embedding Experimentation Toolkit - A powerful framework for graph analysis, embedding computation, and machine learning on graph-structured data

Project description

NEExT

Network Embedding Experimentation Toolkit

An open-source Python framework for network science and graph machine learning — one coherent pipeline from graph data to research evidence.

PyPI version Python versions License: MIT Downloads Docs

Documentation · Website · Issues

NEExT Workbench

What is NEExT?

NEExT turns graph-structured data into machine-learning-ready evidence through one transparent, reproducible pipeline:

Graphs → Features → Embeddings → Evidence

Load graphs from CSV, pandas, or NetworkX into a unified GraphCollection; compute structural node features (or your own in plain Python); generate graph-level embeddings via Wasserstein optimal transport or graph neural networks; then train classifiers/regressors and extract feature importance. It runs on trusted Python libraries (NumPy, pandas, scikit-learn, XGBoost, NetworkX, iGraph) and works the same way 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 real 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 agents 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 real 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 it from agentic clients.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

neext-0.3.3.tar.gz (683.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

neext-0.3.3-py3-none-any.whl (665.8 kB view details)

Uploaded Python 3

File details

Details for the file neext-0.3.3.tar.gz.

File metadata

  • Download URL: neext-0.3.3.tar.gz
  • Upload date:
  • Size: 683.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.15

File hashes

Hashes for neext-0.3.3.tar.gz
Algorithm Hash digest
SHA256 db22a2dae61cf03e5ad03ec3c06ee2f2d6eeda0669a2f9908f72b18265c09dbd
MD5 da495a8d00dd0c3dd0822c3fa3d645be
BLAKE2b-256 2768ac2c94da94224def9102d25b3d8cf28d0051d05bf76e9bd8f7f468e3287c

See more details on using hashes here.

File details

Details for the file neext-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: neext-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 665.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.15

File hashes

Hashes for neext-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 22ca359158aac10801ffb49260673c5bde7c1916453b937faca411f5f9fff47e
MD5 983f97318b66a168349d81f72026786c
BLAKE2b-256 5c58bbc22b31cd5b907d044cf4151a33052ffe907b43bc44119e031ed17c6f4a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page