gawp
A lightweight Python package that enables zoomable image viewing directly from Jupyter notebooks using a web-based interface.
Features
- Open images in a new browser tab from Jupyter notebooks
- Smooth zoom and pan functionality
- Support for common image formats (numpy, PIL, matplotlib)
Installation
Install using pip:
pip install gawp
Usage
Basic usage in a Jupyter notebook:
import gawp
# Create an image of numpy type (also works wit PIL images)
image = ski.data.coffee()
gawp.in_web(image)
or use a matplotlib figure:
import gawp
import matplotlib.pyplot as plt
import numpy as np
x = np.arange(10)
y = x*x
fig = plt.figure()
ax = plt.axes()
ax.scatter(x,y)
gawp.in_web(fig)
Development
Contributions to gawp are welcome! To contribute:
- Clone the repository
- Create a new branch for your feature
- Add your changes and tests
- Submit a pull request
Requirements
- Python 3.8+
- Jupyter Notebook or JupyterLab
- Pillow
- Numpy
- Matplotlib
- scikit-image
- webbrowser (standard library)
License
This project is licensed under the MIT License - see the LICENSE file for details.
Support
For issues, feature requests, or questions:
- Check the GitHub Issues
Metadata
Release files for gawp 2025.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gawp-2025.2.4.tar.gz | 8.1 kB | Without provenance | Details for gawp-2025.2.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gawp-2025.2.4-py3-none-any.whl | Python 3 | none | any | Details for gawp-2025.2.4-py3-none-any.whl |
Total release size: 16.7 kB
Release files / gawp-2025.2.4.tar.gz
| Download URL | gawp-2025.2.4.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
91ddd27c9848f3beb111527f23f8993346d132540a55341673eb38624e635b00
|
|
BLAKE2b-256 checksum How to use checksums |
6621bd48265af23b5810e61ca5c7ab4fcdfa0168b04fbdc9dc5d26095eed864f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Release files / gawp-2025.2.4-py3-none-any.whl
| Download URL | gawp-2025.2.4-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
417c19b1c79ab4c5d9241a46b23ef878fab513bf21b277fbfad682ff8527c1d7
|
|
BLAKE2b-256 checksum How to use checksums |
3c10d05b26cd6d963701b9a341e376f390f14a1dc24c32a54ee5e56195abeb7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Security for gawp 2025.2.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.