Skip to main content

plexgraph

Interactive graph visualization for multilayer, temporal and hypergraph networks, from Python. Build a graph, call show(), and explore it in a WebGL viewer, inline in Jupyter or in a browser tab. It stays responsive on graphs with 100,000 nodes and hundreds of thousands of edges.

pip install plexgraph
pip install "plexgraph[jupyter]" # plus the notebook widget (anywidget)
pip install "plexgraph[all]"     # plus pandas, networkx and the notebook widget
import plexgraph as pg

g = pg.Graph()
for i in range(60):
    g.add_node(i, team=f"t{i % 3}")
for i in range(60):
    g.add_edge(i, (i + 1) % 60)
    g.add_edge(i, (i * 7 + 3) % 60)

view = pg.show(g, node_color=pg.by_attribute("team", palette="tab10"),
               node_size=pg.size_by_degree((8, 18)), edge_curvature=0.15, return_handle=True)

view.style(node_shape="s")               # change the open viewer from Python
view.color_nodes([0, 1, 2], "crimson")   # paint specific nodes

Try it without writing code: python -m plexgraph demo.

What it does

  • Three kinds of network as first-class data: layers (multiplex), time (contact sequences or intervals) and hyperedges, in one graph model.
  • Loaders for edge lists, pandas DataFrames, networkx, GEXF and GraphML, and for temporal u v t files (pg.read_temporal_edgelist) with ISO dates, custom date formats or Unix timestamps.
  • A layout that scales: streaming force layout with bounded memory, an overview that turns into individual nodes as you zoom, and communities that collapse and expand.
  • networkx-style styling, live: colors, sizes, shapes, outlines, opacity, curved edges and labels, from attributes, degree, weights, time buckets or your own lists and dicts, changed while the viewer is open. The same controls are in the viewer's Appearance panel.
  • Exploration tools: search, filters, click-to-select, shortest path, time slider and time ribbon, and export to PNG, JPG, SVG, HTML or PDF.
  • handle.save("graph.svg"): write the viewer's current view straight to a file from Python -- no click needed.

Documentation

plexgraph.readthedocs.io — user guide and API reference. Also:

Notes

  • The package is pure Python and the viewer is bundled, so there is nothing to compile or build.
  • import plexgraph is the supported entry point. It is implemented by two packages installed alongside it, plexgraph_core (graph model and loaders) and plexgraph_bridge (viewer and styling). Do not install this next to the separate plexgraph-core or plexgraph-bridge development packages, which provide the same modules.
  • Status: alpha. The API may change before 1.0.

MIT licensed.

Metadata

Release files for plexgraph 0.3.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 plexgraph 0.3.0
File Size Uploaded Provenance Actions
plexgraph-0.3.0.tar.gz 160.8 kB With provenance Details for plexgraph-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 328.7 kB

Release files / plexgraph-0.3.0.tar.gz

Download URL plexgraph-0.3.0.tar.gz
Size 160.8 kB
Tags Source
SHA-256 checksum
How to use checksums
96dbb213041954d1ca6612d20b1ba532c8f3d759b77a4b28559dd9419e13b629
BLAKE2b-256 checksum
How to use checksums
5021c3e229384c1e9b59a45fd23eb8f7ba33535d80817e6b91a211b1ae5ed878
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 10, 2026.

Transparency log

Release files / plexgraph-0.3.0-py3-none-any.whl

Download URL plexgraph-0.3.0-py3-none-any.whl
Size 167.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ba370ce16b053e8f82c2bcd55559267d5c5d9582eecfcbaacc475eb70a23098
BLAKE2b-256 checksum
How to use checksums
7106368dc002e978a63be64ab68f9512819d6c0b61ff81d71cadea639e9f838c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 10, 2026.

Transparency log

Security for plexgraph 0.3.0

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for plexgraph-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 10, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files Full provenance

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