locust-cloud 1.20.4.dev2__py3-none-any.whl → 1.20.5__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 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,7 +1,13 @@
1
+ `Locust Cloud <https://locust.cloud/>`_ is a hosted version of Locust that allows you to run distributed load tests without having to set up and maintain your own infrastructure.
2
+
3
+ It also allows more detailed reporting and analysis, as well as storing historical test results and tracking them over time.
4
+
1
5
  #########
2
6
  First run
3
7
  #########
4
8
 
9
+ Once you have signed up for Locust Cloud, you can run your first test in just a few minutes:
10
+
5
11
  1. Log in
6
12
 
7
13
  .. code-block:: console
@@ -1,7 +1,3 @@
1
- ########
2
- Examples
3
- ########
4
-
5
1
  Locustfile and mock server
6
2
  ==========================
7
3
 
@@ -1,15 +1,17 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: locust-cloud
3
- Version: 1.20.4.dev2
3
+ Version: 1.20.5
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: locust>=2.36.1
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
@@ -0,0 +1,18 @@
1
+ locust_cloud/__init__.py,sha256=6z2hE5rUP9WJyYgr-7XC2GhIV-05m8XxjOsnb8ae1WY,56
2
+ locust_cloud/apisession.py,sha256=gWqNADGL3H745fefm_tE1O1516OBfOhqZRlc-BgIudM,4224
3
+ locust_cloud/args.py,sha256=warMJQvUg_liowJWHS0XF400rQQ0PUigPSutfwG9BLY,7661
4
+ locust_cloud/cloud.py,sha256=LFO_Ykst0bOBYPqfxS6ll7abAvCCqyUpD3ql4nem9ys,6264
5
+ locust_cloud/common.py,sha256=GVKkWcbbqd9n8oU-fHZRVZw3jGtuIVGSCLD2ZizeEo0,1160
6
+ locust_cloud/input_events.py,sha256=MyxccgboHByICuK6VpQCCJhZQqTZAacNmkSpw-gxBEw,3420
7
+ locust_cloud/web_login.py,sha256=Byu62DKyf8NSbPdP9I2Q3lJh_lZgxjn0OZcRgnMIlXg,2555
8
+ locust_cloud/websocket.py,sha256=9Q7nTFuAwVhgW74DlJNcHTZXOQ1drsXi8hX9ciZhWlQ,8998
9
+ locust_cloud/docs/.gitignore,sha256=ghNPcjYkjQXNS_eVmu2hQFhq6FIUliAD1O2CJhulS2o,10
10
+ locust_cloud/docs/1-first-run.rst,sha256=Z34qKIxIniwCELeUmEQbNLsN7HWM5fq-a3Wc4fuapG0,1091
11
+ locust_cloud/docs/2-examples.rst,sha256=bYElk5GbDWo8ZtBwbdK1lfnySF7EZ3ycST1BYEyFid4,9537
12
+ locust_cloud/docs/locust-cloud.rst,sha256=NMfWGZdT0YPa0gPPuOcKplzBcqiEK7buPzXHOlzY5T0,98
13
+ locust_cloud/docs/images/locust-cloud-screenshot.png,sha256=ag0IxBi-40VexC84MApol1GCgRCL2h-l8NQDTMaeTyE,477350
14
+ locust_cloud-1.20.5.dist-info/METADATA,sha256=YzP49vyactP3LQMLmSY8SiH9AbX_KKTa-ZsKhQ7PpkA,644
15
+ locust_cloud-1.20.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
16
+ locust_cloud-1.20.5.dist-info/entry_points.txt,sha256=PGyAb4e3aTsGS3N3VGShDl6VzJaXy7QwsEgsLOC7V00,57
17
+ locust_cloud-1.20.5.dist-info/licenses/LICENSE,sha256=Ow6fY6ta4KIjdlWalmxGvRP8yLmetvkbkl-SdHMjPIs,1093
18
+ locust_cloud-1.20.5.dist-info/RECORD,,
@@ -1,18 +0,0 @@
1
- locust_cloud/__init__.py,sha256=9USe4yHuvpP5xrXm0dVsi08pu2l5TcjxQl6Pei8w3lk,713
2
- locust_cloud/apisession.py,sha256=gWqNADGL3H745fefm_tE1O1516OBfOhqZRlc-BgIudM,4224
3
- locust_cloud/args.py,sha256=0-VNbQgbnyDzz3UbhyaPP6HMXO0xLF-qazHS8iH3dKw,7095
4
- locust_cloud/cloud.py,sha256=LFO_Ykst0bOBYPqfxS6ll7abAvCCqyUpD3ql4nem9ys,6264
5
- locust_cloud/common.py,sha256=GVKkWcbbqd9n8oU-fHZRVZw3jGtuIVGSCLD2ZizeEo0,1160
6
- locust_cloud/input_events.py,sha256=MyxccgboHByICuK6VpQCCJhZQqTZAacNmkSpw-gxBEw,3420
7
- locust_cloud/web_login.py,sha256=Byu62DKyf8NSbPdP9I2Q3lJh_lZgxjn0OZcRgnMIlXg,2555
8
- locust_cloud/websocket.py,sha256=9Q7nTFuAwVhgW74DlJNcHTZXOQ1drsXi8hX9ciZhWlQ,8998
9
- locust_cloud/docs/.gitignore,sha256=ghNPcjYkjQXNS_eVmu2hQFhq6FIUliAD1O2CJhulS2o,10
10
- locust_cloud/docs/1-first-run.rst,sha256=dYYVxVb1RlWPNvhE98H1D_mzTJ1H2NWNn435nag3_jA,691
11
- locust_cloud/docs/2-examples.rst,sha256=RublnAK3jHRsEtbJAr1y2NEEoN0YAjkzP1np-7tJ3aE,9565
12
- locust_cloud/docs/locust-cloud.rst,sha256=NMfWGZdT0YPa0gPPuOcKplzBcqiEK7buPzXHOlzY5T0,98
13
- locust_cloud/docs/images/locust-cloud-screenshot.png,sha256=ag0IxBi-40VexC84MApol1GCgRCL2h-l8NQDTMaeTyE,477350
14
- locust_cloud-1.20.4.dev2.dist-info/METADATA,sha256=8wZEeGrbeddr2kf8XKqPrwizuM3e3zMN92L0NHirBeI,550
15
- locust_cloud-1.20.4.dev2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
16
- locust_cloud-1.20.4.dev2.dist-info/entry_points.txt,sha256=PGyAb4e3aTsGS3N3VGShDl6VzJaXy7QwsEgsLOC7V00,57
17
- locust_cloud-1.20.4.dev2.dist-info/licenses/LICENSE,sha256=Ow6fY6ta4KIjdlWalmxGvRP8yLmetvkbkl-SdHMjPIs,1093
18
- locust_cloud-1.20.4.dev2.dist-info/RECORD,,