#+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.
Metadata
Release files for pixel-drawing-pad 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pixel_drawing_pad-0.2.2.tar.gz | 51.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pixel_drawing_pad-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 57.4 kB
Release files / pixel_drawing_pad-0.2.2.tar.gz
| Download URL | pixel_drawing_pad-0.2.2.tar.gz |
|---|---|
| Size | 51.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c294f3e0c8ab3f893aa9c5f3fa9159221b51353c344b231db8dab0f3c3d72621
|
|
BLAKE2b-256 checksum How to use checksums |
1ddb376e924ce706f829e2ae66edd0a389bb733046c0ad9b9082a51bf65eb2e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.13
|
Release files / pixel_drawing_pad-0.2.2-py3-none-any.whl
| Download URL | pixel_drawing_pad-0.2.2-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
99683c8c4e44f74adc41fea76e946f9bc1059da60eaaddda1787dec4c0971f17
|
|
BLAKE2b-256 checksum How to use checksums |
bd2e0f6302f1cb10d7fa52452362fb9b408d39c9372982e4638e68ce94b9d478
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.13
|