Metadata-Version: 2.4
Name: pydo-while
Version: 0.1.0
Summary: A lightweight do-while loop implementation for Python
Author: Vinay Maurya
License: MIT
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# pydo-while

A lightweight implementation of a do-while loop for Python.

## Installation

```bash
pip install pydo-while
```

## Example

```python
from pydo_while import do_while

count = 0

def action():
    global count
    count += 1
    print(count)
    return count

do_while(action, lambda n: n < 5)
```

Output:

```text
1
2
3
4
5
```

## API

### do_while(action, condition)

Runs `action()` once, then continues while:

```python
condition(result)
```

returns `True`.

## Help

```python
from pydo_while import show_help

show_help()
```

## License

MIT
