Metadata-Version: 2.4
Name: vizy
Version: 0.1.2
Summary: Tiny tensor visualiser: vz.plot(t) / vz.save(t)
Project-URL: Repository, https://github.com/anilzeybek/vizy
Project-URL: Issues, https://github.com/anilzeybek/vizy/issues
Author: Anıl Zeybek
License-Expression: MIT
License-File: LICENSE
Keywords: matplotlib,numpy,pytorch,tensor,visualization
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
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 :: Visualization
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.8
Requires-Dist: matplotlib>=3.5.0
Requires-Dist: numpy>=1.20.0
Provides-Extra: torch
Requires-Dist: torch; extra == 'torch'
Description-Content-Type: text/markdown

# vizy

**Lightweight tensor visualizer for PyTorch and NumPy**

Display or save any tensor with a single line:

```python
import vizy

vizy.plot(tensor)               # shows image or grid
vizy.save("image.png", tensor)  # saves to file
vizy.save(tensor)               # saves to temp file and prints path
```

Supports tensors or arrays with shape like:
- `(H, W)`
- `(C, H, W)` → auto-converted to `(H, W, C)`
- `(1, 1, H, W)` → squeezed
- `(B, C, H, W)` → shown as grid

## Installation

```bash
pip install vizy
```
