locust-cloud 1.0.3__py3-none-any.whl → 1.0.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
@@ -6,8 +6,6 @@ import os
6
6
  from locust import events
7
7
  from locust.argument_parser import LocustArgumentParser
8
8
 
9
- os.environ["LOCUST_BUILD_PATH"] = os.path.join(os.path.dirname(__file__), "webui/dist")
10
- os.environ["LOCUST_WEB_LOGIN"] = "1"
11
9
  PG_USER = os.environ.get("PG_USER")
12
10
  PG_HOST = os.environ.get("PG_HOST")
13
11
  PG_PASSWORD = os.environ.get("PG_PASSWORD")
@@ -40,6 +38,8 @@ def add_arguments(parser: LocustArgumentParser):
40
38
 
41
39
  @events.init.add_listener
42
40
  def on_locust_init(environment, **args):
41
+ os.environ["LOCUST_BUILD_PATH"] = os.path.join(os.path.dirname(__file__), "webui/dist")
42
+
43
43
  if environment.parsed_options.exporter:
44
44
  Timescale(
45
45
  environment,
locust_cloud/auth.py CHANGED
@@ -5,7 +5,7 @@ import requests
5
5
  from flask import redirect, request, url_for
6
6
  from flask_login import UserMixin, current_user, login_user
7
7
 
8
- LAMBDA = "http://127.0.0.1:8000/1"
8
+ LAMBDA = "https://deployer.locust.cloud/1"
9
9
 
10
10
 
11
11
  class AuthUser(UserMixin):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: locust-cloud
3
- Version: 1.0.3
3
+ Version: 1.0.5
4
4
  Summary: Locust Cloud
5
5
  Requires-Python: >=3.11
6
6
  Requires-Dist: blessed==1.20.0
@@ -20,7 +20,7 @@ Requires-Dist: idna==3.7
20
20
  Requires-Dist: inquirer==2.10.1
21
21
  Requires-Dist: jmespath==1.0.1
22
22
  Requires-Dist: kubernetes==29.0.0
23
- Requires-Dist: locust==2.31.5
23
+ Requires-Dist: locust>=2.31.5
24
24
  Requires-Dist: oauthlib==3.2.2
25
25
  Requires-Dist: packaging==24.1
26
26
  Requires-Dist: platformdirs==4.2.2
@@ -1,5 +1,5 @@
1
- locust_cloud/__init__.py,sha256=W_q58O0ggBbx3indvrbb0ec41YEroUOjeG_5JLQgt80,1516
2
- locust_cloud/auth.py,sha256=FEMjkrpHW_R_uMKPnZv1XHodkxt4R4bynrM-EghoiJs,3034
1
+ locust_cloud/__init__.py,sha256=JNMaCykjuDy6HQoqokF-nr6gZegFXZy0Le12W8HILnQ,1484
2
+ locust_cloud/auth.py,sha256=5cIhUgaENeYSe_GxNp3v7rLhB4_Pj9URFrLYYsRG-n8,3042
3
3
  locust_cloud/cloud.py,sha256=hsnLCjY_9WwgYu8uH_1p8zgPKUX-w7-ERhwuC6ErgEM,12584
4
4
  locust_cloud/timescale/exporter.py,sha256=jxLeRa_rAbzsO36mXKviOUsUyGCoS0dbd0PuvLsBUF4,11111
5
5
  locust_cloud/webui/.eslintrc,sha256=huuuTZNwbBGkhfelEOMhLQ-tgC9OYnnX0DRYgBn83Ig,1146
@@ -13,7 +13,7 @@ locust_cloud/webui/vite.config.ts,sha256=cqxPMkbwEA3H9mGGbuPulQUhIHCosUqm_1usxzs
13
13
  locust_cloud/webui/yarn.lock,sha256=yysZ-wROYB43fp1k_YC4zhLBjJKWr3_C6vKWM4rx0b4,216553
14
14
  locust_cloud/webui/dist/index.html,sha256=WiAeD-vj6jDZ1Q3-odnAPyM9hmc5pT6gvcq9YI65U9o,664
15
15
  locust_cloud/webui/dist/assets/index-CCS97q-k.js,sha256=3-KSz2kFRL7YG3rMB1dUCffEByaK7Zny5cuzxSgn5x8,2795908
16
- locust_cloud-1.0.3.dist-info/METADATA,sha256=s6iYwrXVyT3pGfRjNowJIdX6Fmozrvd6LTArOybjU3g,2162
17
- locust_cloud-1.0.3.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
18
- locust_cloud-1.0.3.dist-info/entry_points.txt,sha256=PGyAb4e3aTsGS3N3VGShDl6VzJaXy7QwsEgsLOC7V00,57
19
- locust_cloud-1.0.3.dist-info/RECORD,,
16
+ locust_cloud-1.0.5.dist-info/METADATA,sha256=BLFEOcOxxPUE377hgX5Z7LVC6suYR7rwtJVlQaF8kEI,2162
17
+ locust_cloud-1.0.5.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
18
+ locust_cloud-1.0.5.dist-info/entry_points.txt,sha256=PGyAb4e3aTsGS3N3VGShDl6VzJaXy7QwsEgsLOC7V00,57
19
+ locust_cloud-1.0.5.dist-info/RECORD,,