tinyeval-cli 0.11.0__py3-none-any.whl → 0.11.1__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.
tinyeval/__main__.py CHANGED
@@ -24,7 +24,9 @@ def main():
24
24
  print("tinyeval needs bash. On Windows, install Git for Windows: https://gitforwindows.org", file=sys.stderr)
25
25
  sys.exit(2)
26
26
  args = [bash, Path(__file__).with_name("tinyeval").as_posix(), *sys.argv[1:]]
27
- env = dict(os.environ, TINYEVAL_PACKAGE_UPDATE="pip install -U tinyeval-cli")
27
+ # tinyeval runs from the repo root, where a uv project keeps uv.lock.
28
+ update = "uv lock --upgrade-package tinyeval-cli" if Path("uv.lock").is_file() else "pip install -U tinyeval-cli"
29
+ env = dict(os.environ, TINYEVAL_PACKAGE_UPDATE=update)
28
30
  if os.name != "nt":
29
31
  os.execve(bash, args, env)
30
32
  signal.signal(signal.SIGINT, signal.SIG_IGN) # bash gets Ctrl-C, stops its jobs and exits with its code
tinyeval/tinyeval CHANGED
@@ -2,7 +2,7 @@
2
2
  # tinyeval: evals for AI features, in one bash file. https://github.com/evalship-hq/tinyeval
3
3
  # Runs on bash 3.2 (macOS) and up with the tools every bash install has. judge also needs curl.
4
4
 
5
- _te_version=0.11.0
5
+ _te_version=0.11.1
6
6
  _te_usage="Usage: tinyeval [-n runs] [-j jobs] [-t seconds] [-k text] [-o file] [-x file] [eval files...]
7
7
  tinyeval update
8
8
  tinyeval share [file]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: tinyeval-cli
3
- Version: 0.11.0
3
+ Version: 0.11.1
4
4
  Summary: Test your Python app's AI calls with evals in a short bash file.
5
5
  Project-URL: Homepage, https://tinyeval.com
6
6
  Project-URL: Source, https://github.com/evalship-hq/tinyeval
@@ -85,7 +85,7 @@ bash 3.2 or later: macOS and Linux have it, and on Windows it comes with [Git fo
85
85
  pip install -U tinyeval-cli
86
86
  ```
87
87
 
88
- With uv: `uv lock --upgrade-package tinyeval`. tinyeval is a normal dependency in your lock file, so Dependabot and Renovate open pull requests for new versions.
88
+ With uv: `uv lock --upgrade-package tinyeval-cli`. tinyeval is a normal dependency in your lock file, so Dependabot and Renovate open pull requests for new versions.
89
89
 
90
90
  ## Links
91
91
 
@@ -0,0 +1,9 @@
1
+ tinyeval/__init__.py,sha256=8c93bHYedqn7Z1FY3qKnZPVx1C2pLLxQQRTLDHubrf0,555
2
+ tinyeval/__main__.py,sha256=aw-p8v3TDG08_gdWrT95QdWBm0NEP7w0q0hJZmjxij4,1368
3
+ tinyeval/_worker.py,sha256=8ESFeEPDiQEBgzN-EhVTE3ihzN1Poph3eqv9em0cqQk,2057
4
+ tinyeval/tinyeval,sha256=zVjTX2CQL-9_oDmGpH_c8nzXKTaakBhr6SsrisoDH8w,39947
5
+ tinyeval_cli-0.11.1.dist-info/METADATA,sha256=Y2YbPo4H8oIpysXn6e3SvguNGJlISNJ8SuJI5JDMHeU,2781
6
+ tinyeval_cli-0.11.1.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
7
+ tinyeval_cli-0.11.1.dist-info/entry_points.txt,sha256=zbbeKph6kqynsSTnYsw6GXht3AVW0_OUiZlljXdHfjY,52
8
+ tinyeval_cli-0.11.1.dist-info/licenses/LICENSE,sha256=OAUZ5hEYd2eL3HwQ6QGW8OKI5guAow01SovJ52NdXUo,1065
9
+ tinyeval_cli-0.11.1.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- tinyeval/__init__.py,sha256=8c93bHYedqn7Z1FY3qKnZPVx1C2pLLxQQRTLDHubrf0,555
2
- tinyeval/__main__.py,sha256=DLhkVORwOIqhmFHECV1w7BZ0Y0nqQpGSQ_Aft5TSe3w,1199
3
- tinyeval/_worker.py,sha256=8ESFeEPDiQEBgzN-EhVTE3ihzN1Poph3eqv9em0cqQk,2057
4
- tinyeval/tinyeval,sha256=frhYlE7dXDJdX2ehKpTZ5PmTO-XHXm9ZxgsyVGxKElo,39947
5
- tinyeval_cli-0.11.0.dist-info/METADATA,sha256=GhWocV355bhpyYlAYLv4GTKgIty9F3Hd2ZJu7C87QHw,2777
6
- tinyeval_cli-0.11.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
7
- tinyeval_cli-0.11.0.dist-info/entry_points.txt,sha256=zbbeKph6kqynsSTnYsw6GXht3AVW0_OUiZlljXdHfjY,52
8
- tinyeval_cli-0.11.0.dist-info/licenses/LICENSE,sha256=OAUZ5hEYd2eL3HwQ6QGW8OKI5guAow01SovJ52NdXUo,1065
9
- tinyeval_cli-0.11.0.dist-info/RECORD,,