semvec/pypi-packages huggingface dataset:
ibridges-servers-uu 0.3.1
iRODS environments for connecting to Utrecht University YoDa servers
License: MIT
Requires Python: >=3.8

# iRODS environments for Utrecht University YoDa servers

This repository can be used to create an iRODS environment json that is needed to connect to the Utrecht University YoDa servers. 


## Step 1: Install the plugin
Type the following on the command line (in your virtual environment if you use one):

```sh
pip install ibridges-servers-uu
```

## Step 2: Find the right server

On the command line run the following command:

```sh
ibridges setup --list
```

This shows you all the names of the YoDa servers available.

## Step 3: Create your irods_environment.json

In the following examples, we use the `uu-its` server, replace it with the server that is available to your faculty.

```sh
ibridges setup uu-its
```

This will ask for your email address. After filling it in, a file will be created in the default location for the irods environment file (`~/.irods/irods_environment.json` on Linux and MacOS). You can modify this location adding the `--output SOME_NEW_LOCATION` flag to the above command.

## Step 4: Start using iBridges

For the main documentation on how to use iBridges, see the iBridges main [repository](https://github.com/UtrechtUniversity/iBridges).

```sh
ibridges init
```

which will ask you for your data access password, which you can obtain through the YoDa portal.
unitsauce 0.1.1
AI-powered test failure analysis and fix suggestions
License: MIT
Requires Python: >=3.10

# UnitSauce

AI-powered test failure analysis and auto-fix for Python projects.

UnitSauce analyzes failing tests, identifies bugs in your code changes, and generates fixes using Claude AI. Works as a CLI tool or GitHub Action.

---

## Features

- **Automatic failure detection** — Runs pytest and identifies failing tests
- **AI-powered analysis** — Uses Claude to understand the bug from git diff
- **Smart fixes** — Generates minimal code or test fixes
- **Verification** — Confirms the fix actually works before reporting
- **PR comments** — Posts fix suggestions directly to your pull request

---

## Quick Start

### CLI Usage
```bash
pip install unitsauce
```
```bash
# Auto-detect whether to fix code or test
unitsauce /path/to/project

# Force fix code only
unitsauce /path/to/project --mode code

# Force fix test only
unitsauce /path/to/project --mode test

# Output as markdown
unitsauce /path/to/project --output markdown
```

### GitHub Action

Add to your workflow (`.github/workflows/test.yml`):
```yaml
name: Tests
on:
  pull_request:

permissions:
  pull-requests: write

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 2
      
      - uses: actions/setup-python@v5
        with:
          python-version: '3.11'
      
      - name: Install dependencies
        run: pip install pytest
      
      - name: Run tests
        run: pytest
      
      - name: UnitSauce Analysis
        if: failure()
        uses: zanstarasinic/unitsauce@main
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
```

---

## Configuration

### CLI Options

| Option | Description | Default |
|--------|-------------|---------|
| `--mode` | `auto`, `code`, or `test` | `auto` |
| `--output` | `console`, `markdown`, or `json` | `console` |

### Environment Variables

| Variable | Required | Description |
|----------|----------|-------------|
| `ANTHROPIC_API_KEY` | Yes | Your Anthropic API key |
| `GITHUB_TOKEN` | For PR comments | Provided automatically by GitHub Actions |

---

## Requirements

- Python 3.10+
- Git repository
- Anthropic API key
- pytest

---

## How It Works

1. Detects failures — Runs pytest and collects failing tests
2. Analyzes changes — Gets git diff to see what changed
3. Identifies affected code — Maps failures to modified functions
4. Generates fix — Sends context to Claude, gets minimal fix
5. Verifies — Applies fix, runs test again to confirm
6. Reports — Shows diff or posts PR comment

---

## Example PR Comment
```
UnitSauce Analysis

Found 1 failing test(s), fixed 1.

---

test_calculator.py::test_add

Error: assert 6 == 5

Fixed by: Updating test in test_calculator.py

- assert add(2, 3) == 5
+ assert add(2, 3) == 6
```

---

## Local Development
```bash
git clone https://github.com/zanstarasinic/unitsauce.git
cd unitsauce
pip install -e .
```

---

## License

MIT
portcheck-cli 0.1.0
Check what's using a port and optionally kill it
License: MIT
Requires Python: >=3.9
Keywords: port, network, cli, process, kill, lsof

# portcheck

Check what's using a port and optionally kill it.

Simple, fast, with JSON output for automation.

## Installation

```bash
pip install portcheck-cli
```

## Usage

### Check a specific port

```bash
# See what's on port 8080
portcheck check 8080

# Kill whatever's using port 8080
portcheck check 8080 --kill

# Force kill without confirmation
portcheck check 8080 --kill -f -y

# Check UDP port
portcheck check 53 --udp

# Get JSON output
portcheck check 8080 --json
```

### Scan a range of ports

```bash
# Scan ports 8000-9000
portcheck scan 8000 9000

# Get JSON output
portcheck scan 3000 3100 --json
```

### List all listening ports

```bash
portcheck list

# JSON output
portcheck list --json
```

### Kill a process by PID

```bash
portcheck kill 12345
portcheck kill 12345 -f -y  # Force, no confirm
```

## JSON Output

All commands support `--json` for machine-readable output:

```json
[
  {
    "port": 8080,
    "protocol": "TCP",
    "status": "LISTEN",
    "pid": 12345,
    "local_address": "127.0.0.1:8080",
    "name": "python",
    "cmdline": "python -m http.server 8080",
    "user": "ape"
  }
]
```

## For AI Agents

See [SKILL.md](SKILL.md) for agent-optimized documentation.

## License

MIT