pkg.soopen package index

brew / 排名 1755

使用 Homebrew, apt 安装 locust

查看 locust 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install locust

local Homebrew formula metadata

Linux

Debian apt已验证 · 92%
sudo apt install python3-locust

Debian stable package indexes · python3-locust · 来源: deb.debian.org

概览

软件包摘要

Scalable user load testing tool written in Python

命令和别名

  • locust

历史

项目历史与用法

Locust is an open source load-testing framework that lets users write test scenarios in Python code and run them from a CLI and web UI. It became a major package in performance-testing workflows because it replaces click-built test plans with ordinary code and scalable distributed execution.

项目历史

Locust's official history page says it was created out of frustration with existing tools such as Apache JMeter and Tsung. The objection was both ergonomic and architectural: graphical point-and-click test design made complex scenarios hard to maintain, and thread-bound approaches limited concurrency.

The project was created in 2011 by Carl Bystrom and Jonatan Heyman while they were working on Battlelog, the companion app for Battlefield 3. That origin explains Locust's emphasis on simulating many concurrent users while keeping test behavior programmable.

The official repository describes Locust as an open source performance/load testing tool for HTTP and other protocols, with tests defined in regular Python code. Its docs grew to cover configuration files, distributed load generation, Docker, headless operation, web UI customization, and hosted load testing.

采用历史

Locust adoption spread among Python teams and service developers who wanted load tests in the same language and version-control workflow as application code. The official Locust Cloud retrospective describes the project as reaching thirteen years and tens of millions of downloads, indicating broad use beyond its original game-service context.

The 1.0 release was a significant API cleanup: the changelog documents renaming `Locust` and `HttpLocust` classes to `User` and `HttpUser`, changing client-count terminology to users, and enabling task declarations directly on User classes. Later 2.x releases continued that modernization while preserving the package's code-first model.

使用方式

A normal Locust project defines user behavior in a Python locustfile, then runs `locust` to open the web UI or uses headless command-line options in CI. The configuration docs list CLI flags, environment variables, and config-file keys for the same settings.

Locust looks for `~/.locust.conf`, `./locust.conf`, and `./pyproject.toml` by default, with `--config` available for an additional file. No official credentials file is documented for the open source CLI.

为什么软件包爱好者会关心

Locust is important to package nerds because it is a Python CLI that is also a test framework, a web application, and a distributed worker system. Packaging has to account for Python versions, transitive networking dependencies, and executable entry points.

It is also culturally important as a counterpoint to GUI-first load-testing tools: install a package, commit a locustfile, and scale from a local smoke test to distributed load generation.

时间线

  • 2011: Locust was created by Carl Bystrom and Jonatan Heyman during Battlelog development.
  • 2014: Locust 0.7-era changes updated major dependencies such as requests and gevent.
  • 2020: Locust 1.0 introduced breaking API changes including `User` and `HttpUser` class names.
  • 2021: Locust 2.0 refined distributed user control and other APIs.
  • 2024: Locust maintainers described the project as thirteen years old with more than 60 million downloads.

Related projects

  • Apache JMeter and Tsung are explicitly named in Locust's official history as prior tools the authors had used.
  • k6, Gatling, Artillery, wrk, Vegeta, and ApacheBench occupy adjacent load-testing niches with different languages and execution models.

安全态势

尚未找到受保护工具覆盖

没有找到 locust 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.locust.conf./locust.conf./pyproject.toml

可执行文件

已安装的可执行文件

命令类型暴露范围备注
locust可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本2.46.3
管理器更新时间2026-08-02
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:locust
版本2.46.3
软件包管理器Homebrew
主页https://locust.io/
最后更新2026-08-02T12:46:59Z
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

python3-locust 2.24.0-1

Developer friendly load testing framework

https://locust.io/

sudo apt install python3-locust
  • Section: python
  • Architecture: all
  • Source Package: locust
  • 15 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Locust
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-locust from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

python3-locust 2.24.0-1

Developer friendly load testing framework

https://locust.io/

sudo apt install python3-locust
  • Section: universe/python
  • Architecture: all
  • Source Package: locust
  • 15 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Locust
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-locust from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation