Skip to main content

IPyDrawio Widgets

docs binder-badge install from pypi install from conda-forge build coverage

The kernel-side classes for ipydrawio.

This package is useful in situations where your JupyterLab client is configured in another environment than the kernel that might create widgets.

See the main project repo for more information.

Installation

Note: Usually, you'll want the entire ipydrawio suite, replacing ipydrawio-widgets with ipydrawio!

To install just the kernel-side widgets (without any of the front end assets):

pip install ipydrawio-widgets  # or...
mamba install -c conda-forge ipydrawio-widgets  # or...
conda install -c conda-forge ipydrawio-widgets

Usage

Display a basic diagram:

from ipydrawio_widgets import Diagram

diagram = Diagram()
diagram

Update the XML source:

from pathlib import Path
diagram.source.value = Path("a-drawio.dio").read_text()

The .source.value will always contain the up-to-date XML.

For more, see the documentation

Open Source

This work is licensed under the Apache-2.0 License.

Copyright 2023 ipydrawio contributors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Metadata

Release files for ipydrawio-widgets 1.3.0

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

Source distribution (sdist)

Source distribution for ipydrawio-widgets 1.3.0
File Size Uploaded
ipydrawio-widgets-1.3.0.tar.gz 19.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ipydrawio-widgets 1.3.0
File Interpreter ABI Platform
ipydrawio_widgets-1.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 39.9 kB

Release files / ipydrawio-widgets-1.3.0.tar.gz

Download URL ipydrawio-widgets-1.3.0.tar.gz
Size 19.5 kB
Tags Source
SHA-256 checksum
How to use checksums
dc700d4a6165b2e99a81a4ff7ba2a4f0b16c3b73e2061b7e0c2a89cd218852ff
BLAKE2b-256 checksum
How to use checksums
f549416dbc6b6f80c7f65e600915238c624bc1731f085bea93077988e00bd610
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / ipydrawio_widgets-1.3.0-py3-none-any.whl

Download URL ipydrawio_widgets-1.3.0-py3-none-any.whl
Size 20.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
564a20254cac48ab21ee5842aaf9caebc8db825ec7f2b9d74182d0c396c15bfe
BLAKE2b-256 checksum
How to use checksums
fc8da16f0dcd24640757fb595ff15cac792273528df70914b80f6aa162bc8bb9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

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