ragbits-cli 0.1.0__tar.gz → 0.2.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.
- ragbits_cli-0.2.0/CHANGELOG.md +19 -0
- {ragbits_cli-0.1.0 → ragbits_cli-0.2.0}/PKG-INFO +2 -2
- {ragbits_cli-0.1.0 → ragbits_cli-0.2.0}/pyproject.toml +2 -5
- {ragbits_cli-0.1.0 → ragbits_cli-0.2.0}/src/ragbits/cli/__init__.py +5 -1
- {ragbits_cli-0.1.0 → ragbits_cli-0.2.0}/.gitignore +0 -0
- {ragbits_cli-0.1.0 → ragbits_cli-0.2.0}/README.md +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# CHANGELOG
|
|
2
|
+
|
|
3
|
+
## Unreleased
|
|
4
|
+
|
|
5
|
+
## 0.2.0 (2024-10-23)
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Improved performance by lazy-loading the modules (#111 #113 #120)
|
|
10
|
+
- ragbits-core updated to version v0.2.0
|
|
11
|
+
|
|
12
|
+
## 0.1.0 (2024-10-08)
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
|
|
16
|
+
- Initial release of the package.
|
|
17
|
+
- Add prompts lab command.
|
|
18
|
+
- Add prompts generate-promptfoo-configs command.
|
|
19
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: ragbits-cli
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.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
|
|
@@ -17,7 +17,7 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
17
17
|
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
18
18
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
19
19
|
Requires-Python: >=3.10
|
|
20
|
-
Requires-Dist: ragbits-core==0.
|
|
20
|
+
Requires-Dist: ragbits-core==0.2.0
|
|
21
21
|
Requires-Dist: typer>=0.12.5
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
23
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "ragbits-cli"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.2.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"
|
|
@@ -30,10 +30,7 @@ classifiers = [
|
|
|
30
30
|
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
31
31
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
32
32
|
]
|
|
33
|
-
dependencies = [
|
|
34
|
-
"typer>=0.12.5",
|
|
35
|
-
"ragbits-core==0.1.0"
|
|
36
|
-
]
|
|
33
|
+
dependencies = ["typer>=0.12.5", "ragbits-core==0.2.0"]
|
|
37
34
|
|
|
38
35
|
[project.scripts]
|
|
39
36
|
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
|
|
|
@@ -22,8 +23,11 @@ def main() -> None:
|
|
|
22
23
|
cli_enabled_modules = [
|
|
23
24
|
module
|
|
24
25
|
for module in pkgutil.iter_modules(ragbits.__path__)
|
|
25
|
-
if module.ispkg
|
|
26
|
+
if module.ispkg
|
|
27
|
+
and module.name != "cli"
|
|
28
|
+
and (Path(module.module_finder.path) / module.name / "cli.py").exists() # type: ignore
|
|
26
29
|
]
|
|
30
|
+
|
|
27
31
|
for module in cli_enabled_modules:
|
|
28
32
|
register_func = importlib.import_module(f"ragbits.{module.name}.cli").register
|
|
29
33
|
register_func(app)
|
|
File without changes
|
|
File without changes
|