ivcap-ai-tool 0.7.24__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.
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: ivcap-ai-tool
|
|
3
|
+
Version: 0.7.24
|
|
4
|
+
Summary: ⚠️ DEPRECATED – use ivcap-lambda instead. Compatibility shim only.
|
|
5
|
+
License: BSD-3-Clause
|
|
6
|
+
Keywords: deprecated,ivcap,ai,tool,ivcap-lambda
|
|
7
|
+
Author: Max Ott
|
|
8
|
+
Author-email: max.ott@csiro.au
|
|
9
|
+
Requires-Python: >=3.11,<4.0
|
|
10
|
+
Classifier: Development Status :: 7 - Inactive
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: BSD License
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
18
|
+
Requires-Dist: ivcap-lambda (>=0.7.22)
|
|
19
|
+
Project-URL: Bug Tracker, https://github.com/ivcap-works/ivcap-ai-tool-sdk-python/issues
|
|
20
|
+
Project-URL: Homepage, https://pypi.org/project/ivcap-lambda/
|
|
21
|
+
Project-URL: Migration Guide, https://github.com/ivcap-works/ivcap-ai-tool-sdk-python#migration
|
|
22
|
+
Project-URL: Source, https://github.com/ivcap-works/ivcap-ai-tool-sdk-python
|
|
23
|
+
Description-Content-Type: text/markdown
|
|
24
|
+
|
|
25
|
+
# ⚠️ THIS PACKAGE IS DEPRECATED ⚠️
|
|
26
|
+
|
|
27
|
+
> **This package (`ivcap-ai-tool`) has been renamed to [`ivcap-lambda`](https://pypi.org/project/ivcap-lambda/).**
|
|
28
|
+
>
|
|
29
|
+
> 🚨 **Please uninstall `ivcap-ai-tool` and install `ivcap-lambda` instead:**
|
|
30
|
+
>
|
|
31
|
+
> ```bash
|
|
32
|
+
> pip uninstall ivcap-ai-tool
|
|
33
|
+
> pip install ivcap-lambda
|
|
34
|
+
> ```
|
|
35
|
+
>
|
|
36
|
+
> This package is a compatibility shim only and will receive **no further updates**.
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## Why was it renamed?
|
|
41
|
+
|
|
42
|
+
The library has been renamed from `ivcap-ai-tool` → **`ivcap-lambda`** to better reflect its purpose and align with the IVCAP platform naming conventions.
|
|
43
|
+
|
|
44
|
+
## Migration
|
|
45
|
+
|
|
46
|
+
Replace your dependency and imports as follows:
|
|
47
|
+
|
|
48
|
+
| Old (deprecated) | New |
|
|
49
|
+
|---|---|
|
|
50
|
+
| `pip install ivcap-ai-tool` | `pip install ivcap-lambda` |
|
|
51
|
+
| `from ivcap_ai_tool import ...` | `from ivcap_lambda import ...` |
|
|
52
|
+
| `@ivcap_ai_tool(...)` | `@ivcap_lambda(...)` |
|
|
53
|
+
|
|
54
|
+
### Example
|
|
55
|
+
|
|
56
|
+
```python
|
|
57
|
+
# Old (deprecated)
|
|
58
|
+
from ivcap_ai_tool import start_tool_server, ivcap_ai_tool, ToolOptions
|
|
59
|
+
|
|
60
|
+
# New
|
|
61
|
+
from ivcap_lambda import start_tool_server, ivcap_lambda, ToolOptions
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## Compatibility
|
|
65
|
+
|
|
66
|
+
Installing `ivcap-ai-tool` automatically pulls in `ivcap-lambda` as a dependency. The `ivcap_ai_tool` namespace is re-exported from `ivcap_lambda` so **existing code continues to work without changes** — you will see a `DeprecationWarning` at import time reminding you to migrate.
|
|
67
|
+
|
|
68
|
+
## Links
|
|
69
|
+
|
|
70
|
+
- 📦 **New package:** [ivcap-lambda on PyPI](https://pypi.org/project/ivcap-lambda/)
|
|
71
|
+
- 📖 **Documentation & source:** [GitHub](https://github.com/ivcap-works/ivcap-ai-tool-sdk-python)
|
|
72
|
+
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# ⚠️ THIS PACKAGE IS DEPRECATED ⚠️
|
|
2
|
+
|
|
3
|
+
> **This package (`ivcap-ai-tool`) has been renamed to [`ivcap-lambda`](https://pypi.org/project/ivcap-lambda/).**
|
|
4
|
+
>
|
|
5
|
+
> 🚨 **Please uninstall `ivcap-ai-tool` and install `ivcap-lambda` instead:**
|
|
6
|
+
>
|
|
7
|
+
> ```bash
|
|
8
|
+
> pip uninstall ivcap-ai-tool
|
|
9
|
+
> pip install ivcap-lambda
|
|
10
|
+
> ```
|
|
11
|
+
>
|
|
12
|
+
> This package is a compatibility shim only and will receive **no further updates**.
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Why was it renamed?
|
|
17
|
+
|
|
18
|
+
The library has been renamed from `ivcap-ai-tool` → **`ivcap-lambda`** to better reflect its purpose and align with the IVCAP platform naming conventions.
|
|
19
|
+
|
|
20
|
+
## Migration
|
|
21
|
+
|
|
22
|
+
Replace your dependency and imports as follows:
|
|
23
|
+
|
|
24
|
+
| Old (deprecated) | New |
|
|
25
|
+
|---|---|
|
|
26
|
+
| `pip install ivcap-ai-tool` | `pip install ivcap-lambda` |
|
|
27
|
+
| `from ivcap_ai_tool import ...` | `from ivcap_lambda import ...` |
|
|
28
|
+
| `@ivcap_ai_tool(...)` | `@ivcap_lambda(...)` |
|
|
29
|
+
|
|
30
|
+
### Example
|
|
31
|
+
|
|
32
|
+
```python
|
|
33
|
+
# Old (deprecated)
|
|
34
|
+
from ivcap_ai_tool import start_tool_server, ivcap_ai_tool, ToolOptions
|
|
35
|
+
|
|
36
|
+
# New
|
|
37
|
+
from ivcap_lambda import start_tool_server, ivcap_lambda, ToolOptions
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Compatibility
|
|
41
|
+
|
|
42
|
+
Installing `ivcap-ai-tool` automatically pulls in `ivcap-lambda` as a dependency. The `ivcap_ai_tool` namespace is re-exported from `ivcap_lambda` so **existing code continues to work without changes** — you will see a `DeprecationWarning` at import time reminding you to migrate.
|
|
43
|
+
|
|
44
|
+
## Links
|
|
45
|
+
|
|
46
|
+
- 📦 **New package:** [ivcap-lambda on PyPI](https://pypi.org/project/ivcap-lambda/)
|
|
47
|
+
- 📖 **Documentation & source:** [GitHub](https://github.com/ivcap-works/ivcap-ai-tool-sdk-python)
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
#
|
|
2
|
+
# Copyright (c) 2023 Commonwealth Scientific and Industrial Research Organisation (CSIRO). All rights reserved.
|
|
3
|
+
# Use of this source code is governed by a BSD-style license that can be
|
|
4
|
+
# found in the LICENSE file. See the AUTHORS file for names of contributors.
|
|
5
|
+
#
|
|
6
|
+
"""
|
|
7
|
+
DEPRECATED compatibility shim: ivcap_ai_tool → ivcap_lambda
|
|
8
|
+
|
|
9
|
+
This package re-exports the entire public API of ivcap_lambda under the old
|
|
10
|
+
ivcap_ai_tool namespace so that existing code continues to work. Please migrate
|
|
11
|
+
to ivcap_lambda as this shim will be removed in a future release.
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
import warnings
|
|
15
|
+
|
|
16
|
+
warnings.warn(
|
|
17
|
+
"The 'ivcap_ai_tool' package has been renamed to 'ivcap_lambda'. "
|
|
18
|
+
"Please update your dependency and imports: "
|
|
19
|
+
"'pip install ivcap-lambda' and 'from ivcap_lambda import ...'",
|
|
20
|
+
DeprecationWarning,
|
|
21
|
+
stacklevel=2,
|
|
22
|
+
)
|
|
23
|
+
|
|
24
|
+
from ivcap_lambda import ( # noqa: F401, E402
|
|
25
|
+
__version__,
|
|
26
|
+
start_tool_server,
|
|
27
|
+
add_tool_api_route,
|
|
28
|
+
ToolOptions,
|
|
29
|
+
ExecutionContext,
|
|
30
|
+
get_event_reporter,
|
|
31
|
+
get_job_id,
|
|
32
|
+
get_public_url_prefix,
|
|
33
|
+
SecretMgrClient,
|
|
34
|
+
logging_init,
|
|
35
|
+
)
|
|
36
|
+
|
|
37
|
+
# The decorator was called ivcap_ai_tool in the old package.
|
|
38
|
+
# Re-export it under both names for full backward compatibility.
|
|
39
|
+
from ivcap_lambda import ivcap_lambda # noqa: F401, E402
|
|
40
|
+
from ivcap_lambda import ivcap_lambda as ivcap_ai_tool # noqa: F401, E402
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
[tool.poetry]
|
|
2
|
+
name = "ivcap-ai-tool"
|
|
3
|
+
version = "0.7.24"
|
|
4
|
+
description = "⚠️ DEPRECATED – use ivcap-lambda instead. Compatibility shim only."
|
|
5
|
+
|
|
6
|
+
authors = ["Max Ott <max.ott@csiro.au>"]
|
|
7
|
+
|
|
8
|
+
readme = "README.md"
|
|
9
|
+
|
|
10
|
+
license = "BSD-3-Clause"
|
|
11
|
+
|
|
12
|
+
keywords = ["deprecated", "ivcap", "ai", "tool", "ivcap-lambda"]
|
|
13
|
+
|
|
14
|
+
classifiers = [
|
|
15
|
+
"Development Status :: 7 - Inactive",
|
|
16
|
+
"Intended Audience :: Developers",
|
|
17
|
+
"License :: OSI Approved :: BSD License",
|
|
18
|
+
"Programming Language :: Python :: 3",
|
|
19
|
+
]
|
|
20
|
+
|
|
21
|
+
packages = [{ include = "ivcap_ai_tool" }]
|
|
22
|
+
|
|
23
|
+
[tool.poetry.urls]
|
|
24
|
+
"Homepage" = "https://pypi.org/project/ivcap-lambda/"
|
|
25
|
+
"Migration Guide" = "https://github.com/ivcap-works/ivcap-ai-tool-sdk-python#migration"
|
|
26
|
+
"Source" = "https://github.com/ivcap-works/ivcap-ai-tool-sdk-python"
|
|
27
|
+
"Bug Tracker" = "https://github.com/ivcap-works/ivcap-ai-tool-sdk-python/issues"
|
|
28
|
+
|
|
29
|
+
[tool.poetry.dependencies]
|
|
30
|
+
python = ">=3.11,<4.0"
|
|
31
|
+
ivcap-lambda = ">=0.7.22"
|
|
32
|
+
|
|
33
|
+
[build-system]
|
|
34
|
+
requires = ["poetry-core>=1.0.0"]
|
|
35
|
+
build-backend = "poetry.core.masonry.api"
|