craft-ai-sdk 0.52.0__tar.gz → 0.52.1rc1__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 craft-ai-sdk might be problematic. Click here for more details.

Files changed (23) hide show
  1. {craft_ai_sdk-0.52.0 → craft_ai_sdk-0.52.1rc1}/PKG-INFO +2 -1
  2. {craft_ai_sdk-0.52.0 → craft_ai_sdk-0.52.1rc1}/craft_ai_sdk/__init__.py +1 -1
  3. {craft_ai_sdk-0.52.0 → craft_ai_sdk-0.52.1rc1}/craft_ai_sdk/constants.py +1 -0
  4. {craft_ai_sdk-0.52.0 → craft_ai_sdk-0.52.1rc1}/craft_ai_sdk/sdk.py +1 -1
  5. {craft_ai_sdk-0.52.0 → craft_ai_sdk-0.52.1rc1}/documentation.pdf +0 -0
  6. {craft_ai_sdk-0.52.0 → craft_ai_sdk-0.52.1rc1}/pyproject.toml +1 -1
  7. craft_ai_sdk-0.52.0/setup.py +0 -43
  8. {craft_ai_sdk-0.52.0 → craft_ai_sdk-0.52.1rc1}/LICENSE +0 -0
  9. {craft_ai_sdk-0.52.0 → craft_ai_sdk-0.52.1rc1}/README.md +0 -0
  10. {craft_ai_sdk-0.52.0 → craft_ai_sdk-0.52.1rc1}/craft_ai_sdk/core/data_store.py +0 -0
  11. {craft_ai_sdk-0.52.0 → craft_ai_sdk-0.52.1rc1}/craft_ai_sdk/core/deployments.py +0 -0
  12. {craft_ai_sdk-0.52.0 → craft_ai_sdk-0.52.1rc1}/craft_ai_sdk/core/endpoints.py +0 -0
  13. {craft_ai_sdk-0.52.0 → craft_ai_sdk-0.52.1rc1}/craft_ai_sdk/core/environment_variables.py +0 -0
  14. {craft_ai_sdk-0.52.0 → craft_ai_sdk-0.52.1rc1}/craft_ai_sdk/core/pipeline_executions.py +0 -0
  15. {craft_ai_sdk-0.52.0 → craft_ai_sdk-0.52.1rc1}/craft_ai_sdk/core/pipeline_metrics.py +0 -0
  16. {craft_ai_sdk-0.52.0 → craft_ai_sdk-0.52.1rc1}/craft_ai_sdk/core/pipelines.py +0 -0
  17. {craft_ai_sdk-0.52.0 → craft_ai_sdk-0.52.1rc1}/craft_ai_sdk/core/resource_metrics.py +0 -0
  18. {craft_ai_sdk-0.52.0 → craft_ai_sdk-0.52.1rc1}/craft_ai_sdk/core/steps.py +0 -0
  19. {craft_ai_sdk-0.52.0 → craft_ai_sdk-0.52.1rc1}/craft_ai_sdk/core/users.py +0 -0
  20. {craft_ai_sdk-0.52.0 → craft_ai_sdk-0.52.1rc1}/craft_ai_sdk/exceptions.py +0 -0
  21. {craft_ai_sdk-0.52.0 → craft_ai_sdk-0.52.1rc1}/craft_ai_sdk/io.py +0 -0
  22. {craft_ai_sdk-0.52.0 → craft_ai_sdk-0.52.1rc1}/craft_ai_sdk/utils.py +0 -0
  23. {craft_ai_sdk-0.52.0 → craft_ai_sdk-0.52.1rc1}/craft_ai_sdk/warnings.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: craft-ai-sdk
3
- Version: 0.52.0
3
+ Version: 0.52.1rc1
4
4
  Summary: Craft AI MLOps platform SDK
5
5
  Home-page: https://www.craft.ai/
6
6
  License: Apache-2.0
@@ -13,6 +13,7 @@ Classifier: Programming Language :: Python :: 3.8
13
13
  Classifier: Programming Language :: Python :: 3.9
14
14
  Classifier: Programming Language :: Python :: 3.10
15
15
  Classifier: Programming Language :: Python :: 3.11
16
+ Classifier: Programming Language :: Python :: 3.12
16
17
  Requires-Dist: PyJWT (>=2.3.0,<3.0.0)
17
18
  Requires-Dist: StrEnum (>=0.4.9,<0.5.0)
