Skip to main content

kglite-visual

Interactive, high-performance visualization for .kgl knowledge-graph files produced by KGLite — a Rust workspace and a WebGL frontend, shipped as a localhost CLI and a Python wheel.

Not yet published. No release has been cut, so the pip install line below does not resolve yet; build from the repo (make wheel) until it does. The first release deletes this paragraph.

What it does

.kgl graphs reach 100M+ nodes and no browser renders that, so the entry screen is never the whole graph. It is the type-level meta-graph — the labels and relationship types with their counts, always small whatever sits underneath — and you drill in from there with Cypher and bounded neighborhood expansion. The server decides what crosses the wire; the bound is enforced server-side, so a slice cannot grow past it on the way to the renderer.

Rendering is cosmos.gl (MIT, OpenJS Foundation): a WebGL GPU force layout, fed over a binary protocol (typed-array buffers for topology and positions, JSON for metadata).

Install

pip install kglite-visual

The wheel carries the engine, the server and the frontend bundle inside one compiled extension — no Node, no separate server process, no runtime Python dependencies.

Use it

From the shell:

kglite-visual path/to/graph.kgl        # opens a browser on localhost
kglite-visual path/to/graph.kgl --no-open --port 8080

# no server, no browser: one image, or one file for somebody else's tool
kglite-visual render path/to/graph.kgl --meta
kglite-visual export path/to/graph.kgl --format gexf -o graph.gexf
kglite-visual export path/to/graph.kgl --format csv --cypher "MATCH (n:Field) RETURN n"

From Python, including inside Jupyter:

import kglite_visual

view = kglite_visual.show("path/to/graph.kgl")   # a live URL, served in-process
view.url
view.close()

show() also takes an in-memory kglite graph, handed over through to_bytes() without touching the disk. In a notebook the returned view renders itself as an iframe.

Requirements

  • Python 3.10+ (one abi3 wheel serves every version from 3.10 up)
  • A .kgl file written by a matching KGLite release

Building from source additionally needs a Rust toolchain and Node; the published wheels and the source distribution both carry a prebuilt frontend, so neither needs Node at install time.

License

