mite 2.6.2__tar.gz → 2.6.4__tar.gz

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.
Files changed (102) hide show
  1. {mite-2.6.2 → mite-2.6.4}/PKG-INFO +11 -53
  2. {mite-2.6.2 → mite-2.6.4}/mite/_version.py +2 -2
  3. {mite-2.6.2 → mite-2.6.4}/pyproject.toml +20 -59
  4. {mite-2.6.2 → mite-2.6.4}/.dockerignore +0 -0
  5. {mite-2.6.2 → mite-2.6.4}/.gitignore +0 -0
  6. {mite-2.6.2 → mite-2.6.4}/.isort.cfg +0 -0
  7. {mite-2.6.2 → mite-2.6.4}/.pre-commit-config.yaml +0 -0
  8. {mite-2.6.2 → mite-2.6.4}/.travis.yml +0 -0
  9. {mite-2.6.2 → mite-2.6.4}/CODE_OF_CONDUCT.md +0 -0
  10. {mite-2.6.2 → mite-2.6.4}/CONTRIBUTING.md +0 -0
  11. {mite-2.6.2 → mite-2.6.4}/DEV.md +0 -0
  12. {mite-2.6.2 → mite-2.6.4}/Dockerfile +0 -0
  13. {mite-2.6.2 → mite-2.6.4}/LICENSE +0 -0
  14. {mite-2.6.2 → mite-2.6.4}/MANIFEST.in +0 -0
  15. {mite-2.6.2 → mite-2.6.4}/README.md +0 -0
  16. {mite-2.6.2 → mite-2.6.4}/cd-scripts/cdBuild-old.sh +0 -0
  17. {mite-2.6.2 → mite-2.6.4}/cd-scripts/cdBuild.sh +0 -0
  18. {mite-2.6.2 → mite-2.6.4}/cd-scripts/cdTagRelease.py +0 -0
  19. {mite-2.6.2 → mite-2.6.4}/cd-scripts/lib.sh +0 -0
  20. {mite-2.6.2 → mite-2.6.4}/cd-scripts/manualRelease.sh +0 -0
  21. {mite-2.6.2 → mite-2.6.4}/cd.yml +0 -0
  22. {mite-2.6.2 → mite-2.6.4}/docker_compose.yml +0 -0
  23. {mite-2.6.2 → mite-2.6.4}/docker_compose_monitoring.yml +0 -0
  24. {mite-2.6.2 → mite-2.6.4}/grafana/Dockerfile +0 -0
  25. {mite-2.6.2 → mite-2.6.4}/grafana/config.ini +0 -0
  26. {mite-2.6.2 → mite-2.6.4}/grafana/provisioning/dashboards/dashboards.yml +0 -0
  27. {mite-2.6.2 → mite-2.6.4}/grafana/provisioning/dashboards/grafana_dashboard_template.json +0 -0
  28. {mite-2.6.2 → mite-2.6.4}/grafana/provisioning/dashboards/mite_docker.json +0 -0
  29. {mite-2.6.2 → mite-2.6.4}/grafana/provisioning/datasources/datasources.yml +0 -0
  30. {mite-2.6.2 → mite-2.6.4}/local/Makefile +0 -0
  31. {mite-2.6.2 → mite-2.6.4}/local/README.md +0 -0
  32. {mite-2.6.2 → mite-2.6.4}/local/demo.py +0 -0
  33. {mite-2.6.2 → mite-2.6.4}/local/run_mite.sh +0 -0
  34. {mite-2.6.2 → mite-2.6.4}/mite/__init__.py +0 -0
  35. {mite-2.6.2 → mite-2.6.4}/mite/__main__.py +0 -0
  36. {mite-2.6.2 → mite-2.6.4}/mite/cli/__init__.py +0 -0
  37. {mite-2.6.2 → mite-2.6.4}/mite/cli/cat.py +0 -0
  38. {mite-2.6.2 → mite-2.6.4}/mite/cli/collector.py +0 -0
  39. {mite-2.6.2 → mite-2.6.4}/mite/cli/common.py +0 -0
  40. {mite-2.6.2 → mite-2.6.4}/mite/cli/duplicator.py +0 -0
  41. {mite-2.6.2 → mite-2.6.4}/mite/cli/receiver.py +0 -0
  42. {mite-2.6.2 → mite-2.6.4}/mite/cli/stats.py +0 -0
  43. {mite-2.6.2 → mite-2.6.4}/mite/cli/test.py +0 -0
  44. {mite-2.6.2 → mite-2.6.4}/mite/collector.py +0 -0
  45. {mite-2.6.2 → mite-2.6.4}/mite/config.py +0 -0
  46. {mite-2.6.2 → mite-2.6.4}/mite/context.py +0 -0
  47. {mite-2.6.2 → mite-2.6.4}/mite/controller.py +0 -0
  48. {mite-2.6.2 → mite-2.6.4}/mite/datapools.py +0 -0
  49. {mite-2.6.2 → mite-2.6.4}/mite/example.py +0 -0
  50. {mite-2.6.2 → mite-2.6.4}/mite/exceptions.py +0 -0
  51. {mite-2.6.2 → mite-2.6.4}/mite/har_to_mite.py +0 -0
  52. {mite-2.6.2 → mite-2.6.4}/mite/logoutput.py +0 -0
  53. {mite-2.6.2 → mite-2.6.4}/mite/nanomsg.py +0 -0
  54. {mite-2.6.2 → mite-2.6.4}/mite/recorder.py +0 -0
  55. {mite-2.6.2 → mite-2.6.4}/mite/runner.py +0 -0
  56. {mite-2.6.2 → mite-2.6.4}/mite/s3datapools.py +0 -0
  57. {mite-2.6.2 → mite-2.6.4}/mite/scenario.py +0 -0
  58. {mite-2.6.2 → mite-2.6.4}/mite/stats.py +0 -0
  59. {mite-2.6.2 → mite-2.6.4}/mite/test.py +0 -0
  60. {mite-2.6.2 → mite-2.6.4}/mite/utils.py +0 -0
  61. {mite-2.6.2 → mite-2.6.4}/mite/volume_model.py +0 -0
  62. {mite-2.6.2 → mite-2.6.4}/mite/web/__init__.py +0 -0
  63. {mite-2.6.2 → mite-2.6.4}/mite/web/prometheus.py +0 -0
  64. {mite-2.6.2 → mite-2.6.4}/mite/zmq.py +0 -0
  65. {mite-2.6.2 → mite-2.6.4}/mite_amqp/__init__.py +0 -0
  66. {mite-2.6.2 → mite-2.6.4}/mite_browser/__init__.py +0 -0
  67. {mite-2.6.2 → mite-2.6.4}/mite_db_datapool/README.md +0 -0
  68. {mite-2.6.2 → mite-2.6.4}/mite_db_datapool/__init__.py +0 -0
  69. {mite-2.6.2 → mite-2.6.4}/mite_db_datapool/db_to_pool.py +0 -0
  70. {mite-2.6.2 → mite-2.6.4}/mite_db_datapool/mite_db_example.py +0 -0
  71. {mite-2.6.2 → mite-2.6.4}/mite_finagle/README.md +0 -0
  72. {mite-2.6.2 → mite-2.6.4}/mite_finagle/__init__.py +0 -0
  73. {mite-2.6.2 → mite-2.6.4}/mite_finagle/mux.py +0 -0
  74. {mite-2.6.2 → mite-2.6.4}/mite_finagle/stats.py +0 -0
  75. {mite-2.6.2 → mite-2.6.4}/mite_finagle/tests/__init__.py +0 -0
  76. {mite-2.6.2 → mite-2.6.4}/mite_finagle/tests/conftest.py +0 -0
  77. {mite-2.6.2 → mite-2.6.4}/mite_finagle/tests/foo_service/Foo-remote +0 -0
  78. {mite-2.6.2 → mite-2.6.4}/mite_finagle/tests/foo_service/Foo.py +0 -0
  79. {mite-2.6.2 → mite-2.6.4}/mite_finagle/tests/foo_service/__init__.py +0 -0
  80. {mite-2.6.2 → mite-2.6.4}/mite_finagle/tests/foo_service/constants.py +0 -0
  81. {mite-2.6.2 → mite-2.6.4}/mite_finagle/tests/foo_service/ttypes.py +0 -0
  82. {mite-2.6.2 → mite-2.6.4}/mite_finagle/tests/foo_service.thrift +0 -0
  83. {mite-2.6.2 → mite-2.6.4}/mite_finagle/tests/test_integration.py +0 -0
  84. {mite-2.6.2 → mite-2.6.4}/mite_finagle/tests/test_mux.py +0 -0
  85. {mite-2.6.2 → mite-2.6.4}/mite_finagle/tests/test_thrift.py +0 -0
  86. {mite-2.6.2 → mite-2.6.4}/mite_finagle/thrift.py +0 -0
  87. {mite-2.6.2 → mite-2.6.4}/mite_http/__init__.py +0 -0
  88. {mite-2.6.2 → mite-2.6.4}/mite_http/stats.py +0 -0
  89. {mite-2.6.2 → mite-2.6.4}/mite_kafka/__init__.py +0 -0
  90. {mite-2.6.2 → mite-2.6.4}/mite_kafka/mite_kafka_example.py +0 -0
  91. {mite-2.6.2 → mite-2.6.4}/mite_kafka/stats.py +0 -0
  92. {mite-2.6.2 → mite-2.6.4}/mite_playwright/README.md +0 -0
  93. {mite-2.6.2 → mite-2.6.4}/mite_playwright/__init__.py +0 -0
  94. {mite-2.6.2 → mite-2.6.4}/mite_playwright/mite_playwright_example.py +0 -0
  95. {mite-2.6.2 → mite-2.6.4}/mite_playwright/stats.py +0 -0
  96. {mite-2.6.2 → mite-2.6.4}/mite_selenium/__init__.py +0 -0
  97. {mite-2.6.2 → mite-2.6.4}/mite_selenium/stats.py +0 -0
  98. {mite-2.6.2 → mite-2.6.4}/mite_websocket/__init__.py +0 -0
  99. {mite-2.6.2 → mite-2.6.4}/prometheus/Dockerfile +0 -0
  100. {mite-2.6.2 → mite-2.6.4}/prometheus/prometheus_config_docker.yml +0 -0
  101. {mite-2.6.2 → mite-2.6.4}/prometheus/prometheus_config_template.yml +0 -0
  102. {mite-2.6.2 → mite-2.6.4}/test.har +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mite
3
- Version: 2.6.2
3
+ Version: 2.6.4
4
4
  Summary: A Python Performance Testing Framework
5
5
  Project-URL: Homepage, https://github.com/sky-uk/mite/
6
6
  Project-URL: Documentation, https://sky-uk.github.io/mite/
@@ -16,34 +16,24 @@ Classifier: Programming Language :: Python :: 3.10
16
16
  Classifier: Programming Language :: Python :: 3.11
17
17
  Requires-Python: <3.12,>=3.10
18
18
  Requires-Dist: acurl
19
+ Requires-Dist: aio-pika
20
+ Requires-Dist: aiokafka
21
+ Requires-Dist: boto3
22
+ Requires-Dist: bs4
19
23
  Requires-Dist: docopt
20
24
  Requires-Dist: flask
25
+ Requires-Dist: jinja2
21
26
  Requires-Dist: msgpack
22
27
  Requires-Dist: nanomsg
23
28
  Requires-Dist: prettytable
24
29
  Requires-Dist: pyzmq
30
+ Requires-Dist: selenium-wire==4.6.5
31
+ Requires-Dist: selenium<4
32
+ Requires-Dist: sqlalchemy
33
+ Requires-Dist: thrift
25
34
  Requires-Dist: ujson
26
35
  Requires-Dist: uvloop==0.21.0
27
- Provides-Extra: all
28
- Requires-Dist: acurl; extra == 'all'
29
- Requires-Dist: aio-pika; extra == 'all'
30
- Requires-Dist: aiokafka; extra == 'all'
31
- Requires-Dist: boto3; extra == 'all'
32
- Requires-Dist: bs4; extra == 'all'
33
- Requires-Dist: jinja2; extra == 'all'
34
- Requires-Dist: selenium-wire==4.6.5; extra == 'all'
35
- Requires-Dist: selenium<4; extra == 'all'
36
- Requires-Dist: sqlalchemy; extra == 'all'
37
- Requires-Dist: thrift; extra == 'all'
38
- Requires-Dist: ujson; extra == 'all'
39
- Requires-Dist: uvloop==0.21.0; extra == 'all'
40
- Requires-Dist: websockets; extra == 'all'
41
- Provides-Extra: amqp
42
- Requires-Dist: aio-pika; extra == 'amqp'
43
- Provides-Extra: browser
44
- Requires-Dist: bs4; extra == 'browser'
45
- Provides-Extra: database
46
- Requires-Dist: sqlalchemy; extra == 'database'
36
+ Requires-Dist: websockets
47
37
  Provides-Extra: dev
48
38
  Requires-Dist: cython<3.0; extra == 'dev'
