Skip to main content

Interactive pixel drawing pad widget for Jupyter notebooks

Project description

#+title: Pixel Drawing Pad

Interactive pixel drawing pad widget for Jupyter notebooks.

* Installation

#+begin_src sh
uv pip install pixel-drawing-pad
#+end_src

* Usage

#+begin_src python
from pixel_drawing_pad import DrawingPad

pad = DrawingPad(pix_zoom=36)
pad # display in notebook cell

# Access the drawn data as a numpy array
data = pad.get_data()

# Manipulate
pad.rot90()
pad.fliplr()
pad.checkerboard()
pad.swap()
#+end_src

* Google Colab

Works out of the box — just =pip install pixel-drawing-pad= in a Colab cell.

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

pixel_drawing_pad-0.2.2.tar.gz (51.4 kB view details)

Uploaded Source

Built Distribution

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

pixel_drawing_pad-0.2.2-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file pixel_drawing_pad-0.2.2.tar.gz.

File metadata

  • Download URL: pixel_drawing_pad-0.2.2.tar.gz
  • Upload date:
  • Size: 51.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.13

File hashes

Hashes for pixel_drawing_pad-0.2.2.tar.gz
Algorithm Hash digest
SHA256 c294f3e0c8ab3f893aa9c5f3fa9159221b51353c344b231db8dab0f3c3d72621
MD5 af30b2ca7b1cf7e2a150e6d114ccc48b
BLAKE2b-256 1ddb376e924ce706f829e2ae66edd0a389bb733046c0ad9b9082a51bf65eb2e7

See more details on using hashes here.

File details

Details for the file pixel_drawing_pad-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pixel_drawing_pad-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 99683c8c4e44f74adc41fea76e946f9bc1059da60eaaddda1787dec4c0971f17
MD5 3c62ee65da153d72f51535f49919fe5e
BLAKE2b-256 bd2e0f6302f1cb10d7fa52452362fb9b408d39c9372982e4638e68ce94b9d478

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