cubest 0.1.0 → 1.0.0

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.
package/README.ar.md CHANGED
@@ -42,7 +42,7 @@
42
42
  curl -O https://raw.githubusercontent.com/BaryshevS/cubest/main/cubest.py
43
43
  python3 cubest.py --profile file_tree .
44
44
 
45
- # عبر pip (سيُنشر على PyPI قريبًا)
45
+ # عبر pip من PyPI (يتضمّن PyYAML)
46
46
  pip install cubest
47
47
  cubest --profile file_tree .
48
48
 
package/README.bn.md CHANGED
@@ -43,7 +43,7 @@ cubest হারতেও পারে। মূল পরিস্থিতি
43
43
  curl -O https://raw.githubusercontent.com/BaryshevS/cubest/main/cubest.py
44
44
  python3 cubest.py --profile file_tree .
45
45
 
46
- # pip-এর মাধ্যমে (PyPI-তে শীঘ্রই)
46
+ # PyPI থেকে pip-এর মাধ্যমে (PyYAML অন্তর্ভুক্ত)
47
47
  pip install cubest
48
48
  cubest --profile file_tree .
49
49
 
package/README.es.md CHANGED
@@ -40,7 +40,7 @@ Cubest gana en **flujos grandes y datos jerárquicos**. Para tablas muy pequeña
40
40
  curl -O https://raw.githubusercontent.com/BaryshevS/cubest/main/cubest.py
41
41
  python3 cubest.py --profile file_tree .
42
42
 
43
- # Vía pip (publicación en PyPI próximamente)
43
+ # Vía pip desde PyPI (PyYAML incluido)
44
44
  pip install cubest
45
45
  cubest --profile file_tree .
46
46
 
package/README.hi.md CHANGED
@@ -42,7 +42,7 @@ Cubest **बड़े प्रवाह और श्रेणीबद्ध
42
42
  curl -O https://raw.githubusercontent.com/BaryshevS/cubest/main/cubest.py
43
43
  python3 cubest.py --profile file_tree .
44
44
 
45
- # pip के ज़रिये (PyPI पर जल्द उपलब्ध)
45
+ # PyPI से pip के ज़रिये (PyYAML शामिल)
46
46
  pip install cubest
47
47
  cubest --profile file_tree .
48
48
 
package/README.ja.md CHANGED
@@ -42,7 +42,7 @@ Cubest は**大きなストリームと階層データ**で勝ちます。非常
42
42
  curl -O https://raw.githubusercontent.com/BaryshevS/cubest/main/cubest.py
43
43
  python3 cubest.py --profile file_tree .
44
44
 
45
- # pip 経由(PyPI 公開予定)
45
+ # PyPI から pip 経由(PyYAML 同梱)
46
46
  pip install cubest
47
47
  cubest --profile file_tree .
48
48
 
package/README.md CHANGED
@@ -10,9 +10,11 @@
10
10
  > pays per input token.
11
11
 
12
12
  <p align="left">
13
+ <a href="https://pypi.org/project/cubest/"><img src="https://img.shields.io/pypi/v/cubest.svg?logo=pypi&logoColor=white&label=PyPI" alt="PyPI version"></a>
14
+ <a href="https://www.npmjs.com/package/cubest"><img src="https://img.shields.io/npm/v/cubest.svg?logo=npm&logoColor=white&label=npm" alt="npm version"></a>
15
+ <a href="https://pypi.org/project/cubest/"><img src="https://img.shields.io/pypi/dm/cubest.svg?logo=pypi&logoColor=white&label=PyPI%20downloads" alt="PyPI downloads/month"></a>
13
16
  <a href="LICENSE"><img src="https://img.shields.io/badge/license-Apache%202.0-blue.svg" alt="License Apache 2.0"></a>
14
17
  <img src="https://img.shields.io/badge/python-3.8%2B-blue.svg" alt="Python 3.8+">
15
- <img src="https://img.shields.io/badge/deps-stdlib%20only-green.svg" alt="stdlib only">
16
18
  <img src="https://img.shields.io/badge/tests-57%20passing-brightgreen.svg" alt="57 tests passing">
17
19
  <img src="https://img.shields.io/badge/profiles-31%20built--in-purple.svg" alt="31 profiles">
18
20
  <img src="https://img.shields.io/badge/formats-13-orange.svg" alt="13 output formats">
@@ -79,24 +81,26 @@ Just `python3 cubest.py --profile ... <path>`.
79
81
  ## 🚀 Install
80
82
 
81
83
  ```bash
82
- # Option A — plain download (no deps, JSON profiles work as-is)
83
- curl -O https://raw.githubusercontent.com/BaryshevS/cubest/main/cubest.py
84
- python3 cubest.py --profile file_tree .
85
-
86
- # Option B — pip (PyPI publish coming)
84
+ # Option A — pip from PyPI (PyYAML bundled)
87
85
  pip install cubest
88
86
  cubest --profile file_tree .
89
87
 
90
- # Option Cephemeral via uv, no venv needed
88
+ # Option Bnpx from npm (thin wrapper, delegates to python3)
89
+ npx cubest --profile file_tree .
90
+
91
+ # Option C — plain download, single file, no venv
92
+ curl -O https://raw.githubusercontent.com/BaryshevS/cubest/main/cubest.py
93
+ pip install PyYAML # only needed for YAML profiles / output
94
+ python3 cubest.py --profile file_tree .
95
+
96
+ # Option D — ephemeral via uv, no venv, no install
91
97
  uv run --with pyyaml \
92
98
  https://raw.githubusercontent.com/BaryshevS/cubest/main/cubest.py \
93
99
  --profile file_tree .
94
-
95
- # Option D — npm wrapper (delegates to python3)
96
- npx cubest --profile file_tree .
97
100
  ```
98
101
 
99
- Only optional dependency is `PyYAML` (for YAML profiles / YAML output).
102
+ `pip install cubest` and `npx cubest` pull `PyYAML` automatically.
103
+ The `curl` variant runs standalone but needs `PyYAML` for YAML profiles.
100
104
 
101
105
  ## 🔌 AI agent integration
102
106
 
package/README.pa.md CHANGED
@@ -44,7 +44,7 @@ sitemap ਕ੍ਰੌਲ — ਵਿੱਚ ਏਜੰਟ ਦੇ ਸੰਦਰਭ ਵ
44
44
  curl -O https://raw.githubusercontent.com/BaryshevS/cubest/main/cubest.py
45
45
  python3 cubest.py --profile file_tree .
46
46
 
47
- # pip ਰਾਹੀਂ (PyPI ਉੱਤੇ ਜਲਦੀ ਹੀ)
47
+ # PyPI ਤੋਂ pip ਰਾਹੀਂ (PyYAML ਸ਼ਾਮਲ)
48
48
  pip install cubest
49
49
  cubest --profile file_tree .
50
50
 
package/README.pt.md CHANGED
@@ -44,7 +44,7 @@ do agente diminuem entre 5–25×.
44
44
  curl -O https://raw.githubusercontent.com/BaryshevS/cubest/main/cubest.py
45
45
  python3 cubest.py --profile file_tree .
46
46
 
47
- # Via pip (em breve no PyPI)
47
+ # Via pip do PyPI (PyYAML incluído)
48
48
  pip install cubest
49
49
  cubest --profile file_tree .
50
50
 
package/README.zh-CN.md CHANGED
@@ -47,7 +47,7 @@ sitemap 爬虫 —— 落入代理上下文的 token 减少 5–25 倍。
47
47
  curl -O https://raw.githubusercontent.com/BaryshevS/cubest/main/cubest.py
48
48
  python3 cubest.py --profile file_tree .
49
49
 
50
- # 选项 B —— 通过 pip 安装(PyPI 即将发布)
50
+ # 选项 B —— 通过 pip 从 PyPI 安装(自带 PyYAML)
51
51
  pip install cubest
52
52
  cubest --profile file_tree .
53
53
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cubest",
3
- "version": "0.1.0",
3
+ "version": "1.0.0",
4
4
  "description": "Single-pass OLAP aggregator over any text stream (code, logs, CSV, JSONL, XML, SDD artefacts) → 12 output formats including ECharts HTML. Token-cheap alternative to grep+cat chains for LLM agents. npm wrapper — installs Python cubest via pipx or delegates to python3.",
5
5
  "keywords": [
6
6
  "olap", "aggregator", "cli", "log-analysis", "observability", "sre",
@@ -0,0 +1,3 @@
1
+ # Marker file so setuptools can ship the YAML profiles as package_data.
2
+ # The actual profiles are loaded by cubest.py via get_profiles_dir(),
3
+ # which reads YAML files directly — no imports from this package.