Skip to main content

scigraphs-engine

Graph visualization as a plain Python package. Coordinates, an edge list and whatever attributes they carry go in; geometry or pixels come out, with 26 filter channels, structural sparsification, edge-style tessellation and hierarchical bundling in between.

from scigraphs_engine import Graph

g = Graph.from_arrays(coords, edges)
g = g.filter(core__gte=0.5).simplify(backbone="disparity", alpha=0.05)
g.style(edges="bundled").render(size=(1920, 1080)).save("out.png")

Nothing in this package imports bpy, gpu, bmesh or mathutils. The compute half needs only numpy, and Graph.geometry() runs with no graphics library installed at all, returning MeshSpecs that name their shader as a string, so any renderer can draw them. The GPU half is an optional extra.

Install

pip install scigraphs-engine                  # numpy only
pip install "scigraphs-engine[igraph]"        # coreness, PageRank, betweenness, bridges
pip install "scigraphs-engine[scipy]"         # components, hop distance, crowding
pip install "scigraphs-engine[wgpu]"          # render() to pixels
pip install "scigraphs-engine[all]"           # everything

Requires Python 3.10 or newer. A missing extra makes individual channels unavailable rather than breaking anything: available_channels() returns all 26 with a reason for each one that cannot run.

Documentation

https://github.com/SciBlend/SciGraphs/tree/main/docs

python engine/scigraphs_engine/tests/run.py          # -v for full output

License

MIT, see LICENSE. The SciGraphs Blender add-on is GPLv3 and is one caller of this package, not its owner. It reaches the package through a shim that prefers an installed scigraphs_engine over any copy shipped alongside it.

Metadata

Release files for scigraphs-engine 0.2.1

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

Source distribution (sdist)

Source distribution for scigraphs-engine 0.2.1
File Size Uploaded Provenance Actions
scigraphs_engine-0.2.1.tar.gz 118.3 kB With provenance Details for scigraphs_engine-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for scigraphs-engine 0.2.1
File Interpreter ABI Platform Actions
scigraphs_engine-0.2.1-py3-none-any.whl Python 3 none any Details for scigraphs_engine-0.2.1-py3-none-any.whl

Total release size: 273.6 kB

Release files / scigraphs_engine-0.2.1.tar.gz

Download URL scigraphs_engine-0.2.1.tar.gz
Size 118.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a2390896687afbcae5fe649b95ba7fe9a5e3ca5bd1f186d8af2921f60f3584e6
BLAKE2b-256 checksum
How to use checksums
8eed42475e8d33ae24c74049f127cf36dcb3d29656a36b23d7da586f450bd6c1
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 15, 2026.

Transparency log

Release files / scigraphs_engine-0.2.1-py3-none-any.whl

Download URL scigraphs_engine-0.2.1-py3-none-any.whl
Size 155.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fc39a2de75f84518d74e0579b4c24e22b6a9e03b17a7fa764f41307925ca8983
BLAKE2b-256 checksum
How to use checksums
dd5fa575ab6290f1586d19f9e6ecf3949347a61c414a88eb429e5028a02c2c55
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 15, 2026.

Transparency log

Security for scigraphs-engine 0.2.1

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for scigraphs_engine-0.2.1.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 15, 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.

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