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.0.tar.gz (23.1 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.0-py3-none-any.whl (27.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: loaderup-0.1.0.tar.gz
  • Upload date:
  • Size: 23.1 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.0.tar.gz
Algorithm Hash digest
SHA256 8a34e160af604050333624caaea8049dc0a1c2ab877bacbca8c838fdaa6d5dba
MD5 9a5081c67b5da415730db18ee4ccaf91
BLAKE2b-256 95ac9d7b1bcd1baa157e8940ce1473f7515a10b5696a3fa56b8ba1448274b6ed

See more details on using hashes here.

File details

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

File metadata

  • Download URL: loaderup-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 27.0 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bc95e7e4ba0caadc1da1859d30adb9e9d5ad6727033c4fd77773ee53f88a13c2
MD5 39cbf1fb84de1eaae8e07594d3c70b79
BLAKE2b-256 bab4d1afce60447912ebe2d07eeabf90498263e4bac31594fbbf1d35201b8d23

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