| Name | prompt-blender JSON | 
            
| Version | 
                  0.2.2
                   
                  JSON | 
            
 | download  | 
            
| home_page | None  | 
            
| Summary | Tool designed to automate the generation, execution, and analysis of prompts for use in language learning models (LLMs). It simplifies the task of creating multiple prompts by automatically filling variables within a template, generating a Cartesian product of prompts, and analyzing the results returned by the model's API. | 
            | upload_time | 2025-11-02 05:36:54 | 
            | maintainer | None | 
            
            | docs_url | None | 
            | author | Edans Sandes | 
            
            | requires_python | >=3.11 | 
            
            
            | license | MIT License
        
        Copyright (c) 2024 Edans Sandes
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE. | 
            | keywords | 
                
                    automation
                
                     cross product
                
                     gpt
                
                     llm
                
                     no code
                
                     prompt
                 | 
            | VCS | 
                
                     | 
                
            
            | bugtrack_url | 
                
                 | 
             
            
            | requirements | 
                
                  No requirements were recorded.
                
             | 
            
| Travis-CI | 
                
                   No Travis.
                
             | 
            | coveralls test coverage | 
                
                   No coveralls.
                
             | 
        
        
            
            # ๐ค PromptBlender
**A no-code tool for LLM prompt testing and experimentation at scale**
[](https://pypi.org/project/prompt-blender/)
[](https://pypi.org/project/prompt-blender/)
[](https://github.com/edanssandes/prompt-blender/blob/main/LICENSE)
## ๐ฏ What is PromptBlender?
PromptBlender is a no-code automation tool that simplifies how you test and optimize prompts for Large Language Models (LLMs). Instead of manually testing prompt variations one by one, PromptBlender automatically generates hundreds or thousands of prompt combinations, executes them against your chosen LLM, and provides comprehensive analysis of the results.
Perfect for researchers, data scientists, prompt engineers, and anyone who needs to systematically evaluate LLM performance across different scenarios.
## โจ Key Features
### ๐ฒ **Prompt Generation**
- **Template-Based Approach**: Create prompt templates with variables that get automatically filled
- **Cartesian Product Generation**: Automatically generates all possible combinations of your parameters
- **Multiple Prompt Variants**: Test different prompt formulations simultaneously
### ๐ **Flexible Data Input**
- **Multiple Formats**: Excel (xlsx, xls), CSV, JSON/JSONL, plain text, PDF, DOCX, and images
- **Directory Loading**: Bulk load data from entire directories
- **Dynamic Parameter Merging**: Combine data from multiple sources
### ๐ **LLMs Support**
- **OpenAI GPT Models**: ChatGPT API integration with cost tracking
- **Groq Cloud**: Lightning-fast inference with Llama models
- **Browser-Based Agents**: Automated web interface interaction via BrowserUse
- **Plugin System**: Easy integration with custom APIs and LLM applications
### ๐ **Execution Management**
- **Multiple LLMs Execution**: Execute multiple LLM configurations to compare results
- **Cache System**: Avoid redundant API calls with caching
- **Batch Processing**: Optimize API usage with batching
### ๐ **Analysis & Reporting**
- **Automated Results Processing**: Built-in analysis modules for different response types
- **Cost Tracking**: Budget monitoring and spend limits
- **Export & Sharing**: Complete results packaging with historical tracking
### ๐ฅ๏ธ **Dual Interface Options**
- **Graphical User Interface (GUI)**: User-friendly graphical interface for interactive use
- **Command Line Interface (CLI)**: Command-line interface for automation and scripting
## ๐ Quick Start
### Prerequisites
- **Python 3.11+** (Required)
- **LLM API Access** (OpenAI or Groq)
### ๐ฆ Installation
#### Standard Installation
```bash
pip install prompt-blender
```
#### With Browser Automation Support
```bash
pip install "prompt-blender[browseruse]"
```
#### Current Development Version
```bash
pip install git+https://github.com/edanssandes/prompt-blender
```
### ๐ข Using Conda (Recommended)
Create an isolated environment for better dependency management:
```bash
# Create environment
conda create -n prompt-blender python=3.11
# Activate environment
conda activate prompt-blender
# Install PromptBlender
pip install prompt-blender
```
#### Linux Users
Install wxPython with conda before installing prompt-blender:
```bash
conda install wxpython
```
## ๐ป Usage
### ๐ฅ๏ธ Graphical User Interface (GUI)
Launch the GUI for interactive prompt experimentation:
```bash
python -m prompt-blender
```
The GUI provides a complete workflow:
1. **Import Data**: Load your variables from various file formats
2. **Create Templates**: Design prompt templates with placeholders
3. **Configure LLMs**: Set up your preferred AI models
4. **Generate & Execute**: Automatically create and run all prompt combinations
5. **Analyze Results**: Review comprehensive analysis and export findings
| Main Interface | Execution Configuration |
|---|---|
|  |  |
### โจ๏ธ Command-Line Interface (CLI)
For automation and scripting, create a project using GUI then use CLI to automate runs:
```bash
# Run a prompt blending project
python -m prompt-blender config.pbp --run
# Merge external data
python -m prompt-blender config.pbp --run --merge "questions=new_data.csv"
# Set custom output location
python -m prompt-blender config.pbp --run --output results.zip --overwrite
# Use custom cache directory
python -m prompt-blender config.pbp --run --cache-dir /tmp/cache
# Analyze existing results
python -m prompt-blender --dump-results results.zip
```
#### CLI Options
- `--run`: Execute without GUI
- `--merge`: Merge external CSV/JSON data files
- `--output`: Specify output file location
- `--overwrite`: Overwrite existing results
- `--cache-dir`: Custom cache directory
- `--dump-results`: Analyze existing result files 
## ๐ ๏ธ Advanced Features
### Plugin System
Extend PromptBlender with custom integrations:
- **Custom LLM Providers**: Add support for new APIs
- **Analysis Modules**: Create specialized result processors
- **Data Loaders**: Support new file formats
### Batch Processing
Optimize API usage with intelligent batching:
### Result Analysis
Comprehensive analysis tools:
- **JSON Response Parsing**: Extract structured data
- **Cost Calculation**: Detailed spending reports
- **Performance Metrics**: Spreadsheets presents Response time and allow further results evaluation
- **Export Options**: Full zip export of results
## ๐ค Contributing
We welcome contributions! Here's how you can help:
1. **๐ Report Issues**: Found a bug? Open an issue with details
2. **๐ก Feature Requests**: Suggest new capabilities
3. **๐ง Pull Requests**: Submit code improvements
4. **๐ Documentation**: Help improve our docs
5. **๐งช Testing**: Add test cases and examples
### Development Setup
```bash
git clone https://github.com/edanssandes/prompt-blender
cd prompt-blender
conda create -n prompt-blender-dev python=3.11
conda activate prompt-blender-dev
```
## ๐ License
PromptBlender is released under the **MIT License**. See [LICENSE](LICENSE) for details.
โ ๏ธ **Use at your own risk!**
## ๐ Links
- **๐  Homepage**: [https://github.com/edanssandes/prompt-blender](https://github.com/edanssandes/prompt-blender)
- **๐ฆ PyPI**: [https://pypi.org/project/prompt-blender/](https://pypi.org/project/prompt-blender/)
- **๐ Issues**: [https://github.com/edanssandes/prompt-blender/issues](https://github.com/edanssandes/prompt-blender/issues)
- **๐ง Contact**: [Edans Sandes](https://github.com/edanssandes)
---
**Made with โค๏ธ for the AI community**
            
         
        Raw data
        
            {
    "_id": null,
    "home_page": null,
    "name": "prompt-blender",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.11",
    "maintainer_email": null,
    "keywords": "automation, cross product, gpt, llm, no code, prompt",
    "author": "Edans Sandes",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/55/2f/c42c2177f55b6dd1ba557c6da385be3fd7055c8d922425fb6b5f08ba9780/prompt_blender-0.2.2.tar.gz",
    "platform": null,
    "description": "# \ud83e\udd16 PromptBlender\n\n**A no-code tool for LLM prompt testing and experimentation at scale**\n\n[](https://pypi.org/project/prompt-blender/)\n[](https://pypi.org/project/prompt-blender/)\n[](https://github.com/edanssandes/prompt-blender/blob/main/LICENSE)\n\n## \ud83c\udfaf What is PromptBlender?\n\nPromptBlender is a no-code automation tool that simplifies how you test and optimize prompts for Large Language Models (LLMs). Instead of manually testing prompt variations one by one, PromptBlender automatically generates hundreds or thousands of prompt combinations, executes them against your chosen LLM, and provides comprehensive analysis of the results.\n\nPerfect for researchers, data scientists, prompt engineers, and anyone who needs to systematically evaluate LLM performance across different scenarios.\n\n## \u2728 Key Features\n\n### \ud83c\udfb2 **Prompt Generation**\n- **Template-Based Approach**: Create prompt templates with variables that get automatically filled\n- **Cartesian Product Generation**: Automatically generates all possible combinations of your parameters\n- **Multiple Prompt Variants**: Test different prompt formulations simultaneously\n\n### \ud83d\udcca **Flexible Data Input**\n- **Multiple Formats**: Excel (xlsx, xls), CSV, JSON/JSONL, plain text, PDF, DOCX, and images\n- **Directory Loading**: Bulk load data from entire directories\n- **Dynamic Parameter Merging**: Combine data from multiple sources\n\n### \ud83d\udd0c **LLMs Support**\n- **OpenAI GPT Models**: ChatGPT API integration with cost tracking\n- **Groq Cloud**: Lightning-fast inference with Llama models\n- **Browser-Based Agents**: Automated web interface interaction via BrowserUse\n- **Plugin System**: Easy integration with custom APIs and LLM applications\n\n### \ud83d\udd04 **Execution Management**\n- **Multiple LLMs Execution**: Execute multiple LLM configurations to compare results\n- **Cache System**: Avoid redundant API calls with caching\n- **Batch Processing**: Optimize API usage with batching\n\n### \ud83d\udcc8 **Analysis & Reporting**\n- **Automated Results Processing**: Built-in analysis modules for different response types\n- **Cost Tracking**: Budget monitoring and spend limits\n- **Export & Sharing**: Complete results packaging with historical tracking\n\n### \ud83d\udda5\ufe0f **Dual Interface Options**\n- **Graphical User Interface (GUI)**: User-friendly graphical interface for interactive use\n- **Command Line Interface (CLI)**: Command-line interface for automation and scripting\n\n## \ud83d\ude80 Quick Start\n\n### Prerequisites\n\n- **Python 3.11+** (Required)\n- **LLM API Access** (OpenAI or Groq)\n\n### \ud83d\udce6 Installation\n\n#### Standard Installation\n```bash\npip install prompt-blender\n```\n\n#### With Browser Automation Support\n```bash\npip install \"prompt-blender[browseruse]\"\n```\n\n#### Current Development Version\n```bash\npip install git+https://github.com/edanssandes/prompt-blender\n```\n\n\n### \ud83d\udfe2 Using Conda (Recommended)\n\nCreate an isolated environment for better dependency management:\n\n```bash\n# Create environment\nconda create -n prompt-blender python=3.11\n\n# Activate environment\nconda activate prompt-blender\n\n# Install PromptBlender\npip install prompt-blender\n```\n\n#### Linux Users\n\nInstall wxPython with conda before installing prompt-blender:\n```bash\nconda install wxpython\n```\n\n\n## \ud83d\udcbb Usage\n\n### \ud83d\udda5\ufe0f Graphical User Interface (GUI)\n\nLaunch the GUI for interactive prompt experimentation:\n\n```bash\npython -m prompt-blender\n```\n\nThe GUI provides a complete workflow:\n1. **Import Data**: Load your variables from various file formats\n2. **Create Templates**: Design prompt templates with placeholders\n3. **Configure LLMs**: Set up your preferred AI models\n4. **Generate & Execute**: Automatically create and run all prompt combinations\n5. **Analyze Results**: Review comprehensive analysis and export findings\n\n| Main Interface | Execution Configuration |\n|---|---|\n|  |  |\n\n### \u2328\ufe0f Command-Line Interface (CLI)\n\nFor automation and scripting, create a project using GUI then use CLI to automate runs:\n\n```bash\n# Run a prompt blending project\npython -m prompt-blender config.pbp --run\n\n# Merge external data\npython -m prompt-blender config.pbp --run --merge \"questions=new_data.csv\"\n\n# Set custom output location\npython -m prompt-blender config.pbp --run --output results.zip --overwrite\n\n# Use custom cache directory\npython -m prompt-blender config.pbp --run --cache-dir /tmp/cache\n\n# Analyze existing results\npython -m prompt-blender --dump-results results.zip\n```\n\n#### CLI Options\n- `--run`: Execute without GUI\n- `--merge`: Merge external CSV/JSON data files\n- `--output`: Specify output file location\n- `--overwrite`: Overwrite existing results\n- `--cache-dir`: Custom cache directory\n- `--dump-results`: Analyze existing result files \n\n\n\n## \ud83d\udee0\ufe0f Advanced Features\n\n### Plugin System\nExtend PromptBlender with custom integrations:\n- **Custom LLM Providers**: Add support for new APIs\n- **Analysis Modules**: Create specialized result processors\n- **Data Loaders**: Support new file formats\n\n### Batch Processing\nOptimize API usage with intelligent batching:\n\n### Result Analysis\nComprehensive analysis tools:\n- **JSON Response Parsing**: Extract structured data\n- **Cost Calculation**: Detailed spending reports\n- **Performance Metrics**: Spreadsheets presents Response time and allow further results evaluation\n- **Export Options**: Full zip export of results\n\n\n## \ud83e\udd1d Contributing\n\nWe welcome contributions! Here's how you can help:\n\n1. **\ud83d\udc1b Report Issues**: Found a bug? Open an issue with details\n2. **\ud83d\udca1 Feature Requests**: Suggest new capabilities\n3. **\ud83d\udd27 Pull Requests**: Submit code improvements\n4. **\ud83d\udcd6 Documentation**: Help improve our docs\n5. **\ud83e\uddea Testing**: Add test cases and examples\n\n### Development Setup\n```bash\ngit clone https://github.com/edanssandes/prompt-blender\ncd prompt-blender\nconda create -n prompt-blender-dev python=3.11\nconda activate prompt-blender-dev\n```\n\n## \ud83d\udcc4 License\n\nPromptBlender is released under the **MIT License**. See [LICENSE](LICENSE) for details.\n\n\u26a0\ufe0f **Use at your own risk!**\n\n## \ud83d\udd17 Links\n\n- **\ud83c\udfe0 Homepage**: [https://github.com/edanssandes/prompt-blender](https://github.com/edanssandes/prompt-blender)\n- **\ud83d\udce6 PyPI**: [https://pypi.org/project/prompt-blender/](https://pypi.org/project/prompt-blender/)\n- **\ud83d\udc1b Issues**: [https://github.com/edanssandes/prompt-blender/issues](https://github.com/edanssandes/prompt-blender/issues)\n- **\ud83d\udce7 Contact**: [Edans Sandes](https://github.com/edanssandes)\n\n---\n\n**Made with \u2764\ufe0f for the AI community**\n",
    "bugtrack_url": null,
    "license": "MIT License\n        \n        Copyright (c) 2024 Edans Sandes\n        \n        Permission is hereby granted, free of charge, to any person obtaining a copy\n        of this software and associated documentation files (the \"Software\"), to deal\n        in the Software without restriction, including without limitation the rights\n        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n        copies of the Software, and to permit persons to whom the Software is\n        furnished to do so, subject to the following conditions:\n        \n        The above copyright notice and this permission notice shall be included in all\n        copies or substantial portions of the Software.\n        \n        THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n        SOFTWARE.",
    "summary": "Tool designed to automate the generation, execution, and analysis of prompts for use in language learning models (LLMs). It simplifies the task of creating multiple prompts by automatically filling variables within a template, generating a Cartesian product of prompts, and analyzing the results returned by the model's API.",
    "version": "0.2.2",
    "project_urls": {
        "Repository": "https://github.com/edanssandes/prompt-blender"
    },
    "split_keywords": [
        "automation",
        " cross product",
        " gpt",
        " llm",
        " no code",
        " prompt"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "348bf05de04d52b7bb48687cc8f6b05bbec3cc5595a059a275ce1b05d7423824",
                "md5": "4da8fe721a8ade0c6ef69ad67a39ade5",
                "sha256": "c7b4ac714ee19d7090a78ac8354d4837e8a8ff21495e45fce3ceda8622caf559"
            },
            "downloads": -1,
            "filename": "prompt_blender-0.2.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4da8fe721a8ade0c6ef69ad67a39ade5",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11",
            "size": 66986,
            "upload_time": "2025-11-02T05:36:53",
            "upload_time_iso_8601": "2025-11-02T05:36:53.454286Z",
            "url": "https://files.pythonhosted.org/packages/34/8b/f05de04d52b7bb48687cc8f6b05bbec3cc5595a059a275ce1b05d7423824/prompt_blender-0.2.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "552fc42c2177f55b6dd1ba557c6da385be3fd7055c8d922425fb6b5f08ba9780",
                "md5": "c46229e1726edcc658060b5ba8677a77",
                "sha256": "7b208edb1acaf65d7ae2e16732cd9e69a6876d522ee7ed43936be1debbabe186"
            },
            "downloads": -1,
            "filename": "prompt_blender-0.2.2.tar.gz",
            "has_sig": false,
            "md5_digest": "c46229e1726edcc658060b5ba8677a77",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11",
            "size": 54284,
            "upload_time": "2025-11-02T05:36:54",
            "upload_time_iso_8601": "2025-11-02T05:36:54.933091Z",
            "url": "https://files.pythonhosted.org/packages/55/2f/c42c2177f55b6dd1ba557c6da385be3fd7055c8d922425fb6b5f08ba9780/prompt_blender-0.2.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-11-02 05:36:54",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "edanssandes",
    "github_project": "prompt-blender",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "prompt-blender"
}