devdox-ai-locust 0.1.4__tar.gz → 0.1.6__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.

Potentially problematic release.


This version of devdox-ai-locust might be problematic. Click here for more details.

Files changed (46) hide show
  1. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/PKG-INFO +5 -20
  2. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/README.md +4 -19
  3. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/pyproject.toml +1 -1
  4. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/src/devdox_ai_locust/config.py +1 -1
  5. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/src/devdox_ai_locust.egg-info/PKG-INFO +5 -20
  6. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/tests/test_config.py +4 -4
  7. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/LICENSE +0 -0
  8. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/setup.cfg +0 -0
  9. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/src/devdox_ai_locust/__init__.py +0 -0
  10. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/src/devdox_ai_locust/cli.py +0 -0
  11. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/src/devdox_ai_locust/hybrid_loctus_generator.py +0 -0
  12. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/src/devdox_ai_locust/locust_generator.py +0 -0
  13. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/src/devdox_ai_locust/prompt/domain.j2 +0 -0
  14. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/src/devdox_ai_locust/prompt/locust.j2 +0 -0
  15. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/src/devdox_ai_locust/prompt/test_data.j2 +0 -0
  16. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/src/devdox_ai_locust/prompt/validation.j2 +0 -0
  17. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/src/devdox_ai_locust/prompt/workflow.j2 +0 -0
  18. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/src/devdox_ai_locust/py.typed +0 -0
  19. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/src/devdox_ai_locust/schemas/__init__.py +0 -0
  20. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/src/devdox_ai_locust/schemas/processing_result.py +0 -0
  21. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/src/devdox_ai_locust/templates/base_workflow.py.j2 +0 -0
  22. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/src/devdox_ai_locust/templates/config.py.j2 +0 -0
  23. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/src/devdox_ai_locust/templates/custom_flows.py.j2 +0 -0
  24. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/src/devdox_ai_locust/templates/endpoint_template.py.j2 +0 -0
  25. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/src/devdox_ai_locust/templates/env.example.j2 +0 -0
  26. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/src/devdox_ai_locust/templates/fallback_locust.py.j2 +0 -0
  27. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/src/devdox_ai_locust/templates/locust.py.j2 +0 -0
  28. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/src/devdox_ai_locust/templates/mongo/data_provider.py.j2 +0 -0
  29. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/src/devdox_ai_locust/templates/mongo/db_config.py.j2 +0 -0
  30. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/src/devdox_ai_locust/templates/mongo/db_integration.j2 +0 -0
  31. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/src/devdox_ai_locust/templates/readme.md.j2 +0 -0
  32. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/src/devdox_ai_locust/templates/requirement.txt.j2 +0 -0
  33. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/src/devdox_ai_locust/templates/test_data.py.j2 +0 -0
  34. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/src/devdox_ai_locust/templates/utils.py.j2 +0 -0
  35. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/src/devdox_ai_locust/utils/__init__.py +0 -0
  36. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/src/devdox_ai_locust/utils/file_creation.py +0 -0
  37. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/src/devdox_ai_locust/utils/open_ai_parser.py +0 -0
  38. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/src/devdox_ai_locust/utils/swagger_utils.py +0 -0
  39. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/src/devdox_ai_locust.egg-info/SOURCES.txt +0 -0
  40. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/src/devdox_ai_locust.egg-info/dependency_links.txt +0 -0
  41. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/src/devdox_ai_locust.egg-info/entry_points.txt +0 -0
  42. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/src/devdox_ai_locust.egg-info/requires.txt +0 -0
  43. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/src/devdox_ai_locust.egg-info/top_level.txt +0 -0
  44. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/tests/test_cli.py +0 -0
  45. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/tests/test_hybrid_loctus_generator.py +0 -0
  46. {devdox_ai_locust-0.1.4 → devdox_ai_locust-0.1.6}/tests/test_locust_generator.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: devdox_ai_locust
3
- Version: 0.1.4
3
+ Version: 0.1.6
4
4
  Summary: AI-powered Locust load test generator from API documentation
5
5
  Author-email: Hayat Bourji <hayat.bourgi@montyholding.com>
6
6
  Maintainer-email: Hayat Bourji <hayat.bourgi@montyholding.com>
