Simple sketching tool for Jupyter notebooks
Project description
ipysketch_lite 🎨
ipysketch_lite is a simple interactive sketching tool for Jupyter notebooks. After drawing a sketch you can use it directly in your Jupyter notebook. When changes are made to the sketch, the image data in Python is updated.
Documentation 📖
You can view the documentation at: https://matthewandretaylor.github.io/ipysketch_lite
Install 🛠️
You can install using pip:
pip install ipysketch-lite
Or using piplite if you are using Jupyter lite
import piplite
await piplite.install("ipysketch_lite")
Quickstart 🚀
Start drawing a quick sketch in your notebook like this
from ipysketch_lite import Sketch
sketch = Sketch()
Then add a new cell to retrieve the sketch data in python
sketch.data # Sketch image data as a base64 encoded string
sketch.image # PIL Image of the sketch
Sketch data gets updated in cells after the sketch is modified. This means you can edit your sketch and get the new updated outputs
Using your own drawing API 🖌️
You can extend ipysketch_lite to use your own JavaScript drawing library by subclassing Sketch and customizing the frontend template.
See the custom_sketch.ipynb notebook for an example.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ipysketch_lite-0.5.2.tar.gz.
File metadata
- Download URL: ipysketch_lite-0.5.2.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61ca49aaeb947c9c2ed8fd1a5abe27c81058a4c5a62c7d15b37f5fef999d735a
|
|
| MD5 |
e07ed72285ef8daec506e56663aa8051
|
|
| BLAKE2b-256 |
3fc92ce343777a6363149cc7b7faa1ebfaaf4f522f7f0c9dbdf7074733fdf9d4
|
Provenance
The following attestation bundles were made for ipysketch_lite-0.5.2.tar.gz:
Publisher:
python-publish.yml on MatthewAndreTaylor/ipysketch_lite
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ipysketch_lite-0.5.2.tar.gz -
Subject digest:
61ca49aaeb947c9c2ed8fd1a5abe27c81058a4c5a62c7d15b37f5fef999d735a - Sigstore transparency entry: 759921515
- Sigstore integration time:
-
Permalink:
MatthewAndreTaylor/ipysketch_lite@3a32cc1a52bdff3763ef515ba686a291bf3c9903 -
Branch / Tag:
refs/tags/0.5.2 - Owner: https://github.com/MatthewAndreTaylor
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@3a32cc1a52bdff3763ef515ba686a291bf3c9903 -
Trigger Event:
release
-
Statement type:
File details
Details for the file ipysketch_lite-0.5.2-py3-none-any.whl.
File metadata
- Download URL: ipysketch_lite-0.5.2-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6dc69b9bc7e9082f4f740ad3cd17d23030338e320a7c466d23bea1a837c2cf30
|
|
| MD5 |
405760a2ef81e2e4836f578ff58b7066
|
|
| BLAKE2b-256 |
bfcfb3a8156582fe53d684d38d3e671406176ce50e5ad2eff4ec682049b2f7ea
|
Provenance
The following attestation bundles were made for ipysketch_lite-0.5.2-py3-none-any.whl:
Publisher:
python-publish.yml on MatthewAndreTaylor/ipysketch_lite
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ipysketch_lite-0.5.2-py3-none-any.whl -
Subject digest:
6dc69b9bc7e9082f4f740ad3cd17d23030338e320a7c466d23bea1a837c2cf30 - Sigstore transparency entry: 759921520
- Sigstore integration time:
-
Permalink:
MatthewAndreTaylor/ipysketch_lite@3a32cc1a52bdff3763ef515ba686a291bf3c9903 -
Branch / Tag:
refs/tags/0.5.2 - Owner: https://github.com/MatthewAndreTaylor
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@3a32cc1a52bdff3763ef515ba686a291bf3c9903 -
Trigger Event:
release
-
Statement type: