nextmv 0.29.5.dev0__tar.gz → 0.30.0__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 (71) hide show
  1. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/PKG-INFO +1 -1
  2. nextmv-0.30.0/nextmv/__about__.py +1 -0
  3. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/nextmv/cloud/__init__.py +5 -1
  4. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/nextmv/cloud/acceptance_test.py +2 -51
  5. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/nextmv/cloud/application.py +431 -69
  6. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/nextmv/cloud/batch_experiment.py +73 -1
  7. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/nextmv/cloud/manifest.py +164 -1
  8. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/tests/cloud/app.yaml +9 -0
  9. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/tests/cloud/test_manifest.py +47 -0
  10. nextmv-0.29.5.dev0/nextmv/__about__.py +0 -1
  11. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/.gitignore +0 -0
  12. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/LICENSE +0 -0
  13. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/README.md +0 -0
  14. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/nextmv/__entrypoint__.py +0 -0
  15. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/nextmv/__init__.py +0 -0
  16. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/nextmv/_serialization.py +0 -0
  17. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/nextmv/base_model.py +0 -0
  18. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/nextmv/cloud/account.py +0 -0
  19. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/nextmv/cloud/client.py +0 -0
  20. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/nextmv/cloud/input_set.py +0 -0
  21. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/nextmv/cloud/instance.py +0 -0
  22. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/nextmv/cloud/package.py +0 -0
  23. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/nextmv/cloud/run.py +0 -0
  24. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/nextmv/cloud/safe.py +0 -0
  25. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/nextmv/cloud/scenario.py +0 -0
  26. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/nextmv/cloud/secrets.py +0 -0
  27. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/nextmv/cloud/status.py +0 -0
  28. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/nextmv/cloud/version.py +0 -0
  29. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/nextmv/default_app/README.md +0 -0
  30. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/nextmv/default_app/app.yaml +0 -0
  31. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/nextmv/default_app/requirements.txt +0 -0
  32. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/nextmv/default_app/src/__init__.py +0 -0
  33. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/nextmv/default_app/src/main.py +0 -0
  34. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/nextmv/default_app/src/visuals.py +0 -0
  35. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/nextmv/deprecated.py +0 -0
  36. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/nextmv/input.py +0 -0
  37. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/nextmv/logger.py +0 -0
  38. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/nextmv/model.py +0 -0
  39. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/nextmv/options.py +0 -0
  40. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/nextmv/output.py +0 -0
  41. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/pyproject.toml +0 -0
  42. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/tests/__init__.py +0 -0
  43. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/tests/cloud/__init__.py +0 -0
  44. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/tests/cloud/test_application.py +0 -0
  45. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/tests/cloud/test_client.py +0 -0
  46. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/tests/cloud/test_package.py +0 -0
  47. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/tests/cloud/test_run.py +0 -0
  48. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/tests/cloud/test_safe_name_id.py +0 -0
  49. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/tests/cloud/test_scenario.py +0 -0
  50. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/tests/scripts/__init__.py +0 -0
  51. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/tests/scripts/options1.py +0 -0
  52. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/tests/scripts/options2.py +0 -0
  53. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/tests/scripts/options3.py +0 -0
  54. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/tests/scripts/options4.py +0 -0
  55. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/tests/scripts/options5.py +0 -0
  56. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/tests/scripts/options6.py +0 -0
  57. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/tests/scripts/options7.py +0 -0
  58. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/tests/scripts/options_deprecated.py +0 -0
  59. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/tests/test_base_model.py +0 -0
  60. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/tests/test_entrypoint/__init__.py +0 -0
  61. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/tests/test_entrypoint/test_entrypoint.py +0 -0
  62. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/tests/test_input.py +0 -0
  63. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/tests/test_inputs/test_data.csv +0 -0
  64. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/tests/test_inputs/test_data.json +0 -0
  65. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/tests/test_inputs/test_data.txt +0 -0
  66. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/tests/test_logger.py +0 -0
  67. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/tests/test_model.py +0 -0
  68. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/tests/test_options.py +0 -0
  69. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/tests/test_output.py +0 -0
  70. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/tests/test_serialization.py +0 -0
  71. {nextmv-0.29.5.dev0 → nextmv-0.30.0}/tests/test_version.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nextmv
3
- Version: 0.29.5.dev0
3
+ Version: 0.30.0
4
4
  Summary: The all-purpose Python SDK for Nextmv
5
5
  Project-URL: Homepage, https://www.nextmv.io
6
6
  Project-URL: Documentation, https://nextmv-py.docs.nextmv.io/en/latest/nextmv/
