beekeeper-monitors-watsonx 1.0.5__py3-none-any.whl
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 beekeeper-monitors-watsonx might be problematic. Click here for more details.
- beekeeper/monitors/watsonx/__init__.py +21 -0
- beekeeper/monitors/watsonx/base.py +1900 -0
- beekeeper/monitors/watsonx/instrumentation.py +19 -0
- beekeeper_monitors_watsonx-1.0.5.dist-info/METADATA +24 -0
- beekeeper_monitors_watsonx-1.0.5.dist-info/RECORD +6 -0
- beekeeper_monitors_watsonx-1.0.5.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import contextlib
|
|
2
|
+
import io
|
|
3
|
+
from typing import Any, Callable
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def suppress_output(fn: Callable, *args: Any, **kwargs: Any) -> Any:
|
|
7
|
+
"""
|
|
8
|
+
Runs the given function while suppressing all print output (stdout).
|
|
9
|
+
|
|
10
|
+
Args:
|
|
11
|
+
fn: The function to run silently.
|
|
12
|
+
*args: Positional arguments for the function.
|
|
13
|
+
**kwargs: Keyword arguments for the function.
|
|
14
|
+
|
|
15
|
+
Returns:
|
|
16
|
+
The return value of the function.
|
|
17
|
+
"""
|
|
18
|
+
with contextlib.redirect_stdout(io.StringIO()):
|
|
19
|
+
return fn(*args, **kwargs)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: beekeeper-monitors-watsonx
|
|
3
|
+
Version: 1.0.5
|
|
4
|
+
Summary: beekeeper monitors watsonx extension
|
|
5
|
+
Author-email: Leonardo Furnielis <leonardofurnielis@outlook.com>
|
|
6
|
+
License: Apache-2.0
|
|
7
|
+
Requires-Python: <4.0,>=3.10
|
|
8
|
+
Requires-Dist: beekeeper-core<2.0.0,>=1.0.4
|
|
9
|
+
Requires-Dist: certifi<2026.0.0,>=2025.4.26
|
|
10
|
+
Requires-Dist: ibm-aigov-facts-client<1.0.97,>=1.0.96
|
|
11
|
+
Requires-Dist: ibm-watson-openscale<3.1.0,>=3.0.49
|
|
12
|
+
Requires-Dist: ibm-watsonx-ai<2.0.0,>=1.3.26
|
|
13
|
+
Requires-Dist: ipython==8.37.0
|
|
14
|
+
Provides-Extra: dev
|
|
15
|
+
Requires-Dist: ruff>=0.11.13; extra == 'dev'
|
|
16
|
+
Description-Content-Type: text/markdown
|
|
17
|
+
|
|
18
|
+
# Beekeeper monitors extension - watsonx
|
|
19
|
+
|
|
20
|
+
## Installation
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
pip install beekeeper-monitors-watsonx
|
|
24
|
+
```
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
beekeeper/monitors/watsonx/__init__.py,sha256=erL0eO3J4wf1_i8kwK242uyXkMPElY3uftW6-ThqGow,521
|
|
2
|
+
beekeeper/monitors/watsonx/base.py,sha256=uvBbVMtxGnc254ZTcURaBA6MBG06uGl-Bf8pohvbtCo,69734
|
|
3
|
+
beekeeper/monitors/watsonx/instrumentation.py,sha256=ztgR1kZ9h-JvASzRA47AYHdc-Isv33EQum9XBLg-dQk,525
|
|
4
|
+
beekeeper_monitors_watsonx-1.0.5.dist-info/METADATA,sha256=WxoWMqr0J97zHCAlgZBGzVrLTfcu7LBRngHsLWBYs1o,716
|
|
5
|
+
beekeeper_monitors_watsonx-1.0.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
6
|
+
beekeeper_monitors_watsonx-1.0.5.dist-info/RECORD,,
|