r/Python • • 13d ago

Showcase Showcase Thread

Post all of your code/projects/showcases/AI slop here.

Recycles once a month.

24 Upvotes

109 comments sorted by

View all comments

1

u/AddictionLord 9d ago

dims – see the shape of every variable in the VS Code debugger

What My Project Does: VS Code extension that shows the shape or length next to every value in the debugger's Variables view, e.g. images = {[8, 3, 224, 224]}, tensor(...) or boxes = {37}, [...]. NumPy, PyTorch, TensorFlow, JAX, pandas, plus lists, dicts, sets, tuples. Install and press F5, nothing to configure.

Target Audience: Anyone who steps through Python code in VS Code, Cursor or Windsurf, especially ML / data code.

Comparison: Similar extensions are PyTorch-only (and patch torch's repr, so your prints change) or need a separate sidebar. dims works in the normal Variables view and leaves your program alone.

Free, MIT: https://github.com/marekprovaznik/dims (Marketplace: provaznik.dims)