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 # everything needed, including the viewer; no Node.js required
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 tfiles (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.
Documentation
- User guide
- Tour notebook with a runnable example of every feature
- Changelog
Notes
- The package is pure Python and the viewer is bundled, so there is nothing to compile or build.
import plexgraphis the supported entry point. It is implemented by two packages installed alongside it,plexgraph_core(graph model and loaders) andplexgraph_bridge(viewer and styling). Do not install this next to the separateplexgraph-coreorplexgraph-bridgedevelopment packages, which provide the same modules.- Status: alpha. The API may change before 1.0.
MIT licensed.
Metadata
Release files for plexgraph 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| plexgraph-0.2.0.tar.gz | 153.9 kB | With provenance | Details for plexgraph-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| plexgraph-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for plexgraph-0.2.0-py3-none-any.whl |
Total release size: 315.5 kB
Release files / plexgraph-0.2.0.tar.gz
| Download URL | plexgraph-0.2.0.tar.gz |
|---|---|
| Size | 153.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a241a836e706b5c198b1e3e6bedfd7c11251ef1da7f54da8ba5d40de2e2be2ce
|
|
BLAKE2b-256 checksum How to use checksums |
3f88371399f37694192f4e3167dc63399f8f82de73a5fea5650d9934d4f70b30
|
| 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 Sep 24, 2026.
Transparency logRelease files / plexgraph-0.2.0-py3-none-any.whl
| Download URL | plexgraph-0.2.0-py3-none-any.whl |
|---|---|
| Size | 161.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d4905bb5a8449f44033f8b89beef6a55e4bdc251fba67cc5dc572d5580de3c3f
|
|
BLAKE2b-256 checksum How to use checksums |
78316b72e8e3b3b74180a9727e0a492d54fbf1ed3faa756e044c0b01711f8982
|
| 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 Sep 24, 2026.
Transparency logSecurity for plexgraph 0.2.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.
Attestation for plexgraph-0.2.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 Sep 24, 2026.
Transparency logA 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.