49
39
  Requires-Dist: httpbin>=0.10.2; extra == 'dev'
@@ -55,38 +45,6 @@ Requires-Dist: pytest-httpbin; extra == 'dev'
55
45
  Requires-Dist: pytest-httpserver; extra == 'dev'
56
46
  Requires-Dist: ruff>=0.1.0; extra == 'dev'
57
47
  Requires-Dist: werkzeug==3.1.3; extra == 'dev'
58
- Provides-Extra: finagle
59
- Requires-Dist: thrift; extra == 'finagle'
60
- Provides-Extra: har
61
- Requires-Dist: jinja2; extra == 'har'
62
- Provides-Extra: http
63
- Requires-Dist: acurl; extra == 'http'
64
- Provides-Extra: kafka
65
- Requires-Dist: aiokafka; extra == 'kafka'
66
- Provides-Extra: playwright
67
- Requires-Dist: playwright; extra == 'playwright'
68
- Provides-Extra: s3datapools
69
- Requires-Dist: boto3; extra == 's3datapools'
70
- Provides-Extra: selenium
71
- Requires-Dist: selenium<4; extra == 'selenium'
72
- Provides-Extra: selenium-wire
73
- Requires-Dist: selenium-wire==4.6.5; extra == 'selenium-wire'
74
- Provides-Extra: test
75
- Requires-Dist: acurl; extra == 'test'
76
- Requires-Dist: aio-pika; extra == 'test'
77
- Requires-Dist: aiokafka; extra == 'test'
78
- Requires-Dist: boto3; extra == 'test'
79
- Requires-Dist: bs4; extra == 'test'
80
- Requires-Dist: jinja2; extra == 'test'
81
- Requires-Dist: selenium-wire==4.6.5; extra == 'test'
82
- Requires-Dist: selenium<4; extra == 'test'
83
- Requires-Dist: sqlalchemy; extra == 'test'
84
- Requires-Dist: thrift; extra == 'test'
85
- Requires-Dist: ujson; extra == 'test'
86
- Requires-Dist: uvloop==0.21.0; extra == 'test'
87
- Requires-Dist: websockets; extra == 'test'
88
- Provides-Extra: websocket
89
- Requires-Dist: websockets; extra == 'websocket'
90
48
  Description-Content-Type: text/markdown
91
49
 
92
50
  # Mite
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
28
28
  commit_id: COMMIT_ID
29
29
  __commit_id__: COMMIT_ID
30
30
 
31
- __version__ = version = '2.6.2'
32
- __version_tuple__ = version_tuple = (2, 6, 2)
31
+ __version__ = version = '2.6.4'
32
+ __version_tuple__ = version_tuple = (2, 6, 4)
33
33
 
34
34
  __commit_id__ = commit_id = None
@@ -20,69 +20,21 @@ classifiers = [
20
20
  "Operating System :: POSIX :: Linux",
21
21
  ]
22
22
  # Core dependencies for the base mite framework (runner, controller, messaging, CLI)
