locust-cloud 1.20.4.dev2__py3-none-any.whl → 1.20.4.dev4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- locust_cloud/__init__.py +0 -23
- locust_cloud/args.py +20 -0
- {locust_cloud-1.20.4.dev2.dist-info → locust_cloud-1.20.4.dev4.dist-info}/METADATA +4 -2
- {locust_cloud-1.20.4.dev2.dist-info → locust_cloud-1.20.4.dev4.dist-info}/RECORD +7 -7
- {locust_cloud-1.20.4.dev2.dist-info → locust_cloud-1.20.4.dev4.dist-info}/WHEEL +0 -0
- {locust_cloud-1.20.4.dev2.dist-info → locust_cloud-1.20.4.dev4.dist-info}/entry_points.txt +0 -0
- {locust_cloud-1.20.4.dev2.dist-info → locust_cloud-1.20.4.dev4.dist-info}/licenses/LICENSE +0 -0
locust_cloud/__init__.py
CHANGED
@@ -1,26 +1,3 @@
|
|
1
|
-
from locust import events
|
2
|
-
from locust_cloud.args import cloud_parser
|
3
1
|
from locust_cloud.cloud import main
|
4
2
|
|
5
3
|
__all__ = ["main"]
|
6
|
-
|
7
|
-
|
8
|
-
@events.init_command_line_parser.add_listener
|
9
|
-
def _(parser):
|
10
|
-
cloud_group = parser.add_argument_group(
|
11
|
-
"Locust Cloud",
|
12
|
-
"""Launches a distributed Locust run on locust.cloud infrastructure.
|
13
|
-
|
14
|
-
Example: locust --cloud -f my_locustfile.py --users 1000 ...""",
|
15
|
-
)
|
16
|
-
|
17
|
-
# This arguments is defined here because only makes sense when
|
18
|
-
# running from locust core
|
19
|
-
cloud_group.add_argument(
|
20
|
-
"--cloud",
|
21
|
-
action="store_true",
|
22
|
-
help="Run Locust in cloud mode.",
|
23
|
-
)
|
24
|
-
|
25
|
-
for action in cloud_parser._actions:
|
26
|
-
cloud_group._add_action(action)
|
locust_cloud/args.py
CHANGED
@@ -218,3 +218,23 @@ combined_cloud_parser.add_argument(
|
|
218
218
|
choices=["DEBUG", "INFO", "WARNING", "ERROR"],
|
219
219
|
default="INFO",
|
220
220
|
)
|
221
|
+
|
222
|
+
|
223
|
+
def add_locust_cloud_argparse(parser):
|
224
|
+
cloud_group = parser.add_argument_group(
|
225
|
+
"Locust Cloud",
|
226
|
+
"""Launches a distributed Locust run on locust.cloud infrastructure.
|
227
|
+
|
228
|
+
Example: locust --cloud -f my_locustfile.py --users 1000 ...""",
|
229
|
+
)
|
230
|
+
|
231
|
+
# This arguments is defined here because only makes sense when
|
232
|
+
# running from locust core
|
233
|
+
cloud_group.add_argument(
|
234
|
+
"--cloud",
|
235
|
+
action="store_true",
|
236
|
+
help="Run Locust in cloud mode.",
|
237
|
+
)
|
238
|
+
|
239
|
+
for action in cloud_parser._actions:
|
240
|
+
cloud_group._add_action(action)
|
@@ -1,15 +1,17 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: locust-cloud
|
3
|
-
Version: 1.20.4.
|
3
|
+
Version: 1.20.4.dev4
|
4
4
|
Summary: Locust Cloud
|
5
5
|
Project-URL: homepage, https://locust.cloud
|
6
6
|
Project-URL: repository, https://github.com/locustcloud/locust-cloud
|
7
7
|
License: MIT
|
8
8
|
License-File: LICENSE
|
9
9
|
Requires-Python: >=3.10
|
10
|
-
Requires-Dist:
|
10
|
+
Requires-Dist: configargparse>=1.5.5
|
11
|
+
Requires-Dist: gevent<25.0.0,>=24.10.1
|
11
12
|
Requires-Dist: platformdirs<5.0.0,>=4.3.6
|
12
13
|
Requires-Dist: python-socketio[client]==5.13.0
|
14
|
+
Requires-Dist: tomli>=1.1.0; python_version < '3.11'
|
13
15
|
Description-Content-Type: text/markdown
|
14
16
|
|
15
17
|
# Locust Cloud
|
@@ -1,6 +1,6 @@
|
|
1
|
-
locust_cloud/__init__.py,sha256=
|
1
|
+
locust_cloud/__init__.py,sha256=6z2hE5rUP9WJyYgr-7XC2GhIV-05m8XxjOsnb8ae1WY,56
|
2
2
|
locust_cloud/apisession.py,sha256=gWqNADGL3H745fefm_tE1O1516OBfOhqZRlc-BgIudM,4224
|
3
|
-
locust_cloud/args.py,sha256=
|
3
|
+
locust_cloud/args.py,sha256=warMJQvUg_liowJWHS0XF400rQQ0PUigPSutfwG9BLY,7661
|
4
4
|
locust_cloud/cloud.py,sha256=LFO_Ykst0bOBYPqfxS6ll7abAvCCqyUpD3ql4nem9ys,6264
|
5
5
|
locust_cloud/common.py,sha256=GVKkWcbbqd9n8oU-fHZRVZw3jGtuIVGSCLD2ZizeEo0,1160
|
6
6
|
locust_cloud/input_events.py,sha256=MyxccgboHByICuK6VpQCCJhZQqTZAacNmkSpw-gxBEw,3420
|
@@ -11,8 +11,8 @@ locust_cloud/docs/1-first-run.rst,sha256=dYYVxVb1RlWPNvhE98H1D_mzTJ1H2NWNn435nag
|
|
11
11
|
locust_cloud/docs/2-examples.rst,sha256=RublnAK3jHRsEtbJAr1y2NEEoN0YAjkzP1np-7tJ3aE,9565
|
12
12
|
locust_cloud/docs/locust-cloud.rst,sha256=NMfWGZdT0YPa0gPPuOcKplzBcqiEK7buPzXHOlzY5T0,98
|
13
13
|
locust_cloud/docs/images/locust-cloud-screenshot.png,sha256=ag0IxBi-40VexC84MApol1GCgRCL2h-l8NQDTMaeTyE,477350
|
14
|
-
locust_cloud-1.20.4.
|
15
|
-
locust_cloud-1.20.4.
|
16
|
-
locust_cloud-1.20.4.
|
17
|
-
locust_cloud-1.20.4.
|
18
|
-
locust_cloud-1.20.4.
|
14
|
+
locust_cloud-1.20.4.dev4.dist-info/METADATA,sha256=TFEEzA16BPMAtoJ3a2Fr71_ucyOCLvl7gaIRnBUQGQU,649
|
15
|
+
locust_cloud-1.20.4.dev4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
16
|
+
locust_cloud-1.20.4.dev4.dist-info/entry_points.txt,sha256=PGyAb4e3aTsGS3N3VGShDl6VzJaXy7QwsEgsLOC7V00,57
|
17
|
+
locust_cloud-1.20.4.dev4.dist-info/licenses/LICENSE,sha256=Ow6fY6ta4KIjdlWalmxGvRP8yLmetvkbkl-SdHMjPIs,1093
|
18
|
+
locust_cloud-1.20.4.dev4.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|