semvec/pypi-packages huggingface dataset:
CGMmissingData 0.1.1
MICE + Random Forest + KNN to handle missing values of CGM device
Requires Python: >=3.9

# CGMmissingData

CGMmissingData is a simple missing-data benchmarking package that runs:

MICE imputation (IterativeImputer)

Random Forest regression

KNN regression

It helps you test model performance under different missing-value rates.


Your CSV must include at least these columns:

LBORRES — glucose value (target)

TimeSeries — time series data

TimeDifferenceMinutes — time difference in minutes

USUBJID — subject ID

How to Run?
- Install python on your device. I am showing all the steps 
- Go to your project folder. e.g., cd C:\XYZ\Downloads\CGMmissingData_project
- Create venv (if not already created):
py -m venv .venv
- Activate venv:
.\.venv\Scripts\activate.bat
- Install and Verify
python -m pip install --upgrade pip
pip install -e .
python -c "import CGMmissingData; print(CGMmissingData.__file__)"

- Go to Powershell and paste the following. Make sure you have replaced the location.
Set-Location "C:\XYZ\\CGMmissingData_project\CGMmissingData_project"
Get-ChildItem
- Paste it:
.\.venv\Scripts\python.exe -c "from CGMmissingData import run_missingness_benchmark; r=run_missingness_benchmark('CGMExampleData.csv', mask_rates=[0.05,0.10,0.20,0.30,0.40]); print(r); r.to_csv('results.csv', index=False)"

Instead of 'CGMExampleData.csv, you can replace with your csv name.
- Done!
agent-environment 0.4.0
Environmental Abstraction for General Agent.
Requires Python: <4.0,>=3.10
Keywords: python

# agent-environment

[![Release](https://img.shields.io/github/v/release/youware-labs/agent-environment)](https://img.shields.io/github/v/release/youware-labs/agent-environment)
[![Build status](https://img.shields.io/github/actions/workflow/status/youware-labs/agent-environment/main.yml?branch=main)](https://github.com/youware-labs/agent-environment/actions/workflows/main.yml?query=branch%3Amain)
[![codecov](https://codecov.io/gh/youware-labs/agent-environment/branch/main/graph/badge.svg)](https://codecov.io/gh/youware-labs/agent-environment)
[![Commit activity](https://img.shields.io/github/commit-activity/m/youware-labs/agent-environment)](https://img.shields.io/github/commit-activity/m/youware-labs/agent-environment)
[![License](https://img.shields.io/github/license/youware-labs/agent-environment)](https://img.shields.io/github/license/youware-labs/agent-environment)

Environmental Abstraction for the General Agent.
pipewire-capture 0.2.9
Python library for PipeWire video capture with pre-built wheels
Requires Python: >=3.9
Keywords: pipewire, wayland, screen-capture, video, linux

# pipewire-capture

[![PyPI version](https://badge.fury.io/py/pipewire-capture.svg)](https://pypi.org/project/pipewire-capture/)

Python library for PipeWire video capture with pre-built wheels.

This library provides PipeWire-based video capture for Wayland Linux environments, using the xdg-desktop-portal ScreenCast interface for window selection. It's distributed as pre-built wheels, so no compilation or system dependencies are needed for installation.

## Features

- **Window selection** via xdg-desktop-portal (works on GNOME, KDE, Gamescope, etc.)
- **Frame capture** via PipeWire streams
- **Pre-built wheels** - no compilation required
- **Python 3.9+** support via stable ABI

## Installation

```bash
pip install pipewire-capture
```

## Requirements

- Linux with Wayland
- PipeWire (installed by default on modern Linux distributions)
- xdg-desktop-portal with ScreenCast support

## Usage

```python
from pipewire_capture import PortalCapture, CaptureStream, is_available

# Check if capture is available
if not is_available():
    print("PipeWire capture not available (not running on Wayland)")
    exit(1)

# Show window picker and select a window
portal = PortalCapture()

def on_window_selected(success: bool):
    if not success:
        print("Window selection cancelled")
        return

    # Get PipeWire stream info
    stream_info = portal.get_stream_info()
    if stream_info is None:
        print("No stream available")
        return

    fd, node_id, width, height = stream_info

    # Start capturing frames
    stream = CaptureStream(fd, node_id, width, height, capture_interval=0.25)
    stream.start()

    # Get frames
    for _ in range(10):
        frame = stream.get_frame()  # numpy array (H, W, 4) BGRA
        if frame is not None:
            print(f"Got frame: {frame.shape}")

        if stream.window_invalid:
            print("Window was closed")
            break

    stream.stop()
    portal.close()

portal.select_window(on_window_selected)
```

## API Reference

### `is_available() -> bool`

Check if PipeWire capture is available on this system.

### `PortalCapture`

Handles window selection via xdg-desktop-portal.

- `select_window(callback)` - Show window picker, calls callback with success/failure
- `get_stream_info()` - Returns `(fd, node_id, width, height)` tuple or `None`
- `close()` - Release resources

### `CaptureStream`

Captures frames from a PipeWire stream.

- `CaptureStream(fd, node_id, width, height, capture_interval=0.25)` - Create stream
- `start()` - Start capturing
- `get_frame()` - Get latest frame as numpy array (BGRA)
- `window_invalid` - Property: True if window was closed
- `stop()` - Stop capturing

## Building from source

Requirements:
- Rust toolchain
- maturin (`pip install maturin`)
- PipeWire development libraries

```bash
# Development build
maturin develop

# Release build
maturin build --release
```

## License

MIT
cc-vault 0.1.2
Automatic Claude Code session sync
Requires Python: >=3.10
Keywords: ai, claude, logging, sync

# CC-Vault

Automatic Claude Code session backup and search. Your conversations, synced and searchable.

## Installation

```bash
pip install cc-vault
```

## Quick Start

### 1. Authenticate

```bash
cv auth
```

Opens your browser for GitHub login. Once approved, the CLI stores a refresh token locally.

### 2. Enable Auto-Sync

```bash
cv install && source ~/.bashrc
```

This installs a shim that automatically uploads sessions after each `claude` command.

### 3. Use Claude Normally

```bash
claude
```

Sessions are automatically synced when you exit.

## CLI Commands

| Command | Description |
|---------|-------------|
| `cv auth` | Authenticate with GitHub |
| `cv sync` | Manually sync recent sessions (last 7 days) |
| `cv sync --days 30` | Sync sessions from last 30 days |
| `cv install` | Install claude shim for auto-sync |
| `cv uninstall` | Remove the claude shim |
| `cv status` | Show authentication and shim status |

## How It Works

### Authentication

1. Run `cv auth`
2. Browser opens for GitHub login
3. Approve the device code shown in terminal
4. CLI saves token to `~/.config/cc-vault/config.yaml`

### Auto-Sync

1. `cv install` creates a shim that wraps the `claude` command
2. When you run `claude`, the shim runs the real Claude CLI
3. After Claude exits, new/modified sessions are uploaded automatically

## Configuration

Config is stored at `~/.config/cc-vault/config.yaml`:

```yaml
api_base_url: https://your-backend-url.com
refresh_token: eyJ...
user_id: user_abc123
```

## Claude Code Data Location

Sessions are read from:
- **Windows**: `%LOCALAPPDATA%\claude\projects\`
- **Mac/Linux**: `~/.claude/projects/`

## License

MIT