18
19
  Requires-Dist: requests (>=2.27.1,<3.0.0)
@@ -14,4 +14,4 @@ from .io import ( # noqa: F401
14
14
  )
15
15
 
16
16
 
17
- __version__ = "0.52.0"
17
+ __version__ = "0.52.1rc1"
@@ -27,6 +27,7 @@ class DEPLOYMENT_STATUS(LowercaseStrEnum):
27
27
  CREATION_FAILED = auto()
28
28
  DOWN_RETRYING = auto()
29
29
  STANDBY = auto()
30
+ DISABLED = auto()
30
31
 
31
32
 
32
33
  CREATION_REQUESTS_RETRY_INTERVAL = 10
@@ -130,7 +130,7 @@ class CraftAiSdk(BaseCraftAiSdk):
130
130
  os.environ.get("CRAFT_AI__MULTIPART_PART_SIZE__B", str(38 * 256 * 1024))
131
131
  )
132
132
  _access_token_margin = timedelta(seconds=30)
133
- _version = "0.52.0" # Would be better to share it somewhere
133
+ _version = "0.52.1rc1" # Would be better to share it somewhere
134
134
 
135
135
  def __init__(
136
136
  self,
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "craft-ai-sdk"
3
- version = "0.52.0"
3
+ version = "0.52.1rc1"
4
4
  description = "Craft AI MLOps platform SDK"
5
5
  license = "Apache-2.0"
6
6
  authors = ["Craft AI <contact@craft.ai>"]
@@ -1,43 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- from setuptools import setup
3
-
4
- packages = \
5
- ['craft_ai_sdk', 'craft_ai_sdk.core']
6
-
7
- package_data = \
8
- {'': ['*']}
9
-
10
- install_requires = \
11
- ['PyJWT>=2.3.0,<3.0.0', 'StrEnum>=0.4.9,<0.5.0', 'requests>=2.27.1,<3.0.0']
12
-
13
- entry_points = \
14
- {'console_scripts': ['bump-version = scripts.scripts:bump_version',
15
- 'format = scripts.scripts:format',
16
- 'lint = scripts.scripts:lint',
17
- 'pdfdoc = scripts.scripts:generate_docs_in_pdf',
18
- 'reformat = scripts.scripts:reformat',
19
- 'rstdoc = scripts.scripts:generate_docs_in_rst',
20
- 'set-version = scripts.scripts:set_version',
21
- 'test = scripts.scripts:test',
22
- 'test-base = scripts.scripts:test_base',
23
- 'test-platform = scripts.scripts:test_platform']}
24
-
25
- setup_kwargs = {
26
- 'name': 'craft-ai-sdk',
27
- 'version': '0.52.0',
28
- 'description': 'Craft AI MLOps platform SDK',
29
- 'long_description': '# Craft AI Python SDK\n\nThis Python SDK lets you interact with Craft AI MLOps Platform.\n\n## Installation\nThis project relies on **Python 3.8+**. Once a supported version of Python is installed, you can install `craft-ai-sdk` from PyPI with:\n\n```console\npip install craft-ai-sdk\n```\n\n## Basic usage\nYou can configure the SDK by instantiating the `CraftAiSdk` class in this way:\n\n```python\nfrom craft_ai_sdk import CraftAiSdk\n\nCRAFT_AI_SDK_TOKEN = # your access key obtained from your settings page\nCRAFT_AI_ENVIRONMENT_URL = # url to your environment\n\nsdk = CraftAiSdk(sdk_token=CRAFT_AI_SDK_TOKEN, environment_url=CRAFT_AI_ENVIRONMENT_URL)\n```\n\nIf using the SDK in interactive mode, some additional feedbacks will be printed. You can force disable or enable those logs by either\n* Setting the `verbose_log` SDK parameter\n* Or setting the `SDK_VERBOSE_LOG` env var\n',
30
- 'author': 'Craft AI',
31
- 'author_email': 'contact@craft.ai',
32
- 'maintainer': 'None',
33
- 'maintainer_email': 'None',
34
- 'url': 'https://www.craft.ai/',
35
- 'packages': packages,
36
- 'package_data': package_data,
37
- 'install_requires': install_requires,
38
- 'entry_points': entry_points,
39
- 'python_requires': '>=3.8,<4.0',
40
- }
41
-
42
-
43
- setup(**setup_kwargs)
File without changes