ragbits-cli 0.1.0__tar.gz → 0.3.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.
@@ -87,11 +87,13 @@ cmake-build-*/
87
87
  **/.terraform.lock.hcl
88
88
  **/.terraform
89
89
 
90
- # benchmarks
91
- benchmarks/sql/data/
92
-
93
90
  # mkdocs generated files
94
91
  site/
95
92
 
96
93
  # build artifacts
97
94
  dist/
95
+
96
+ # examples
97
+ chroma/
98
+
99
+ .aider*
@@ -0,0 +1,25 @@
1
+ # CHANGELOG
2
+
3
+ ## Unreleased
4
+
5
+ ## 0.3.0 (2024-11-06)
6
+
7
+ ### Changed
8
+
9
+ - ragbits-core updated to version v0.3.0
10
+
11
+ ## 0.2.0 (2024-10-23)
12
+
13
+ ### Changed
14
+
15
+ - Improved performance by lazy-loading the modules (#111 #113 #120)
16
+ - ragbits-core updated to version v0.2.0
17
+
18
+ ## 0.1.0 (2024-10-08)
19
+
20
+ ### Added
21
+
22
+ - Initial release of the package.
23
+ - Add prompts lab command.
24
+ - Add prompts generate-promptfoo-configs command.
25
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: ragbits-cli
3
- Version: 0.1.0
3
+ Version: 0.3.0
4
4
  Summary: A CLI application for ragbits - building blocks for rapid development of GenAI applications
5
5
  Author-email: "deepsense.ai" <ragbits@deepsense.ai>
6
6
  License-Expression: MIT
@@ -14,10 +14,11 @@ Classifier: Operating System :: OS Independent
14
14
  Classifier: Programming Language :: Python :: 3.10
15
15
  Classifier: Programming Language :: Python :: 3.11
16
16
  Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Programming Language :: Python :: 3.13
17
18
  Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
18
19
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
19
20
  Requires-Python: >=3.10
20
- Requires-Dist: ragbits-core==0.1.0
21
+ Requires-Dist: ragbits-core==0.3.0
21
22
  Requires-Dist: typer>=0.12.5
22
23
  Description-Content-Type: text/markdown
23
24
 
File without changes
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "ragbits-cli"
3
- version = "0.1.0"
3
+ version = "0.3.0"
4
4
  description = "A CLI application for ragbits - building blocks for rapid development of GenAI applications"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -27,13 +27,11 @@ classifiers = [
27
27
  "Programming Language :: Python :: 3.10",
28
28
  "Programming Language :: Python :: 3.11",
29
29
  "Programming Language :: Python :: 3.12",
30
+ "Programming Language :: Python :: 3.13",
30
31
  "Topic :: Scientific/Engineering :: Artificial Intelligence",
31
32
  "Topic :: Software Development :: Libraries :: Python Modules",
32
33
  ]
33
- dependencies = [
34
- "typer>=0.12.5",
35
- "ragbits-core==0.1.0"
36
- ]
34
+ dependencies = ["typer>=0.12.5", "ragbits-core==0.3.0"]
37
35
 
38
36
  [project.scripts]
39
37
  ragbits = "ragbits.cli:main"
@@ -1,5 +1,6 @@
1
1
  import importlib.util
2
2
  import pkgutil
3
+ from pathlib import Path
3
4
 
4
5
  from typer import Typer
5
6
 
@@ -18,12 +19,12 @@ def main() -> None:
18
19
  - if found it imports the `register` function from the `cli` module and calls it with the `app` object
19
20
  - register function should add the CLI commands to the `app` object
20
21
  """
21
-
22
22
  cli_enabled_modules = [
23
23
  module
24
24
  for module in pkgutil.iter_modules(ragbits.__path__)
25
- if module.ispkg and module.name != "cli" and importlib.util.find_spec(f"ragbits.{module.name}.cli")
25
+ if module.ispkg and module.name != "cli" and (Path(module.module_finder.path) / module.name / "cli.py").exists() # type: ignore
26
26
  ]
27
+
27
28
  for module in cli_enabled_modules:
28
29
  register_func = importlib.import_module(f"ragbits.{module.name}.cli").register
29
30
  register_func(app)
File without changes