Metadata-Version: 2.4
Name: lumos-performance-test
Version: 0.1.0
Summary: Python helper for authoring Lumos mobile benchmark scenarios
Author: Lumos contributors
License: MIT
Project-URL: Homepage, https://github.com/dsetiawan230294/lumos
Project-URL: Repository, https://github.com/dsetiawan230294/lumos
Project-URL: Issues, https://github.com/dsetiawan230294/lumos/issues
Keywords: mobile,benchmark,performance,android,ios,appium
Classifier: Programming Language :: Python :: 3
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: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Testing
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Provides-Extra: appium
Requires-Dist: Appium-Python-Client>=3.0; extra == "appium"

# lumos-py

Python helper for authoring [Lumos](https://github.com/dsetiawan230294/lumos) mobile benchmark scenarios.

```bash
pip install lumos-py
```

## Usage

```python
from lumos import Device, mark_start, mark_end, log

device = Device.from_env()

def setup(d):
    log("info", f"setting up on {d.id} ({d.platform})")

def run(d, iteration: int):
    mark_start("scroll")
    # ... drive the app via Appium / uiautomator2 / XCUITest ...
    mark_end("scroll")

def teardown(d):
    pass
```

You don't have to install this package if you only use the Lumos CLI — the CLI
ships a vendored copy and auto-injects it into `PYTHONPATH` when needed. Install
from PyPI when you want a pinned, type-checkable dependency in CI.
