semvec/pypi-packages huggingface dataset:
pyinit-dev 0.1
A CLI tool to scaffold Python projects with venv and folder structure
License: MIT
Requires Python: >=3.13
Keywords: python cli scaffold virtualenv project setup

Here’s a complete “How To” guide to set up and run your pyinit CLI tool on any OS using pipx, with support for virtual environment creation and folder scaffolding.

⸻

✅ How to Set Up and Use pyinit CLI (Cross-Platform Guide)

📁 1. Clone the project

```
https://github.com/Martins-O/pyinit.git
```
⸻

🧰 2. Install pipx (if not installed)

> macOS or Linux:

> ``` brew install pipx ```        # macOS
> 
> ```python3 -m pip install --user pipx```
> 
> ```pipx ensurepath```

> Windows (via PowerShell):

> ``` python -m pip install --user pipx ```
> 
>  ``` pipx ensurepath ```

> Restart your terminal after pipx ensurepath.

⸻

🚀 4. Install pyinit using pipx

> In the terminal, navigate to the root of your pyinit project:

> ``` cd pyinit ```
> 
> ``` pipx install . ```

> ✅ This makes the pyinit command available globally.

⸻

✅ 5. Usage

>Now you can run pyinit from anywhere in your terminal:

> ``` pyinit ```

> It will:
>> -	Ask whether to create a new project or use an existing one.
>> -	If new: ask for project name, subfolders, etc.
>> -	If existing: ask for path and set up folders.
>> -	Create a Python virtual environment.
>> -	Display activation instructions.
>> -	(Optionally) auto-open a terminal for you.

⸻

💡 Notes
>> - To uninstall:

> ``` pipx uninstall pyinit ```

⸻

Usage Example:
> ![img.png](img.png)
optimus-prompt 0.1.0
Compare responses from different LLMs to the same prompt
License: MIT
Requires Python: <4.0,>=3.9

# Optimus Prompt 🤖

Compare responses from different Language Learning Models (LLMs) to the same prompt.

## Features

- Support for multiple LLM providers:
  - OpenAI (GPT-3.5, GPT-4)
  - Anthropic (Claude)
- Simple prompt input via text file
- Human-readable output format
- Easy to extend with new providers

## Installation

```bash
pip install optimus-prompt
```

## Quick Start

1. Create a `prompt.txt` file with your prompt:
```text
Explain quantum computing in simple terms
```

2. Set up your API keys in a `.env` file:
```env
OPENAI_API_KEY=your_openai_key_here
ANTHROPIC_API_KEY=your_anthropic_key_here
```

3. Run Prompt Prism:
```python
from optimus_prompt.core import Prompt
from optimus_prompt.providers import OpenAIProvider, AnthropicProvider
from optimus_prompt.core import ResponseWriter

# Initialize providers
providers = [
    OpenAIProvider(model="gpt-4"),
    AnthropicProvider(model="claude-3")
]

# Read prompt from file
with open("prompt.txt", "r") as f:
    prompt_text = f.read().strip()
prompt = Prompt(prompt_text)

# Collect responses
responses = []
for provider in providers:
    response = provider.generate(prompt)
    responses.append(response)

# Write responses to file
writer = ResponseWriter("output.txt")
writer.write(prompt, responses)
```

## Development

### Setup

1. Clone the repository:
```bash
git clone https://github.com/yourusername/optimus-prompt.git
cd optimus-prompt
```

2. Install Poetry (if not already installed):
```bash
pip install poetry
```

3. Install dependencies:
```bash
poetry install
```

### Running Tests

```bash
poetry run pytest
```

## Contributing

We welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.