semvec/pypi-packages huggingface dataset:
mcp-windows 0.1.0
MCP server for the windows API.
Requires Python: >=3.13

# mcp-windows

MCP server for the windows API.

## Installation

add this to your claude mcp config:

```json
{
  "mcpServers": {
    "windows": {
      "command": "uvx",
      "args": [
        "mcp-windows"
      ]
    }
  }
}
```

or locally:

```json
{
  "mcpServers": {
    "windows": {
      "command": "uv",
      "args": [
        "--directory",
        "C:\\Users\\{name}\\Documents\\mcp-windows",
        "run",
        "mcp-windows"
      ]
    }
  }
}
```

## Features

### Media

- get_media_sessions
- pause
- play
- next
- previous

### Notifications

- send_toast

### Window Management

- get_foreground_window_info
- get_window_list
- focus_window
- close_window
- minimize_window

### screenshot

- screenshot_window

### Monitors

- sleep_monitors
- wake_monitors

### Theme

- set_theme_mode (light, dark)
- get_theme_mode

### Start Menu

- open_file
- open_url

### Clipboard

- get_clipboard
- set_clipboard

## License

MIT
medcalc-bench 1.7.0
A Python package containing implementations of various medical calculators
Requires Python: >=3.8

# MedCalc Package

A Python package containing implementations of various medical calculators.

This package provides functions for various medical calculations based on the work found in the MedCalc-Bench repository.

Homepage: [https://github.com/ncbi-nlp/MedCalc-Bench](https://github.com/ncbi-nlp/MedCalc-Bench)

## Installation

```bash
# Installation instructions will be added once the package is uploaded to PyPI
pip install medcalc-bench
```

## Usage

```python
# import medcalc.cardiac_risk_index
```
deleashes-sdk 0.1.2
SDK for Deleashes feature flag management service
Requires Python: >=3.8
Keywords: feature flags, feature toggles, a/b testing, release management

# Deleashes SDK for Python

A Python client for the Deleashes feature flag service.

## Installation

```bash
pip install deleashes-sdk
```

Or from source:

```bash
git clone https://github.com/explrms/DeleashesSDK-python.git
cd deleashes-sdk-python
pip install -e .
```

## Quick Start

```python
from deleashes import Deleashes
from deleashes.logging import get_logger
import logging

# Configure logging (optional)
logger = get_logger()
handler = logging.StreamHandler()
formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
handler.setFormatter(formatter)
logger.addHandler(handler)
logger.setLevel(logging.INFO)  # Set to DEBUG for verbose logging

# Initialize the client
client = Deleashes(
    api_key="YOUR_PROJECT_API_KEY",
    base_url="https://your-deleashes-url.com",  # Required: URL of your Deleashes instance
    environment="development"  # Or "staging", "production"
)

# Check if a feature flag is enabled
if client.is_enabled("new-feature"):
    # Feature flag is enabled
    print("Feature is enabled!")

# Get the value of a feature flag
feature_value = client.get_value("feature-with-config", default_value="default")
print(f"Feature value: {feature_value}")

# With user context
user_context = {
    "user_id": "user-123",
    "context": {
        "country": "US",
        "plan": "premium"
    }
}

if client.is_enabled("premium-feature", context=user_context):
    print("Premium feature is enabled for this user!")
```

## Configuration

### Environments

Valid environments:
- `development`
- `staging`
- `production`

### Logging

The SDK uses Python's built-in logging system. You can configure the logger to suit your needs:

```python
from deleashes.logging import get_logger
import logging

logger = get_logger()
handler = logging.StreamHandler()
formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
handler.setFormatter(formatter)
logger.addHandler(handler)

# Set the log level
logger.setLevel(logging.INFO)  # Or DEBUG, WARNING, ERROR, etc.
```

## Error Handling

The SDK is designed to fail gracefully. If a flag cannot be evaluated (e.g., network issues, invalid flag key):
- `is_enabled()` returns `False`
- `get_value()` returns the provided default value

These failures are logged at the appropriate level (warning or error).

## License

This project is licensed under the MIT License - see the LICENSE file for details.
catbit 0.0.1
帮助您将小猫板接入您的Python程序
Requires Python: >=3.6

CatBit包可以帮助您将小猫板接入您的Python程序

示例：
```python
from catbit import CatBit
async def main():
    cb = CatBit()
    def key_handler(keys):
        print('按键状态：', keys)
    cb.setKeyEvent(key_handler)
    await cb.connect()
if __name__ == "__main__":
    try:
        asyncio.run(main())
    except KeyboardInterrupt:
        print("程序已终止")
```
## 运行结果
```
> python test.py
正在搜索设备...
发现小猫板: CODEMAO_catbit_####
设备地址: C0:##:##:##:##:CE
准备连接...
连接成功!
正在监听设备数据...
按键状态： {'up': False, 'down': False, 'left': False, 'right': False, 'p0': False, 'p1': False, 'p2': True, 'p3': False, 'p4': False}
......
FileEncrypt 0.1.2
File compression, encryption and decryption using XChaCha20 cipher and Argon2id (CLI and Python module)
Requires Python: >=3.7

# FileEncrypt

A simple Python package and CLI tool for encrypting and decrypting files using XChaCha20-Poly1305 and Argon2id.
FileEncrypt focuses on security, simplicity, and reliability. It uses the secure XChaCha20 cipher and Argon2id key derivation function to provide a high level of security.

## Installation

Install from PyPI:

```bash
pip install fileencrypt
```

Or install locally (for development):

```bash
pip install .
```

## Usage

### As a CLI tool

After installation, you can use the CLI for both encryption and decryption:

#### Encrypt a file
```bash
fileencrypt encrypt <input_file> <output_file> <password>
```
- If `<password>` is omitted, you will be prompted securely.

#### Decrypt a file
```bash
fileencrypt decrypt <input_file> <output_file> <password>
```
- If `<password>` is omitted, you will be prompted securely.

**Warning:** Passing the password as a CLI argument may expose it to other users on the system (use with caution).

### As a Python module

You can also use the encryption and decryption functionality in your own scripts:

```python
from fileencrypt import encrypt_file, decrypt_file

encrypt_file("input.txt", "output.enc", "your_password")
decrypt_file("output.enc", "decrypted.txt", "your_password")
```

---

## Requirements
- Python 3.7+
- argon2-cffi
- pynacl

## License
MIT

## Project Links
- Source: https://github.com/jordanbmrd/file-encrypt
- Issue Tracker: https://github.com/jordanbmrd/file-encrypt/issues