# pqdm { #vscodenb.pqdm }

```python
vscodenb.pqdm(iterable=None, total=None, desc='', persist=False, **kwargs)
```

HTML progress bar for notebooks, tqdm for terminal.
Renders as thin bar matching cpu_monitor.py style.

Args:
    iterable: The iterable to iterate over.
    total: Total number of items (optional if iterable has __len__).
    desc: Description text shown next to the progress bar.
    persist: If False (default), the progress bar disappears after completion.
             If True, the progress bar remains visible in its completed state.
    **kwargs: Additional arguments passed to tqdm (terminal fallback).

Usage:
    for item in pqdm(iterable, desc="Processing"):
        process(item)