Metadata-Version: 2.4
Name: syntaxmod
Version: 0.1.0
Summary: Utility helpers for timing, looping, and simple output formatting.
Author-email: Advik Mathur <pranit.advik@gmail.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/Adpros7/syntaxmod
Project-URL: Repository, https://github.com/Adpros7/syntaxmod
Project-URL: Bug Tracker, https://github.com/Adpros7/syntaxmod/issues
Keywords: utilities,timing,looping,stopwatch,timer
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Utilities
Requires-Python: >=3.13
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: dev
Requires-Dist: build>=1.0.0; extra == "dev"
Requires-Dist: pytest>=7.0; extra == "dev"
Dynamic: license-file

# SyntaxMod

Utility helpers for quick scripting tasks: looping functions, timed waits, and stopwatch/timer primitives with pause/resume support.

## Installation

```bash
pip install .
```

## Usage

```python
from syntaxmod import loop, wait, Stopwatch, Timer

loop(3, print, ["hello"])
wait(0.5)

watch = Stopwatch()
# ... do work ...
print(f"Elapsed: {watch.pause():.2f}s")

Timer(2.0, lambda: print("done"))
```

### Timer controls

```python
from syntaxmod import Timer

def callback():
    print("Timer fired!")

timer = Timer(5, callback, start=False)
timer.resume()     # start counting down
wait(2)
elapsed = timer.pause()
print(elapsed)
timer.resume()
```

## Development

```bash
python -m build
pytest
```