MIT — see LICENSE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kglite_visual-0.1.1.tar.gz (2.6 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

kglite_visual-0.1.1-cp310-abi3-win_amd64.whl (9.9 MB view details)

Uploaded CPython 3.10+Windows x86-64

kglite_visual-0.1.1-cp310-abi3-musllinux_1_2_x86_64.whl (10.1 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ x86-64

kglite_visual-0.1.1-cp310-abi3-musllinux_1_2_aarch64.whl (9.5 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARM64

kglite_visual-0.1.1-cp310-abi3-manylinux_2_28_aarch64.whl (9.3 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

kglite_visual-0.1.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.9 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ x86-64

kglite_visual-0.1.1-cp310-abi3-macosx_11_0_arm64.whl (9.0 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

kglite_visual-0.1.1-cp310-abi3-macosx_10_12_x86_64.whl (9.5 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file kglite_visual-0.1.1.tar.gz.

File metadata

  • Download URL: kglite_visual-0.1.1.tar.gz
  • Upload date:
  • Size: 2.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for kglite_visual-0.1.1.tar.gz
Algorithm Hash digest
SHA256 95f4d38a0c70b2f85a2373d435a0ab2774e7593eac2db1269dc76f6b3c1aeb3f
MD5 e237598a16d720dd7f8e69edea43bc40
BLAKE2b-256 c7dc1f20045b1d3732128dac8296bb58365569cfcfcee380b8837a067c9f11e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for kglite_visual-0.1.1.tar.gz:

Publisher: release.yml on kkollsga/kglite-visual

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kglite_visual-0.1.1-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for kglite_visual-0.1.1-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 0999d1228d4fb68e62a7d015fafdbac12cde731cd02554048f45b5016ac495ba
MD5 0213cb2c9efe5e930b23e0a4714d3d6c
BLAKE2b-256 4484e2016e131a20deb55f0e1560e44fc13a9dbb260178da7887ae1fe44072bf

See more details on using hashes here.

Provenance

The following attestation bundles were made for kglite_visual-0.1.1-cp310-abi3-win_amd64.whl:

Publisher: release.yml on kkollsga/kglite-visual

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kglite_visual-0.1.1-cp310-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for kglite_visual-0.1.1-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7ad5d3d751fb522d6486b9666e41afd7c6abb6698235e86f525b58d61dd1046a
MD5 3dff3efeafefaf8950a8f56cd450150f
BLAKE2b-256 8ed596a64b326c1fe536ebae4be318c476600561cb3aa97a76bb2da7a9178add

See more details on using hashes here.

Provenance

The following attestation bundles were made for kglite_visual-0.1.1-cp310-abi3-musllinux_1_2_x86_64.whl:

Publisher: release.yml on kkollsga/kglite-visual

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kglite_visual-0.1.1-cp310-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for kglite_visual-0.1.1-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 79ada1eb75dca1c821b7aecbea07ea349a9a347ed93d50bc2c885a6658353110
MD5 9c4c8e61c7197ee05089d79cef987c01
BLAKE2b-256 f9425633ce213d08357fade773169ef25fd6d8caa85b4df98cf1abdbef5a5d64

See more details on using hashes here.

Provenance

The following attestation bundles were made for kglite_visual-0.1.1-cp310-abi3-musllinux_1_2_aarch64.whl:

Publisher: release.yml on kkollsga/kglite-visual

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kglite_visual-0.1.1-cp310-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for kglite_visual-0.1.1-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7b70f6ffaefcb593eb3b7bc3097ba09520899e1e4fd7c313b4fdee771c203588
MD5 062357094c53c7511c7483b1685e4861
BLAKE2b-256 da9bef8f074657b930cd84e5649cdf6e74b5bdcc481f467633722e2af2424c3e

See more details on using hashes here.

Provenance

The following attestation bundles were made for kglite_visual-0.1.1-cp310-abi3-manylinux_2_28_aarch64.whl:

Publisher: release.yml on kkollsga/kglite-visual

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kglite_visual-0.1.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for kglite_visual-0.1.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b422bfb0eb3522101eac660fc178e25b6954fef2f1bdc3abd2de87affb3c3583
MD5 27cb140c65c3c9bba1ef4f9b054c9123
BLAKE2b-256 9d83583019bb2919b07cd7b5e2dca623383c8200db8e67b8665f3a13b5dbcc20

See more details on using hashes here.

Provenance

The following attestation bundles were made for kglite_visual-0.1.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on kkollsga/kglite-visual

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kglite_visual-0.1.1-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for kglite_visual-0.1.1-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c0bea832e210dc1201cc6e3db24e1b39a2e77742b9e961ed06524f7b72e3a068
MD5 96e17225d8ff035d0f8e72a09355e110
BLAKE2b-256 7683e986110d0ba936c75dc8266507999afd3c49637449b3ee19af6d76c7bc05

See more details on using hashes here.

Provenance

The following attestation bundles were made for kglite_visual-0.1.1-cp310-abi3-macosx_11_0_arm64.whl:

Publisher: release.yml on kkollsga/kglite-visual

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kglite_visual-0.1.1-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for kglite_visual-0.1.1-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 35cc26b94432c793efb337c311373a968f7eb04962f1e53e63bac7e02704db0a
MD5 816803ac60b02e76c10272e2f41fcac2
BLAKE2b-256 14737dd66d320afcf6d894b98e735328d92452b278bbd701ae2ee3133afb2f60

See more details on using hashes here.

Provenance

The following attestation bundles were made for kglite_visual-0.1.1-cp310-abi3-macosx_10_12_x86_64.whl:

Publisher: release.yml on kkollsga/kglite-visual

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.1.7

8 files

0.1.6

8 files

0.1.5

8 files

0.1.4

8 files

0.1.3

8 files

0.1.2

8 files

This release

0.1.1 This release

8 files

0.1.0

8 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