@@ -0,0 +1 @@
1
+ __version__ = "v0.30.0"
@@ -6,7 +6,6 @@ from .acceptance_test import Comparison as Comparison
6
6
  from .acceptance_test import ComparisonInstance as ComparisonInstance
7
7
  from .acceptance_test import DistributionPercentiles as DistributionPercentiles
8
8
  from .acceptance_test import DistributionSummaryStatistics as DistributionSummaryStatistics
9
- from .acceptance_test import ExperimentStatus as ExperimentStatus
10
9
  from .acceptance_test import Metric as Metric
11
10
  from .acceptance_test import MetricParams as MetricParams
12
11
  from .acceptance_test import MetricResult as MetricResult
@@ -28,6 +27,7 @@ from .batch_experiment import BatchExperiment as BatchExperiment
28
27
  from .batch_experiment import BatchExperimentInformation as BatchExperimentInformation
29
28
  from .batch_experiment import BatchExperimentMetadata as BatchExperimentMetadata
30
29
  from .batch_experiment import BatchExperimentRun as BatchExperimentRun
30
+ from .batch_experiment import ExperimentStatus as ExperimentStatus
31
31
  from .client import Client as Client
32
32
  from .client import get_size as get_size
33
33
  from .input_set import InputSet as InputSet
@@ -37,6 +37,10 @@ from .instance import InstanceConfiguration as InstanceConfiguration
37
37
  from .manifest import MANIFEST_FILE_NAME as MANIFEST_FILE_NAME
38
38
  from .manifest import Manifest as Manifest
39
39
  from .manifest import ManifestBuild as ManifestBuild
40
+ from .manifest import ManifestContent as ManifestContent
41
+ from .manifest import ManifestContentMultiFile as ManifestContentMultiFile
42
+ from .manifest import ManifestContentMultiFileInput as ManifestContentMultiFileInput
43
+ from .manifest import ManifestContentMultiFileOutput as ManifestContentMultiFileOutput
40
44
  from .manifest import ManifestOption as ManifestOption
41
45
  from .manifest import ManifestPython as ManifestPython
42
46
  from .manifest import ManifestPythonModel as ManifestPythonModel
@@ -46,6 +46,7 @@ from enum import Enum
46
46
  from typing import Optional
47
47
 
48
48
  from nextmv.base_model import BaseModel
49
+ from nextmv.cloud.batch_experiment import ExperimentStatus
49
50
 
50
51
 
51
52
  class MetricType(str, Enum):
@@ -249,56 +250,6 @@ class ToleranceType(str, Enum):
249
250
  """Relative tolerance type."""
250
251
 
251
252
 
252
- class ExperimentStatus(str, Enum):
253
- """
254
- Status of an acceptance test experiment.
255
-
256
- You can import the `ExperimentStatus` class directly from `cloud`:
257
-
258
- ```python
259
- from nextmv.cloud import ExperimentStatus
260
- ```
261
-
262
- This enumeration defines the different possible statuses of an experiment
263
- underlying an acceptance test.
264
-
265
- Attributes
266
- ----------
267
- started : str
268
- The experiment has started.
269
- completed : str
270
- The experiment was completed successfully.
271
- failed : str
272
- The experiment failed.
273
- draft : str
274
- The experiment is a draft.
275
- canceled : str
276
- The experiment was canceled.
277
- unknown : str
278
- The experiment status is unknown.
279
-
280
- Examples
281
- --------
282
- >>> from nextmv.cloud import ExperimentStatus
283
- >>> status = ExperimentStatus.completed
284
- >>> status
285
- <ExperimentStatus.completed: 'completed'>
286
- """
287
-
288
- started = "started"
289
- """The experiment has started."""
290
- completed = "completed"
291
- """The experiment was completed."""
292
- failed = "failed"
293
- """The experiment failed."""
294
- draft = "draft"
295
- """The experiment is a draft."""
296
- canceled = "canceled"
297
- """The experiment was canceled."""
298
- unknown = "unknown"
299
- """The experiment status is unknown."""
300
-
301
-
302
253
  class MetricTolerance(BaseModel):
303
254
  """
304
255
  Tolerance used for a metric in an acceptance test.
@@ -942,7 +893,7 @@ class AcceptanceTest(BaseModel):
942
893
  """Creation date of the acceptance test."""
943
894
  updated_at: datetime
944
895
  """Last update date of the acceptance test."""
945
- status: Optional[ExperimentStatus] = ExperimentStatus.unknown
896
+ status: Optional[ExperimentStatus] = ExperimentStatus.UNKNOWN
946
897
  """Status of the acceptance test."""
947
898
  results: Optional[AcceptanceTestResults] = None
948
899
  """Results of the acceptance test."""