23
+ # ALL dependencies included for a "batteries included" experience
24
+ # The only expection is playwright which requires a separate install step to download browser binaries.
23
25
  dependencies = [
24
26
  "acurl",
27
+ "aio_pika",
28
+ "aiokafka",
29
+ "boto3",
30
+ "bs4",
25
31
  "docopt",
26
32
  "flask",
33
+ "jinja2",
27
34
  "msgpack",
28
35
  "nanomsg",
29
36
  "prettytable",
30
37
  "pyzmq",
31
- "ujson",
32
- "uvloop==0.21.0",
33
- ]
34
-
35
- [project.optional-dependencies]
36
- # HTTP/REST testing support
37
- http = ["acurl"]
38
- # AMQP/RabbitMQ testing support
39
- amqp = ["aio_pika"]
40
- # Kafka testing support
41
- kafka = ["aiokafka"]
42
- # Thrift/Finagle protocol support
43
- finagle = ["thrift"]
44
- # S3-based data pools
45
- s3datapools = ["boto3"]
46
- # Selenium browser automation (v3.x for compatibility)
47
- # TODO - Update (or remove) the Selenium version when migrating to v4. The version is explicitly defined
48
- # as less than 4 as there are backward compatibility issues with Rust from version 4 on
49
- selenium = ["selenium<4"]
50
- # Selenium with wire protocol inspection
51
- selenium_wire = ["selenium-wire==4.6.5"]
52
- # WebSocket testing support
53
- websocket = ["websockets"]
54
- # Browser HTML parsing support
55
- browser = ["bs4"]
56
- # HAR file conversion utility
57
- har = ["jinja2"]
58
- # Database support via SQLAlchemy
59
- database = ["sqlalchemy"]
60
- # Playwright browser automation
61
- playwright = ["playwright"]
62
- # Complete installation with all modules
63
- all = [
64
- "acurl",
65
- "aio_pika",
66
- "aiokafka",
67
- "boto3",
68
- "bs4",
69
- "jinja2",
70
- "selenium<4",
71
- "selenium-wire==4.6.5",
72
- "sqlalchemy",
73
- "thrift",
74
- "ujson",
75
- "uvloop==0.21.0",
76
- "websockets",
77
- ]
78
- # Testing dependencies (excludes packages with complex system dependencies like playwright)
79
- test = [
80
- "acurl",
81
- "aio_pika",
82
- "aiokafka",
83
- "boto3",
84
- "bs4",
85
- "jinja2",
86
38
  "selenium<4",
87
39
  "selenium-wire==4.6.5",
88
40
  "sqlalchemy",
@@ -91,6 +43,8 @@ test = [
91
43
  "uvloop==0.21.0",
92
44
  "websockets",
93
45
  ]
46
+
47
+ [project.optional-dependencies]
94
48
  # Development dependencies
95
49
  dev = [
96
50
  "pytest",
@@ -114,6 +68,13 @@ Issues = "https://github.com/sky-uk/mite/issues"
114
68
  [project.scripts]
115
69
  mite = "mite.__main__:main"
116
70
 
71
+ [project.entry-points.mite_stats]
72
+ mite = "mite.stats:_MITE_STATS"
73
+ mite_finagle = "mite_finagle.stats:STATS"
74
+ mite_http = "mite_http.stats:STATS"
75
+ mite_selenium = "mite_selenium.stats:STATS"
76
+ mite_kafka = "mite_kafka.stats:_KAFKA_STATS"
77
+
117
78
 
118
79
  # Hatch configuration ##############################################
119
80
 
@@ -151,11 +112,11 @@ packages = [
151
112
  ]
152
113
 
153
114
  [tool.hatch.envs.default]
154
- features = ["all", "dev"]
115
+ features = ["dev"]
155
116
 
156
117
 
157
118
  [tool.hatch.envs.test]
158
- features = ["test", "dev"]
119
+ features = ["dev"]
159
120
 
160
121
  [tool.hatch.envs.test.scripts]
161
122
  test = "pytest {args:test/}"
@@ -168,7 +129,7 @@ python = ["3.10", "3.11"]
168
129
 
169
130
 
170
131
  [tool.hatch.envs.perf-test]
171
- features = ["test", "dev"]
132
+ features = ["dev"]
172
133
  dependencies = [
173
134
  "aiohttp",
174
135
  "sanic",
@@ -353,4 +314,4 @@ exclude_lines = [
353
314
  ignore_errors = true
354
315
 
355
316
  [tool.coverage.html]
356
- directory = "coverage_html_report"
317
+ directory = "coverage_html_report"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes