Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lumos_performance_test-0.1.0.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lumos_performance_test-0.1.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

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

Hashes for lumos_performance_test-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7fbb18905e10f000d3cf55a7d7cce4e50ae731b5eeb98c9e75b815ceeaf40982
MD5 8210f6c4868d91624eef083f3aba2c2e
BLAKE2b-256 5cce327b8e716844f07b4061536409517d3631a9b053971cb6f4a48f6cd43e2c

See more details on using hashes here.

Provenance

The following attestation bundles were made for lumos_performance_test-0.1.0.tar.gz:

Publisher: publish-pypi.yml on dsetiawan230294/lumos

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lumos_performance_test-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for lumos_performance_test-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 77c5d12f4844977508cbc226e47f773fa194deab6355c00fb77bcf0dfee0b318
MD5 45fb78dfc48d557fc8e7df814ec17d28
BLAKE2b-256 cd227c998be8cfb8cce76c88e0a7c01ea1fcfb32d321f9102b92e17cdfd291b1

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page