Skip to main content

No project description provided

Project description

PyPI version License: MIT

graphviznb

Render DOT language graphs in notebooks without installing graphviz

Installation

To install the package, run the following command in your environment:

pip install graphviznb

or with uv:

uv pip install graphviznb

Getting Started

In your notebook, run the following command:

import graphviznb

w = graphviznb.Widget()
w.source = """
digraph {
    Hello -> World
    Hello -> Name
}
"""
w
image

Render it in a Jupyter notebook

graphviznb

Render it in a JupyterLite notebook

graphviznb_jupyterlite

Render it in a marimo notebook or a marimo WebAssembly (WASM) notebook

graphviznb_marimo

Here is a basic example of a marimo WebAssembly (WASM) notebook.

Project details


Download files

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

Source Distribution

graphviznb-0.0.2.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

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

graphviznb-0.0.2-py2.py3-none-any.whl (2.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file graphviznb-0.0.2.tar.gz.

File metadata

  • Download URL: graphviznb-0.0.2.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.14

File hashes

Hashes for graphviznb-0.0.2.tar.gz
Algorithm Hash digest
SHA256 67f88ec05409d9ba6e665d2476391fb9f6c87cd905761a60d1dca521fd000edc
MD5 658ad97e3792f6a062ffba715074d56d
BLAKE2b-256 1f512304c94b6ae424551c6f00c8cd34c60c75941f5e72a13a7e8fd0f59983d7

See more details on using hashes here.

File details

Details for the file graphviznb-0.0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for graphviznb-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 eaf1cc2d5afbac3d6c81e5e6d9234f6499514c64019677a8c853e78457dc72e7
MD5 4cd0432f8916fff1a7b7a8b6a090979c
BLAKE2b-256 60ef324852c0f25399205e5c8607fafba8cb5f7b012cd2e900c6fa384fc4ca77

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page