Skip to main content

Lightweight load-testing API and CLI built around FastAPI, k6, and decorator-based target registration.

Project description

LoaderUp

Lightweight load-testing API and CLI built around FastAPI, k6, and decorator-based target registration.

Requirements

  • Python >=3.12
  • uv (recommended package manager)
  • k6 (optional but recommended for real load runs)

Install

uv pip install -e .

Run API directly

python -m loader.main

Server starts on http://127.0.0.1:8000 by default.

Run via CLI

python -m loaderup.cli up --app loader.main:app --targets loader.demo_registry_target --reload

This command opens the dashboard automatically at http://127.0.0.1:8000/. Use --no-open-browser if you want to disable auto-open.

You can also use fallback-friendly forms like:

python -m loaderup.cli up --app main:app --targets demo_registry_targets --reload

Health check

curl http://127.0.0.1:8000/health

Dashboard

Open:

http://127.0.0.1:8000/

Dashboard includes:

  • live status + progress stream
  • metrics cards + quick chart bars
  • saved run history (persisted in artifacts/history/runs.jsonl)
  • React-based multi-tab control center (Run Now, Live, Registered Targets, History)

Notes

  • Registry targets are loaded when the module is imported.
  • Use /run/targets to submit explicit targets.
  • Use /run/registry to run all decorator-registered targets.

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

loaderup-0.1.3.tar.gz (27.4 kB view details)

Uploaded Source

Built Distribution

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

loaderup-0.1.3-py3-none-any.whl (30.8 kB view details)

Uploaded Python 3

File details

Details for the file loaderup-0.1.3.tar.gz.

File metadata

  • Download URL: loaderup-0.1.3.tar.gz
  • Upload date:
  • Size: 27.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for loaderup-0.1.3.tar.gz
Algorithm Hash digest
SHA256 766f1668f0be6a5fe5b9b7511825ea91a2dd46ff4fa4d5d1214b6c685b8c4244
MD5 b18984c7a720139588d458ab2af1ee01
BLAKE2b-256 a5f634a2774ff90079f0fc65cba020c0717df579a760f801f604118356d7c79d

See more details on using hashes here.

File details

Details for the file loaderup-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: loaderup-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 30.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for loaderup-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 624c020101dda76557c1db491037b432705401944f644fb6bb24b8142e9d550b
MD5 def61f3ae774a647afb61a6ce6cdb7e4
BLAKE2b-256 cf73dfa1ed51df11186063e0c536f5c34c412e464c0054d935e029fff70edb94

See more details on using hashes here.

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