labubu 0.1.0__py3-none-win_amd64.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.
- labubu/__init__.py +3 -0
- labubu/__main__.py +5 -0
- labubu/bin/labubu.exe +0 -0
- labubu/cli.py +32 -0
- labubu-0.1.0.dist-info/METADATA +106 -0
- labubu-0.1.0.dist-info/RECORD +9 -0
- labubu-0.1.0.dist-info/WHEEL +5 -0
- labubu-0.1.0.dist-info/entry_points.txt +2 -0
- labubu-0.1.0.dist-info/top_level.txt +2 -0
labubu/__init__.py
ADDED
labubu/__main__.py
ADDED
labubu/bin/labubu.exe
ADDED
|
Binary file
|
labubu/cli.py
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"""CLI entry point: locate and execute the bundled Go binary."""
|
|
2
|
+
import os
|
|
3
|
+
import subprocess
|
|
4
|
+
import sys
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
def _get_binary_path():
|
|
8
|
+
"""Return the path to the bundled Go binary."""
|
|
9
|
+
pkg_dir = os.path.dirname(os.path.abspath(__file__))
|
|
10
|
+
binary = os.path.join(pkg_dir, "bin", "labubu")
|
|
11
|
+
if sys.platform == "win32":
|
|
12
|
+
binary += ".exe"
|
|
13
|
+
return binary
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def main():
|
|
17
|
+
"""Locate the Go binary and execute it with all CLI arguments."""
|
|
18
|
+
binary = _get_binary_path()
|
|
19
|
+
|
|
20
|
+
if not os.path.isfile(binary):
|
|
21
|
+
print(
|
|
22
|
+
f"Error: labubu binary not found at {binary}",
|
|
23
|
+
file=sys.stderr,
|
|
24
|
+
)
|
|
25
|
+
print(
|
|
26
|
+
"Try reinstalling: pip install --force-reinstall labubu",
|
|
27
|
+
file=sys.stderr,
|
|
28
|
+
)
|
|
29
|
+
sys.exit(1)
|
|
30
|
+
|
|
31
|
+
result = subprocess.run([binary] + sys.argv[1:])
|
|
32
|
+
sys.exit(result.returncode)
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: labubu
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Local-first LLM observability platform
|
|
5
|
+
Author: Wendymayu
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/Wendymayu/labubu
|
|
8
|
+
Project-URL: Repository, https://github.com/Wendymayu/labubu
|
|
9
|
+
Project-URL: Issues, https://github.com/Wendymayu/labubu/issues
|
|
10
|
+
Keywords: llm,observability,tracing,otlp,mcp,ai
|
|
11
|
+
Classifier: Development Status :: 4 - Beta
|
|
12
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
19
|
+
Classifier: Topic :: System :: Monitoring
|
|
20
|
+
Classifier: Topic :: Software Development :: Testing
|
|
21
|
+
Classifier: Intended Audience :: Developers
|
|
22
|
+
Requires-Python: >=3.9
|
|
23
|
+
Description-Content-Type: text/markdown
|
|
24
|
+
|
|
25
|
+
# Labubu
|
|
26
|
+
|
|
27
|
+
Local-first LLM observability platform.
|
|
28
|
+
|
|
29
|
+
## Installation
|
|
30
|
+
|
|
31
|
+
### From PyPI (recommended)
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
pip install labubu
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
PyPI hosts one wheel per platform (the wheel bundles the Go binary), so `pip`
|
|
38
|
+
auto-selects the correct one.
|
|
39
|
+
|
|
40
|
+
### From GitHub Release
|
|
41
|
+
|
|
42
|
+
Install the wheel matching your platform directly from GitHub Releases:
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
# Linux x86_64
|
|
46
|
+
pip install https://github.com/Wendymayu/labubu/releases/download/v0.1.0/labubu-0.1.0-py3-none-linux_x86_64.whl
|
|
47
|
+
|
|
48
|
+
# Linux ARM64
|
|
49
|
+
pip install https://github.com/Wendymayu/labubu/releases/download/v0.1.0/labubu-0.1.0-py3-none-linux_aarch64.whl
|
|
50
|
+
|
|
51
|
+
# macOS Intel
|
|
52
|
+
pip install https://github.com/Wendymayu/labubu/releases/download/v0.1.0/labubu-0.1.0-py3-none-macosx_10_9_x86_64.whl
|
|
53
|
+
|
|
54
|
+
# macOS Apple Silicon
|
|
55
|
+
pip install https://github.com/Wendymayu/labubu/releases/download/v0.1.0/labubu-0.1.0-py3-none-macosx_11_0_arm64.whl
|
|
56
|
+
|
|
57
|
+
# Windows
|
|
58
|
+
pip install https://github.com/Wendymayu/labubu/releases/download/v0.1.0/labubu-0.1.0-py3-none-win_amd64.whl
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Replace `v0.1.0` with the desired version. Available releases: [github.com/Wendymayu/labubu/releases](https://github.com/Wendymayu/labubu/releases)
|
|
62
|
+
|
|
63
|
+
### Standalone Binary
|
|
64
|
+
|
|
65
|
+
Download the raw binary for your platform from the [Releases page](https://github.com/Wendymayu/labubu/releases):
|
|
66
|
+
|
|
67
|
+
| Platform | File |
|
|
68
|
+
|----------|------|
|
|
69
|
+
| Linux x86_64 | `labubu-linux-amd64` |
|
|
70
|
+
| Linux ARM64 | `labubu-linux-arm64` |
|
|
71
|
+
| macOS Intel | `labubu-darwin-amd64` |
|
|
72
|
+
| macOS Apple Silicon | `labubu-darwin-arm64` |
|
|
73
|
+
| Windows | `labubu-windows-amd64.exe` |
|
|
74
|
+
|
|
75
|
+
## Quick Start
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
labubu serve
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
Then open [http://localhost:8080](http://localhost:8080) for the UI.
|
|
82
|
+
|
|
83
|
+
Configure your agent to send OTLP traces to `http://localhost:4318`.
|
|
84
|
+
|
|
85
|
+
## Commands
|
|
86
|
+
|
|
87
|
+
| Command | Description |
|
|
88
|
+
|---------|-------------|
|
|
89
|
+
| `labubu serve` | Start the server (default port 8080) |
|
|
90
|
+
| `labubu version` | Print version information |
|
|
91
|
+
| `labubu help` | Show help |
|
|
92
|
+
|
|
93
|
+
### Serve Options
|
|
94
|
+
|
|
95
|
+
| Flag | Default | Description |
|
|
96
|
+
|------|---------|-------------|
|
|
97
|
+
| `--port` | 8080 | API & UI listen port |
|
|
98
|
+
| `--log-level` | info | Log level: debug, info, warn, error |
|
|
99
|
+
| `--buffer-size` | 1000 | Pipeline buffer capacity |
|
|
100
|
+
| `--flush-interval` | 200ms | Pipeline flush interval |
|
|
101
|
+
|
|
102
|
+
## Example
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
labubu serve --port 9090 --log-level debug
|
|
106
|
+
```
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
labubu/__init__.py,sha256=e4eCr-ZwHwyQ9zGeO3HsZLcpgroi5rUiMzxyl9CEZeY,80
|
|
2
|
+
labubu/__main__.py,sha256=cLeFZItZWpg-qECksvtxAlBB4gzcdIZ2HqDhyQ7fqsA,120
|
|
3
|
+
labubu/cli.py,sha256=acl7sHonhAPSeen-1639zvWCjhtfwtCFqXi3gMkybN0,893
|
|
4
|
+
labubu/bin/labubu.exe,sha256=cW8troakU8_lSDeGpBWWxU9KlQRwZnRSKfXhuITw_EM,30021632
|
|
5
|
+
labubu-0.1.0.dist-info/METADATA,sha256=lZkORBMBtpUd-5n-8v7DUn_VaA19la5Wy1M9jOw1Pqg,3354
|
|
6
|
+
labubu-0.1.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
7
|
+
labubu-0.1.0.dist-info/entry_points.txt,sha256=Y1lWX6QD9TQ_DFrTwDUe_fs8JhzhwYZW-vF2si7HVrE,43
|
|
8
|
+
labubu-0.1.0.dist-info/top_level.txt,sha256=cM8F2GQ6mM-fvgrL9aS6Vscn-ifKBREY-QVoX8Pkcdo,12
|
|
9
|
+
labubu-0.1.0.dist-info/RECORD,,
|