locust-cloud
Locust Cloud
What it is and what it does
Locust Cloud is a Python client for the Locust Cloud load-testing service. It abstracts away the complexity of setting up and coordinating distributed load tests by providing a library interface to the cloud-hosted testing platform. The package depends on gevent for concurrent request handling, python-socketio and python-engineio for real-time communication with the cloud backend, and configargparse for configuration management.
You install it to programmatically define and execute load tests against web applications without managing your own test infrastructure. It's intended for teams that want to run load tests at scale but prefer not to host and maintain their own Locust coordinator and worker nodes.
Use it for:
- Run distributed load tests against a staging or production API without provisioning your own test infrastructure
- Integrate load testing into CI/CD pipelines via the Locust Cloud API client
- Coordinate concurrent load generation across multiple geographic regions or test scenarios
- Monitor application performance under sustained or spike load patterns in real time
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Locust Cloud is a client library for running distributed load tests against web applications via the Locust Cloud service, using gevent-based concurrency and WebSocket communication.
Yes, if you have a Locust Cloud account and want a Python client to drive tests programmatically. The low install friction and permissive license make adoption straightforward. However, the aging maintenance status and lack of public documentation in the fact sheet suggest you should verify current support and feature stability before committing to production use.
Install
locust-cloud on PyPI
pip
pip install locust-clouduv
uv add locust-cloudpoetry
poetry add locust-cloudInstalling locust-cloud
Before you install
Low install friction with a pure-Python wheel and six runtime dependencies. Maintenance status is aging—last commit was 2026-01-03 and the package has been released for about a year, so expect slower response to issues.
License in practice
MIT license is permissive; you can use this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install locust-cloud
import locust_cloud
# Configure and connect to Locust Cloud service via the client library
Requires Python 3.10 or later; also requires network access to the Locust Cloud service.
Verify before relying
- What specific load-testing scenarios or workload patterns this client is optimized for
- Whether this is a standalone tool or requires a separate Locust Cloud account/subscription
- Performance characteristics and scalability limits when running distributed tests
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 6 — configargparse, gevent, platformdirs, python-engineio, python-socketio, tomli |
| Maintenance | aging — 242 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,748,437/month — #2,907 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: locust_cloud-1.30.0-py3-none-any.whl
Tags
More Testing packages
Pluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
virtualenvvirtualenv creates isolated Python environments…
permissive · top 100 on PyPI
coverageCoverage.py measures which lines of Python code…
permissive · top 1,000 on PyPI
pytest-asynciopytest-asyncio is a pytest plugin that enables…
permissive · top 1,000 on PyPI
pytest-json-ctrfA pytest plugin that generates test reports in…
permissive · top 1,000 on PyPI
locustLocust is a Python-based load testing framework…
permissive · top 5,000 on PyPI
locust-pluginsExtends Locust with plugins for load testing…
permissive · top 5,000 on PyPI
bztTaurus is a command-line wrapper that…
permissive · top 5,000 on PyPI
watchdog-geventProvides a gevent-based file system event…
unclear · top 15,000 on PyPI
websocketProvides WebSocket protocol support for…
permissive · top 15,000 on PyPI
gevent-websocketProvides WebSocket support for gevent-based…
unclear · top 5,000 on PyPI
tornadoTornado is a Python web framework and…
permissive · top 1,000 on PyPI
geventhttpclientA concurrent HTTP client for gevent that…
permissive · top 5,000 on PyPI
azure-cli-coreProvides the core Python library and CLI…
permissive · top 5,000 on PyPI
SparkSpark is an async-first actor framework for…
permissive · top 15,000 on PyPI