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.2.tar.gz (23.8 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.2-py3-none-any.whl (27.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: loaderup-0.1.2.tar.gz
  • Upload date:
  • Size: 23.8 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.2.tar.gz
Algorithm Hash digest
SHA256 e12daa81ce1165ea75db8b90a9235548f1c3a8cac9409369c37eb3c7f682e6d6
MD5 4bfad6bcf0ad95a1193a31e3bba930bf
BLAKE2b-256 77cc900639b2a41909f5f4aab7e1594a1a8d34dc0b2986229dd748337c9e6e04

See more details on using hashes here.

File details

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

File metadata

  • Download URL: loaderup-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 27.3 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 14da0df5648ab9b6c6986852fe75a3bdda21b10aff1fc19cbffd408144a30419
MD5 85748f309092e8da9a8aee80533f5470
BLAKE2b-256 df64edc62bae09867d666ee94d09d466cd01ab0e26d2adbed855f4a90174bd15

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