ibm-watsonx-orchestrate-sdk 2.9.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.
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# Byte-compiled Python files
|
|
2
|
+
*.py[cod]
|
|
3
|
+
__pycache__/
|
|
4
|
+
|
|
5
|
+
# C extensions
|
|
6
|
+
*.so
|
|
7
|
+
|
|
8
|
+
# Distribution / packaging
|
|
9
|
+
.Python
|
|
10
|
+
build/
|
|
11
|
+
develop-eggs/
|
|
12
|
+
dist/
|
|
13
|
+
downloads/
|
|
14
|
+
eggs/
|
|
15
|
+
.eggs/
|
|
16
|
+
lib/
|
|
17
|
+
lib64/
|
|
18
|
+
parts/
|
|
19
|
+
sdist/
|
|
20
|
+
var/
|
|
21
|
+
*.egg-info/
|
|
22
|
+
.installed.cfg
|
|
23
|
+
*.egg
|
|
24
|
+
|
|
25
|
+
# Virtual environments
|
|
26
|
+
venv/
|
|
27
|
+
ENV/
|
|
28
|
+
env/
|
|
29
|
+
.venv/
|
|
30
|
+
.env/
|
|
31
|
+
|
|
32
|
+
# Setuptools
|
|
33
|
+
*.lock
|
|
34
|
+
*.log
|
|
35
|
+
pip-log.txt
|
|
36
|
+
pip-delete-this-directory.txt
|
|
37
|
+
|
|
38
|
+
# Unit test / coverage reports
|
|
39
|
+
htmlcov/
|
|
40
|
+
.tox/
|
|
41
|
+
.nox/
|
|
42
|
+
.coverage
|
|
43
|
+
*.cover
|
|
44
|
+
coverage.*
|
|
45
|
+
.cache
|
|
46
|
+
.pytest_cache/
|
|
47
|
+
|
|
48
|
+
# Jupyter Notebook
|
|
49
|
+
.ipynb_checkpoints
|
|
50
|
+
|
|
51
|
+
# pyenv
|
|
52
|
+
.python-version
|
|
53
|
+
|
|
54
|
+
# Editor / IDE-specific files
|
|
55
|
+
.vscode/
|
|
56
|
+
.idea/
|
|
57
|
+
*.swp
|
|
58
|
+
*~
|
|
59
|
+
*.sublime-workspace
|
|
60
|
+
.project
|
|
61
|
+
|
|
62
|
+
# SDK specific
|
|
63
|
+
sdk/python/ibm_watsonx_orchestrate/ibm_watsonx_orchestrate/__pycache__/
|
|
64
|
+
sdk/python/ibm_watsonx_orchestrate/ibm_watsonx_orchestrate/messages/__pycache__/
|
|
65
|
+
sdk/python/ibm_watsonx_orchestrate/ibm_watsonx_orchestrate/_wrappers/__pycache__/
|
|
66
|
+
sdk/python/ibm_watsonx_orchestrate/ibm_watsonx_orchestrate/utils/__pycache__/
|
|
67
|
+
|
|
68
|
+
# Build scripts
|
|
69
|
+
.DS_Store
|
|
70
|
+
*.bak
|
|
71
|
+
*.tmp
|
|
72
|
+
|
|
73
|
+
# Ignore local environment and configuration files
|
|
74
|
+
.env
|
|
75
|
+
.env.*
|
|
76
|
+
.idea/
|
|
77
|
+
.vscode/
|
|
78
|
+
coverage/
|
|
79
|
+
|
|
80
|
+
# Ignore local examples
|
|
81
|
+
examples/local/
|
|
82
|
+
examples/*/local/
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: ibm-watsonx-orchestrate-sdk
|
|
3
|
+
Version: 2.9.0
|
|
4
|
+
Summary: IBM watsonx Orchestrate Agentic SDK - Advanced AI capabilities and services
|
|
5
|
+
Author-email: IBM <support@ibm.com>
|
|
6
|
+
License: MIT License
|
|
7
|
+
Requires-Python: <3.14,>=3.11
|
|
8
|
+
Requires-Dist: ibm-watsonx-orchestrate-clients
|
|
9
|
+
Requires-Dist: ibm-watsonx-orchestrate-core
|
|
10
|
+
Requires-Dist: langchain-openai<2.0.0,>=1.1.0
|
|
11
|
+
Requires-Dist: opentelemetry-api>=1.20.0
|
|
12
|
+
Requires-Dist: opentelemetry-exporter-otlp-proto-http>=1.20.0
|
|
13
|
+
Requires-Dist: opentelemetry-sdk>=1.20.0
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"""Hatchling build hook to dynamically set version and pin dependencies."""
|
|
2
|
+
|
|
3
|
+
from pathlib import Path
|
|
4
|
+
import re
|
|
5
|
+
from hatchling.metadata.plugin.interface import MetadataHookInterface
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class CustomMetadataHook(MetadataHookInterface):
|
|
9
|
+
"""Custom metadata hook to set version and pin synced package dependencies."""
|
|
10
|
+
|
|
11
|
+
def update(self, metadata: dict) -> None:
|
|
12
|
+
"""Update metadata with version and pinned dependencies."""
|
|
13
|
+
# Load version from main __init__.py
|
|
14
|
+
root = Path(__file__).resolve().parent
|
|
15
|
+
init_file = root / "src" / "ibm_watsonx_orchestrate" / "__init__.py"
|
|
16
|
+
text = init_file.read_text()
|
|
17
|
+
|
|
18
|
+
# Extract version
|
|
19
|
+
m = re.search(r'__version__\s*=\s*["\']([^"\']+)["\']', text)
|
|
20
|
+
if not m:
|
|
21
|
+
raise RuntimeError("Could not determine version from __init__.py")
|
|
22
|
+
|
|
23
|
+
version = m.group(1)
|
|
24
|
+
|
|
25
|
+
# Set version in metadata
|
|
26
|
+
metadata["version"] = version
|
|
27
|
+
|
|
28
|
+
# Get base dependencies from config options
|
|
29
|
+
options = self.config.get("options", {})
|
|
30
|
+
base_deps = options.get("base_dependencies", [])
|
|
31
|
+
synced_packages = options.get("synced_packages", [])
|
|
32
|
+
|
|
33
|
+
# Build final dependencies list
|
|
34
|
+
deps = []
|
|
35
|
+
for dep in base_deps:
|
|
36
|
+
# Normalize dependency name for comparison (replace _ with -)
|
|
37
|
+
dep_normalized = dep.replace("_", "-")
|
|
38
|
+
|
|
39
|
+
# Check if this dependency should be pinned
|
|
40
|
+
should_pin = False
|
|
41
|
+
pkg_name = None
|
|
42
|
+
for pkg in synced_packages:
|
|
43
|
+
pkg_normalized = pkg.replace("_", "-")
|
|
44
|
+
if dep_normalized.startswith(pkg_normalized):
|
|
45
|
+
should_pin = True
|
|
46
|
+
pkg_name = pkg
|
|
47
|
+
break
|
|
48
|
+
|
|
49
|
+
if should_pin:
|
|
50
|
+
# Pin to current version
|
|
51
|
+
deps.append(f"{pkg_name}=={version}")
|
|
52
|
+
else:
|
|
53
|
+
# Keep other dependencies as-is
|
|
54
|
+
deps.append(dep)
|
|
55
|
+
|
|
56
|
+
metadata["dependencies"] = deps
|
|
57
|
+
|
|
58
|
+
# Made with Bob
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "ibm-watsonx-orchestrate-sdk"
|
|
7
|
+
dynamic = ["version"]
|
|
8
|
+
description = "IBM watsonx Orchestrate Agentic SDK - Advanced AI capabilities and services"
|
|
9
|
+
authors = [
|
|
10
|
+
{ name = "IBM", email = "support@ibm.com" }
|
|
11
|
+
]
|
|
12
|
+
#readme = { file = "README.md", content-type = 'text/markdown'}
|
|
13
|
+
license = {text = "MIT License"}
|
|
14
|
+
license-files = ["LICENSE"]
|
|
15
|
+
requires-python = ">=3.11, <3.14"
|
|
16
|
+
dependencies = [
|
|
17
|
+
"ibm-watsonx-orchestrate-core",
|
|
18
|
+
"ibm-watsonx-orchestrate-clients",
|
|
19
|
+
"opentelemetry-api>=1.20.0",
|
|
20
|
+
"opentelemetry-sdk>=1.20.0",
|
|
21
|
+
"opentelemetry-exporter-otlp-proto-http>=1.20.0",
|
|
22
|
+
"langchain-openai>=1.1.0,<2.0.0"
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
[tool.hatch.build.targets.wheel]
|
|
26
|
+
packages = ["ibm_watsonx_orchestrate_sdk"]
|
|
27
|
+
package-data = true
|
|
28
|
+
|
|
29
|
+
[tool.hatch.build]
|
|
30
|
+
include = [
|
|
31
|
+
"./**"
|
|
32
|
+
]
|
|
33
|
+
directory="../../dist"
|
|
34
|
+
|
|
35
|
+
[tool.hatch.version]
|
|
36
|
+
path = "../../src/ibm_watsonx_orchestrate/__init__.py"
|
|
37
|
+
validate-bump=false
|