@@ -67,32 +67,17 @@ Dynamic: license-file
67
67
  [![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
68
68
  [![Python 3.12+](https://img.shields.io/badge/python-3.12+-blue.svg)](https://www.python.org/downloads/)
69
69
  [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
70
+ [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=montymobile1_devdox-ai-locust&metric=alert_status)](https://sonarcloud.io/dashboard?id=montymobile1_devdox-ai-locust)
70
71
 
71
72
  > **AI-powered Locust load test generator from API documentation**
72
73
 
73
74
  DevDox AI Locust automatically generates comprehensive Locust load testing scripts from your API documentation (OpenAPI/Swagger specs). Using advanced AI capabilities, it creates realistic test scenarios, handles complex authentication flows, and generates production-ready performance tests.
74
75
 
75
76
 
76
- ## 🆕 What's New in 0.1.4
77
+ ## [0.1.6] - 2025-11-06
78
+ ## 🆕 What's New in 0.1.6
77
79
 
78
- ### MongoDB Integration
79
-
80
- - Added a new data provider class: MongoDataProvider
81
- - Connects Locust test data generation directly to MongoDB
82
- - Enables realistic test data retrieval for entities like users, products, orders, affiliates, etc.
83
- - Supports **real data** from the database and **synthetic fallback generation** when MongoDB is disabled or unavailable
84
-
85
- #### 2. **New MongoDataProvider Methods**
86
- | Method | Description |
87
- |----------------------------------------------------------|--------------|
88
- | `get_document(collection_name)` | Retrieves a single realistic document from MongoDB or fallback generator |
89
- | `get_multiple_documents(collection_name, count=10, query=None)` | Retrieves multiple documents or generates them in batches |
90
- | `clear_cache()` | Clears in-memory cached data for all collections |
91
- | `get_stats()` | Returns usage and cache statistics for debugging and optimization |
92
-
93
- #### 3. **Smart Fallbacks**
94
- If MongoDB is disabled (`enable_mongodb = false` in `db_config.py`),
95
- the system automatically switches to **synthetic data generation** using the LLM-based `TestDataGenerator`.
80
+ Add sonarqube badge to README.md
96
81
 
97
82
 
98
83
  ## ✨ Features
@@ -3,32 +3,17 @@
3
3
  [![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
4
4
  [![Python 3.12+](https://img.shields.io/badge/python-3.12+-blue.svg)](https://www.python.org/downloads/)
5
5
  [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
6
+ [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=montymobile1_devdox-ai-locust&metric=alert_status)](https://sonarcloud.io/dashboard?id=montymobile1_devdox-ai-locust)
6
7
 
7
8
  > **AI-powered Locust load test generator from API documentation**
8
9
 
9
10
  DevDox AI Locust automatically generates comprehensive Locust load testing scripts from your API documentation (OpenAPI/Swagger specs). Using advanced AI capabilities, it creates realistic test scenarios, handles complex authentication flows, and generates production-ready performance tests.
10
11
 
11
12
 
12
- ## 🆕 What's New in 0.1.4
13
+ ## [0.1.6] - 2025-11-06
14
+ ## 🆕 What's New in 0.1.6
13
15
 
14
- ### MongoDB Integration
15
-
16
- - Added a new data provider class: MongoDataProvider
17
- - Connects Locust test data generation directly to MongoDB
18
- - Enables realistic test data retrieval for entities like users, products, orders, affiliates, etc.
19
- - Supports **real data** from the database and **synthetic fallback generation** when MongoDB is disabled or unavailable
20
-
21
- #### 2. **New MongoDataProvider Methods**
22
- | Method | Description |
23
- |----------------------------------------------------------|--------------|
24
- | `get_document(collection_name)` | Retrieves a single realistic document from MongoDB or fallback generator |
25
- | `get_multiple_documents(collection_name, count=10, query=None)` | Retrieves multiple documents or generates them in batches |
26
- | `clear_cache()` | Clears in-memory cached data for all collections |
27
- | `get_stats()` | Returns usage and cache statistics for debugging and optimization |
28
-
29
- #### 3. **Smart Fallbacks**
30
- If MongoDB is disabled (`enable_mongodb = false` in `db_config.py`),
31
- the system automatically switches to **synthetic data generation** using the LLM-based `TestDataGenerator`.
16
+ Add sonarqube badge to README.md
32
17
 
33
18
 
34
19
  ## ✨ Features
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
5
5
 
6
6
  [project]
7
7
  name = "devdox_ai_locust"
8
- version = "0.1.4"
8
+ version = "0.1.6"
9
9
  description = "AI-powered Locust load test generator from API documentation"
10
10
  readme = "README.md"
11
11
  license = {text = "Apache-2.0" }
@@ -8,7 +8,7 @@ from pydantic_settings import BaseSettings
8
8
  class Settings(BaseSettings):
9
9
  """Application settings."""
10
10
 
11
- VERSION: str = "0.1.4"
11
+ VERSION: str = "0.1.6"
12
12
 
13
13
  API_KEY: str = "" # Fallback for backward compatibility
14
14
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: devdox_ai_locust
3
- Version: 0.1.4
3
+ Version: 0.1.6
4
4
  Summary: AI-powered Locust load test generator from API documentation
5
5
  Author-email: Hayat Bourji <hayat.bourgi@montyholding.com>
6
6
  Maintainer-email: Hayat Bourji <hayat.bourgi@montyholding.com>
@@ -67,32 +67,17 @@ Dynamic: license-file
67
67
  [![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
68
68
  [![Python 3.12+](https://img.shields.io/badge/python-3.12+-blue.svg)](https://www.python.org/downloads/)
69
69
  [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
70
+ [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=montymobile1_devdox-ai-locust&metric=alert_status)](https://sonarcloud.io/dashboard?id=montymobile1_devdox-ai-locust)
70
71
 
71
72
  > **AI-powered Locust load test generator from API documentation**
72
73
 
73
74
  DevDox AI Locust automatically generates comprehensive Locust load testing scripts from your API documentation (OpenAPI/Swagger specs). Using advanced AI capabilities, it creates realistic test scenarios, handles complex authentication flows, and generates production-ready performance tests.
74
75
 
75
76
 
76
- ## 🆕 What's New in 0.1.4
77
+ ## [0.1.6] - 2025-11-06
78
+ ## 🆕 What's New in 0.1.6
77
79
 
78
- ### MongoDB Integration
79
-
80
- - Added a new data provider class: MongoDataProvider
81
- - Connects Locust test data generation directly to MongoDB
82
- - Enables realistic test data retrieval for entities like users, products, orders, affiliates, etc.
83
- - Supports **real data** from the database and **synthetic fallback generation** when MongoDB is disabled or unavailable
84
-
85
- #### 2. **New MongoDataProvider Methods**
86
- | Method | Description |
87
- |----------------------------------------------------------|--------------|
88
- | `get_document(collection_name)` | Retrieves a single realistic document from MongoDB or fallback generator |
89
- | `get_multiple_documents(collection_name, count=10, query=None)` | Retrieves multiple documents or generates them in batches |
90
- | `clear_cache()` | Clears in-memory cached data for all collections |
91
- | `get_stats()` | Returns usage and cache statistics for debugging and optimization |
92
-
93
- #### 3. **Smart Fallbacks**
94
- If MongoDB is disabled (`enable_mongodb = false` in `db_config.py`),
95
- the system automatically switches to **synthetic data generation** using the LLM-based `TestDataGenerator`.
80
+ Add sonarqube badge to README.md
96
81
 
97
82
 
98
83
  ## ✨ Features
@@ -15,7 +15,7 @@ class TestSettings:
15
15
  """Test default settings values."""
16
16
  test_settings = Settings(_env_file=".env.example")
17
17
 
18
- assert test_settings.VERSION == "0.1.4"
18
+ assert test_settings.VERSION == "0.1.6"
19
19
  assert test_settings.API_KEY == ""
20
20
 
21
21
  def test_settings_with_env_vars(self):
@@ -108,7 +108,7 @@ class TestSettings:
108
108
  def test_global_settings_instance(self):
109
109
  """Test the global settings instance."""
110
110
  assert isinstance(settings, Settings)
111
- assert settings.VERSION == "0.1.4"
111
+ assert settings.VERSION == "0.1.6"
112
112
 
113
113
 
114
114
  class TestSettingsMethods:
@@ -120,7 +120,7 @@ class TestSettingsMethods:
120
120
  original_version = test_settings.VERSION
121
121
 
122
122
  # VERSION should be a class-level constant
123
- assert original_version == "0.1.4"
123
+ assert original_version == "0.1.6"
124
124
 
125
125
  # Even if we try to change it, it should remain the same
126
126
  # (depending on Pydantic implementation)
@@ -131,7 +131,7 @@ class TestSettingsMethods:
131
131
 
132
132
  # Create new instance to verify class-level value
133
133
  new_settings = Settings()
134
- assert new_settings.VERSION == "0.1.4"
134
+ assert new_settings.VERSION == "0.1.6"
135
135
 
136
136
  def test_settings_field_types(self):
137
137
  """Test that settings fields have correct types."""