pySunshower is a Python library for evaluating AI agents in a declarative way
Project description
pySunshower
pySunshower is a Python library for evaluating AI agents in a declarative way.
Installation
The instructions below explain how to install pySunshower.
Step 1. Clone this repository and change directories to it.
git https://github.com/deathlabs/sunshower.git
cd sunshower
Step 2. Create a Python virtual environment.
python -m venv .venv
Step 3. Activate the Python virtual environment you just created. This step assumes you're working in a Linux-based environment. If you're using another operating system, adjust accordingly.
source .venv/bin/activate
Step 4. Install the Python dependencies.
pip install -r requirements
Usage
The instructions below provide an example of using pySunshower (they assume you are using VS Code in a Linux-based environment and have already completed the Installation instructions above).
Step 1. Add ipykernel, ipywidgets, langchain, and matplotlib to your Python virtual environment.
pip install ipykernel ipywidgets langchain matplotlib
Step 2. Create a file called .env and added your Large Language Model (LLM) provider API keys to it.
Step 3. Create a file called experiments.yaml using example.yaml for reference.
Step 4. Open the provided Jupyter Notebook.
Step 5. Click "Select Kernel" and then click "Python Environments..." when prompted.
Step 6. Select your Python virtual environment.
Step 7. Click "Run All" and review the results at the bottom of the Jupyter Notebook.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pysunshower-0.0.1.tar.gz.
File metadata
- Download URL: pysunshower-0.0.1.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a7907f77fde56c46244fa7a2d4d3b7ff7d4d43cb6c02a1312e8e985e5014798
|
|
| MD5 |
29abc2a9b139ea47f92b257ef9f6d87c
|
|
| BLAKE2b-256 |
f314edecd7353a144c3edaf7732e2eebd3ff1195e1b576d8ab1e9daba64f016e
|
Provenance
The following attestation bundles were made for pysunshower-0.0.1.tar.gz:
Publisher:
publish.yaml on deathlabs/pySunshower
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pysunshower-0.0.1.tar.gz -
Subject digest:
7a7907f77fde56c46244fa7a2d4d3b7ff7d4d43cb6c02a1312e8e985e5014798 - Sigstore transparency entry: 798845940
- Sigstore integration time:
-
Permalink:
deathlabs/pySunshower@4fba36248e64fb0b40b3c6555fa14addafa2c937 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/deathlabs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@4fba36248e64fb0b40b3c6555fa14addafa2c937 -
Trigger Event:
release
-
Statement type:
File details
Details for the file pysunshower-0.0.1-py3-none-any.whl.
File metadata
- Download URL: pysunshower-0.0.1-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7e8c217dced46aa7f0a9e2dd7b784a318cb0169a059ef03f837e8f4d336435f
|
|
| MD5 |
58976aa3b7e7031563fbd61d86b7b49e
|
|
| BLAKE2b-256 |
e5a3d06dcd432bc2a9d8814ac509693da88dbe64adfe032c46f5b299a13278a9
|
Provenance
The following attestation bundles were made for pysunshower-0.0.1-py3-none-any.whl:
Publisher:
publish.yaml on deathlabs/pySunshower
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pysunshower-0.0.1-py3-none-any.whl -
Subject digest:
a7e8c217dced46aa7f0a9e2dd7b784a318cb0169a059ef03f837e8f4d336435f - Sigstore transparency entry: 798845944
- Sigstore integration time:
-
Permalink:
deathlabs/pySunshower@4fba36248e64fb0b40b3c6555fa14addafa2c937 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/deathlabs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@4fba36248e64fb0b40b3c6555fa14addafa2c937 -
Trigger Event:
release
-
Statement type: