Skip to main content

GraphNexus 🌌

CI License: AGPL v3 Python 3.11+ PyPI version

Agnostic framework that transforms any tabular dataset (CSV/JSON) into a formal graph structure (Nodes/Edges), ready for network analytics and interactive 3D visualization. Uses Leiden (--community-algo leiden, requires leidenalg) or Louvain (--community-algo louvain, default) for community detection.

✨ Features

  • Agnostic Ingestion: Accepts any CSV or JSON file. You define the node, target, and attribute columns.
  • Strict Validation: Powered by Pydantic to ensure data integrity between Python and the frontend.
  • Community Detection: Automatic Louvain clustering to identify hidden groups and ecosystems.
  • Interactive 3D Visualization: Zero-config WebGL dashboard (3d-force-graph) with real-time filtering.
  • Local-First & Secure: No external API calls. All processing happens on your machine.

🚀 Quick Start

pip install graphnexus-core

# Run the CLI tool directly
graphnexus --input examples/web_stack.csv --node-id repo_name --target co_contributor --attributes "stars,language"

# Then open `web/index.html` in your browser

Option 2: Install from Source

git clone https://github.com/amurlaniakea/graphnexus-core.git
cd graphnexus-core
python -m venv .venv
source .venv/bin/activate  # Windows: .venv\Scripts\activate
pip install -e .

graphnexus --input examples/web_stack.csv --node-id repo_name --target co_contributor --attributes "stars,language"

🌍 Universal Use Cases

  1. Open-Source Web Stack Intelligence — Map software ecosystems, cluster communities with Louvain, and identify strategic infrastructure nodes.
  2. Global Supply Chain Strangling — Model logistics flows, detect chokepoints via community isolation, and expose sovereignty vulnerabilities.
  3. Financial Anti-Fraud Operations — Build transaction entity graphs, highlight circular flows, and isolate suspicious clusters using real-time filters.

🛠️ Development

pip install -e ".[dev]"
pre-commit run --all-files
pytest tests/ -v

📄 License

AGPL-3.0-or-later — see LICENSE.

Author: Pedro Sordo Martínez — amurlaniakea@gmail.com

Metadata

Release files for graphnexus-core 0.5.0

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

Source distribution (sdist)

Source distribution for graphnexus-core 0.5.0
File Size Uploaded
graphnexus_core-0.5.0.tar.gz 21.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for graphnexus-core 0.5.0
File Interpreter ABI Platform
graphnexus_core-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 42.4 kB

Release files / graphnexus_core-0.5.0.tar.gz

Download URL graphnexus_core-0.5.0.tar.gz
Size 21.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1e0914250ca205091a8e75d7dd717b90283b48ba6bca2ebb0e2637b2008b0cc9
BLAKE2b-256 checksum
How to use checksums
a25b7f8573a5538bc8b9b44f4f5e8f48e6cd4627ab1661da47a0b68af8b112fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / graphnexus_core-0.5.0-py3-none-any.whl

Download URL graphnexus_core-0.5.0-py3-none-any.whl
Size 20.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ca66bb3052b36c5b8d6f1236f95dc43a59fd2645002cf523c32e307a2228e35
BLAKE2b-256 checksum
How to use checksums
fb83a01fb7f5efed02ae04d2fc8230c9b8c5c2582463402666fdaeb59e55d8cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

0.6.0

2 release files

This release

0.5.0 This release

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

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