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.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 anywidget-bloodhound 0.0.1
File Size Uploaded Provenance Actions
anywidget_bloodhound-0.0.1.tar.gz 780.5 kB Without provenance Details for anywidget_bloodhound-0.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 1.6 MB

Release files / anywidget_bloodhound-0.0.1.tar.gz

Download URL anywidget_bloodhound-0.0.1.tar.gz
Size 780.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f76e555905945c5750e58b997edb31ad377063d3b2eb93b7633ff8a0d6a483f3
BLAKE2b-256 checksum
How to use checksums
37cbb1e5c888761b890b40c5257ccc83c07150105d878f0af63caf6fc9b8a328
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","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.1-py3-none-any.whl

Download URL anywidget_bloodhound-0.0.1-py3-none-any.whl
Size 784.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
08898cd6c6994a18a414bc4e1b9b1345a9b3293a0b115c4a202d78f4cfd48044
BLAKE2b-256 checksum
How to use checksums
161298a961e6fd27cc97de0f964bd6aaf6de56db121ed7be92e59289dee4898f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","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.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.

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.1 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