Python helper for authoring Lumos mobile benchmark scenarios
Project description
lumos-py
Python helper for authoring Lumos mobile benchmark scenarios.
pip install lumos-py
Usage
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lumos_performance_test-0.1.0.tar.gz.
File metadata
- Download URL: lumos_performance_test-0.1.0.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7fbb18905e10f000d3cf55a7d7cce4e50ae731b5eeb98c9e75b815ceeaf40982
|
|
| MD5 |
8210f6c4868d91624eef083f3aba2c2e
|
|
| BLAKE2b-256 |
5cce327b8e716844f07b4061536409517d3631a9b053971cb6f4a48f6cd43e2c
|
Provenance
The following attestation bundles were made for lumos_performance_test-0.1.0.tar.gz:
Publisher:
publish-pypi.yml on dsetiawan230294/lumos
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lumos_performance_test-0.1.0.tar.gz -
Subject digest:
7fbb18905e10f000d3cf55a7d7cce4e50ae731b5eeb98c9e75b815ceeaf40982 - Sigstore transparency entry: 1628806997
- Sigstore integration time:
-
Permalink:
dsetiawan230294/lumos@b05119a7d54dbed3119e2299c8716b359dcd77bb -
Branch / Tag:
refs/heads/main - Owner: https://github.com/dsetiawan230294
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@b05119a7d54dbed3119e2299c8716b359dcd77bb -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file lumos_performance_test-0.1.0-py3-none-any.whl.
File metadata
- Download URL: lumos_performance_test-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77c5d12f4844977508cbc226e47f773fa194deab6355c00fb77bcf0dfee0b318
|
|
| MD5 |
45fb78dfc48d557fc8e7df814ec17d28
|
|
| BLAKE2b-256 |
cd227c998be8cfb8cce76c88e0a7c01ea1fcfb32d321f9102b92e17cdfd291b1
|
Provenance
The following attestation bundles were made for lumos_performance_test-0.1.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on dsetiawan230294/lumos
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lumos_performance_test-0.1.0-py3-none-any.whl -
Subject digest:
77c5d12f4844977508cbc226e47f773fa194deab6355c00fb77bcf0dfee0b318 - Sigstore transparency entry: 1628807049
- Sigstore integration time:
-
Permalink:
dsetiawan230294/lumos@b05119a7d54dbed3119e2299c8716b359dcd77bb -
Branch / Tag:
refs/heads/main - Owner: https://github.com/dsetiawan230294
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@b05119a7d54dbed3119e2299c8716b359dcd77bb -
Trigger Event:
workflow_dispatch
-
Statement type: