ipysigma
A Jupyter widget using sigma.js to render interactive networks.
What it is and what it does
ipysigma is a Jupyter widget that embeds interactive network visualizations directly into notebook cells. It wraps sigma.js and graphology to display graphs with rich visual customization—you can map node and edge properties to color, size, shape, labels, and other visual attributes. The widget supports both static exploration and synchronized "small multiples" for comparing graph features side-by-side.
The package is designed for exploratory network analysis in notebooks. You pass a graph object and optionally specify which attributes or computed metrics should drive the visual encoding. It can compute metrics on the widget side without round-tripping to Python, and integrates with ipywidgets for interactivity.
Use it for:
- Explore community structure in a network by coloring nodes by computed partition.
- Compare two layouts or metrics of the same graph side-by-side using SigmaGrid's small multiples.
- Visualize a knowledge graph or ontology with custom node shapes, colors, and labels mapped to attributes.
- Interactively inspect node degree, centrality, or other metrics as node size or color.
- Render a directed graph with edge weights as visual size in an interactive notebook cell.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A Jupyter widget that renders interactive network graphs directly in notebook cells using sigma.js, supporting graph objects with extensive visual customization of nodes and edges.
Yes, if you work with networks in Jupyter notebooks and want interactive visualization without leaving the cell. The low install friction, permissive license, and stable maintenance make it practical. The aging status (262 days since last release) is not a blocker for stable use, but verify compatibility with your Jupyter version before relying on it for production workflows.
Install
ipysigma on PyPI
pip
pip install ipysigmauv
uv add ipysigmapoetry
poetry add ipysigmaInstalling ipysigma
Before you install
Low friction installation with a single runtime dependency (ipywidgets). The package is aging—last release was 262 days ago—but the repository remains active with 308 stars, suggesting stable maintenance rather than abandonment.
License in practice
MIT license is permissive; you can use, modify, and distribute ipysigma with minimal restrictions, making it suitable for both open and closed-source projects.
Quickstart
pip install ipysigma
from ipysigma import Sigma
Sigma(g, node_size='degree', node_color='category')
Requires Jupyter Notebook or Lab with widget support enabled; on Google Colab, must call output.enable_custom_widget_manager() first.
Verify before relying
- Compatibility with current Jupyter versions (classifiers list Python 3.4–3.7, which are EOL).
- Performance characteristics when rendering very large graphs (node/edge count thresholds).
- Whether widget-side metric computation (e.g., Louvain) works reliably in all Jupyter environments.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.6) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — ipywidgets |
| Maintenance | aging — 262 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 107,632/month — #12,606 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: ipysigma-0.24.6-py3-none-any.whl
Keywords: Jupyter, Widgets, IPython, Sigma, graph
Tags
More Graphics packages
Pillow adds image processing capabilities to…
permissive · top 100 on PyPI
fonttoolsfonttools manipulates font files in multiple…
permissive · top 1,000 on PyPI
matplotlib-inlineEnables matplotlib figures to display inline…
permissive · top 1,000 on PyPI
pymupdfPyMuPDF extracts, renders, converts, and…
agpl · top 1,000 on PyPI
pypdfium2pypdfium2 is a Python binding to PDFium that…
permissive · top 1,000 on PyPI
altairAltair is a declarative Python library for…
permissive · top 1,000 on PyPI
ipytreeipytree provides a tree-structure widget for…
permissive · top 15,000 on PyPI
ipymplipympl enables interactive matplotlib plots in…
permissive · top 5,000 on PyPI
ipyvueProvides a Jupyter widget base for building…
permissive · top 15,000 on PyPI
ipydagred3ipydagred3 is an ipywidgets library for…
permissive · top 15,000 on PyPI
py3DmolEmbeds an interactive 3D molecular viewer in…
permissive · top 15,000 on PyPI
pythreejsPythreejs bridges Python and Three.js to render…
permissive · top 15,000 on PyPI
ipywidgetsipywidgets provides interactive HTML widgets…
permissive · top 1,000 on PyPI
ipyeventsipyevents provides a Jupyter widget that…
permissive · top 15,000 on PyPI
igraphigraph provides a Python interface to a…
copyleft · top 5,000 on PyPI
pySigmaParses and converts Sigma detection rules into…
copyleft · top 15,000 on PyPI