Skip to main content

anywidget-bloodhound

anywidget-bloodhound creates BloodHound's graph visualization for Marimo notebooks (using anywidget). It accepts the response returned by BloodHound's /api/v2/graphs/cypher endpoint and provides BloodHound's initial layout, pan, zoom, node dragging, single-node selection.

It does not guarantee Jupyter compatibility and does not include querying, authentication, search, pathfinding, context menus or pretty much anything else from the BloodHound UI.

Usage

from anywidget_bloodhound import BloodHoundGraph

graph = BloodHoundGraph(graph_response=cypher_response)
graph

You can use OpenHound's BloodHound client to run Cypher queries.

The notebook owns BloodHound API calls and error handling. Assigning graph_response replaces the current graph. The synchronized selected_node_id and derived selected_node expose selection to Python. graph.fit() resets the camera to the visible graph and graph.clear() removes the response and selection.

Run the Marimo example from a source checkout:

uv run marimo run examples/marimo_bloodhound.py

Development

uv sync
uv run pytest
uv run ruff check .
uv run ruff format --check .

npm --prefix frontend install
npm --prefix frontend run lint
npm --prefix frontend run test
npm --prefix frontend run build

Attribution

The graph renderer is derived from SpecterOps/BloodHound. BloodHound is a trademark of Specter Ops; this project is not the full BloodHound UI.

Metadata

Release files for anywidget-bloodhound 0.0.3

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

Source distribution (sdist)

Source distribution for anywidget-bloodhound 0.0.3
File Size Uploaded Provenance Actions
anywidget_bloodhound-0.0.3.tar.gz 780.5 kB Without provenance Details for anywidget_bloodhound-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for anywidget-bloodhound 0.0.3
File Interpreter ABI Platform Actions
anywidget_bloodhound-0.0.3-py3-none-any.whl Python 3 none any Details for anywidget_bloodhound-0.0.3-py3-none-any.whl

Total release size: 1.6 MB

Release files / anywidget_bloodhound-0.0.3.tar.gz

Download URL anywidget_bloodhound-0.0.3.tar.gz
Size 780.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b5395a962175ca4930ffa33d95b6a386eec880a51ccafe60edf6fd4c58246ab7
BLAKE2b-256 checksum
How to use checksums
d72cd904dbbba365300498b5bab1136deb1a5d8121f991221ec3f58ec6194eca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / anywidget_bloodhound-0.0.3-py3-none-any.whl

Download URL anywidget_bloodhound-0.0.3-py3-none-any.whl
Size 784.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dab4ac461aa8df0f709197d61d1a6c593ba9d3ca0541a752b21f40499911a4aa
BLAKE2b-256 checksum
How to use checksums
cddb8baee8c2e0dfc2204dde74b563bf888fd2c7278815b3d13a2f733101e270
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for anywidget-bloodhound 0.0.3

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.0.3 This release

2 release files No 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