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

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.0.tar.gz (1.0 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.0-cp310-abi3-win_amd64.whl (8.1 MB view details)

Uploaded CPython 3.10+Windows x86-64

kglite_visual-0.1.0-cp310-abi3-musllinux_1_2_x86_64.whl (8.4 MB view details)

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

kglite_visual-0.1.0-cp310-abi3-musllinux_1_2_aarch64.whl (7.8 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARM64

kglite_visual-0.1.0-cp310-abi3-manylinux_2_28_aarch64.whl (7.6 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

kglite_visual-0.1.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.1 MB view details)

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

kglite_visual-0.1.0-cp310-abi3-macosx_11_0_arm64.whl (7.2 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

kglite_visual-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl (7.7 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: kglite_visual-0.1.0.tar.gz
  • Upload date:
  • Size: 1.0 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.0.tar.gz
Algorithm Hash digest
SHA256 4ff0530f168eef804684bd762a588705586971a544f2ea2af5cc18f1f35bda47
MD5 2d0be06ef54c09a7e9055a5d2e25bad9
BLAKE2b-256 4f2c9b215d665a9fd250b2a2abd2b75902e9783eae134dcd55b7b068345aa383

See more details on using hashes here.

Provenance

The following attestation bundles were made for kglite_visual-0.1.0.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.0-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for kglite_visual-0.1.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 0d4b5bc9bf358130c549940698c8311286d0bca5004d42f790b46b40ed5308c0
MD5 da6ddc314f62365051e496a03f2c2953
BLAKE2b-256 03f7f64836c7effbcaa85da7f6dbf509467d8a7a08abeaeedde26356c286319e

See more details on using hashes here.

Provenance

The following attestation bundles were made for kglite_visual-0.1.0-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.0-cp310-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for kglite_visual-0.1.0-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d3d9d90a7911f872df513d99a4caef015cb53d48eedc7e8c5d1ac062e8b294f6
MD5 7e2420ad934fbe2894515df0920eb378
BLAKE2b-256 f45d82ed81a57de76d4c13fb815082e8d7df4d4dea9e9779d5a004a471a98efc

See more details on using hashes here.

Provenance

The following attestation bundles were made for kglite_visual-0.1.0-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.0-cp310-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for kglite_visual-0.1.0-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 6d505548eaeeb578efa691ed80d3dc4fa72896f8581ac825e0e7184cad688191
MD5 68bb032de3aaaae6be9e7ec0460fa9ff
BLAKE2b-256 1f9c4af149a634947a585273751c7cb1057c6de591abc400dd5f3bb56cf61903

See more details on using hashes here.

Provenance

The following attestation bundles were made for kglite_visual-0.1.0-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.0-cp310-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for kglite_visual-0.1.0-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ded62a26b5e3dcc5a156e2e7433bb94d9c48e03ab14643d86b056be47fcc4c59
MD5 ef7863bef7e7810103ebe060c00de11d
BLAKE2b-256 e5cdd5af1a0dbbb5e15bd0c78086f515c5985f604d8ff62aefe9716fa4c2b4cf

See more details on using hashes here.

Provenance

The following attestation bundles were made for kglite_visual-0.1.0-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.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for kglite_visual-0.1.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4583a2b1d197adfa01c15363a4fdc6837521036fab15b057f7c7ef61a43dec86
MD5 3779a1d85c222416bc583809e18a7a85
BLAKE2b-256 c7d240ba0abd9f6f163795dda85da6b985ce5bc71b751f9d2f8dd6cfde467c54

See more details on using hashes here.

Provenance

The following attestation bundles were made for kglite_visual-0.1.0-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.0-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for kglite_visual-0.1.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7f6bd05bcc57ad476ddaeb5d2ab664de7348b7d3cd5c01590736a941e796fad9
MD5 4aee0a4ed5ed817dfdc888dce300f1ac
BLAKE2b-256 d3130e71221c5d46afcfda259b4c231bd8293d7c41c702b1f0733ad4ba4c5c5f

See more details on using hashes here.

Provenance

The following attestation bundles were made for kglite_visual-0.1.0-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.0-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for kglite_visual-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 981f7ad67c37c2b8feeea5631ea504ed413b06c4d64d49cff708347f239e1bc0
MD5 bf594e8a05c7c9be8e9e30a23459f4a9
BLAKE2b-256 806f9934d240475528e011848520b187a59ec06dc2914abe60c4304f62d7df94

See more details on using hashes here.

Provenance

The following attestation bundles were made for kglite_visual-0.1.0-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

0.1.1

8 files

This release

0.1.0 This release

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