Metadata-Version: 2.4
Name: pixel-drawing-pad
Version: 0.2.2
Summary: Interactive pixel drawing pad widget for Jupyter notebooks
Project-URL: Homepage, https://github.com/nikadon/pixel-drawig-pad
Project-URL: Repository, https://github.com/nikadon/pixel-drawig-pad
Project-URL: Issues, https://github.com/nikadon/pixel-drawig-pad/issues
Author: JN, KR
License-Expression: GPL-3.0-or-later
Keywords: drawing,jupyter,machine-learning,mnist,pixel,widget
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: Jupyter
Classifier: Framework :: Jupyter :: JupyterLab
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Scientific/Engineering :: Visualization
Requires-Python: >=3.10
Requires-Dist: anywidget>=0.9.0
Requires-Dist: numpy>=1.24.0
Provides-Extra: dev
Requires-Dist: pytest-cov>=5.0; extra == 'dev'
Requires-Dist: pytest>=8.0; extra == 'dev'
Requires-Dist: ruff>=0.4.0; extra == 'dev'
Description-Content-Type: text/plain

#+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.
