Skip to main content

Simple sketching tool for Jupyter notebooks

Project description

ipysketch_lite 🎨

PyPI Docs Jupyterlite

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.

demo

Try it out in JupyterLite: Jupyterlite

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

example 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

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

ipysketch_lite-0.4.1.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

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

ipysketch_lite-0.4.1-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file ipysketch_lite-0.4.1.tar.gz.

File metadata

  • Download URL: ipysketch_lite-0.4.1.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ipysketch_lite-0.4.1.tar.gz
Algorithm Hash digest
SHA256 acc1880e25083c4660b37c53a043999e34f5d97f19d7cd826c3e1daeab9368d8
MD5 6d33bc3a9cd1ab6d8c30d7a8a30c49b6
BLAKE2b-256 e6d3726cdfd836f114054d312fb3fe9b6ce5a5e86b1e85aeda0ab3acc2d9fe5f

See more details on using hashes here.

Provenance

The following attestation bundles were made for ipysketch_lite-0.4.1.tar.gz:

Publisher: python-publish.yml on MatthewAndreTaylor/ipysketch_lite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ipysketch_lite-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: ipysketch_lite-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ipysketch_lite-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b6b8dc36f3d739872190b3f2374aca157911333b4f74bd8bdf460ad1095d3001
MD5 adf6e4c8b0b9cc0dbbf961a727431b94
BLAKE2b-256 8bc3beded17f39e5d1eda2614353b61d764d40d73c77f0a175e69244f252249a

See more details on using hashes here.

Provenance

The following attestation bundles were made for ipysketch_lite-0.4.1-py3-none-any.whl:

Publisher: python-publish.yml on MatthewAndreTaylor/ipysketch_lite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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