semvec/pypi-packages huggingface dataset:
ffmpeg-for-python 0.4.0
Wrapper para o binário FFmpeg
License: MIT
Keywords: ffmpeg

# ffmpeg-for-python

Wrapper para o binário FFmpeg, permitindo o uso de comandos FFmpeg via Python. Para saber como usar FFmpeg, consulte a documentação no [site oficial](https://ffmpeg.org/ffmpeg.html)


---


**conversão básica**

```python

from ffmpeg_for_python import FFmpeg, FFmpegExceptions

# Cria uma instância do wrapper FFmpeg
ffmpeg = FFmpeg()
# Caminho do arquivo de entrada e saída
input_video = 'input_video.mp4'
output_video = 'output_video.mkv'

# Define o arquivo de entrada e o arquivo de saída
(ffmpeg
        .overwrite_output  # Sobrescrever se existir
        .input(input_video)  # Vídeo de entrada
        .output(output_video)  # Vídeo final
)

    # Executa o comando FFmpeg e exibe a saída
try:
        lines = ffmpeg.run(capture_output=True)
        for l in lines:
            print(l)
except FFmpegExceptions as e:
        print("Erro ao executar FFmpeg:", e)
```
---

**remux audio e video**

```python
from ffmpeg_for_python import FFmpeg, FFmpegExceptions
# Cria uma instância do wrapper FFmpeg
ffmpeg = FFmpeg()
# Caminho dos arquivos de entrada e saída
input_video = 'input_video.mp4'
input_audio = 'input_audio.mp4'
output_video = 'output_video.mp4'
# Define os arquivos de entrada e o arquivo de saída
(ffmpeg
        .overwrite_output  # Sobrescrever se existir
        .input(input_video)  # Vídeo de entrada
        .input(input_audio)  # Áudio
        .args(arguments=['-c:a', 'copy', '-c:v', 'copy'])  # Parâmetros de cópia de áudio e vídeo
        .output(output_video)  # Vídeo final
)

# Executa o comando FFmpeg e exibe a saída
try:
        lines = ffmpeg.run(capture_output=True)
        for l in lines:
            print(l)
except FFmpegExceptions as e:
        print("Erro ao executar FFmpeg:", e)
```
---
hte-cli 0.2.39
Human Time-to-Completion Evaluation CLI
License: MIT
Requires Python: >=3.11
Keywords: cli, cybersecurity, evaluation, human-baseline

# hte-cli

Human Time-to-Completion Evaluation CLI - A tool for running assigned cybersecurity tasks with timing and result tracking.

## Installation

```bash
# Recommended (pipx)
pipx install hte-cli

# Or with pip
pip install hte-cli
```

## Quick Start

1. **Login** (get credentials from your coordinator):
   ```bash
   hte-cli auth login
   ```

2. **View your assigned tasks**:
   ```bash
   hte-cli tasks list
   ```

3. **Run a task**:
   ```bash
   hte-cli tasks run
   ```

## Commands

- `hte-cli auth login` - Authenticate with the API
- `hte-cli auth status` - Check authentication status
- `hte-cli tasks list` - List your pending tasks
- `hte-cli tasks run [TASK_ID]` - Run a task (defaults to highest priority)
- `hte-cli tasks pull-images` - Pre-pull Docker images for upcoming tasks
- `hte-cli version` - Show version info

## System Requirements

### All Platforms

- Python 3.11+
- Docker Engine >= 24.0.6
- Docker Compose >= 2.21.0 (included in Docker Desktop 4.25+)

### Windows

- Docker Desktop with WSL2 backend enabled
- WSL2 installed and configured ([Microsoft docs](https://learn.microsoft.com/en-us/windows/wsl/install))

### macOS

- Docker Desktop (Intel or Apple Silicon)
- Note: Apple Silicon (M1/M2/M3) runs x86 containers via emulation - expect slightly slower performance

### Linux

- Docker Engine >= 24.0.6 with Compose plugin
- User added to docker group: `sudo usermod -aG docker $USER` (log out and back in after)

### Verify Docker Setup

```bash
# Check Docker Engine version (need >= 24.0.6)
docker version --format '{{.Client.Version}}'

# Check Docker Compose version (need >= 2.21.0)
docker compose version --short

# Test container can start
docker run --rm hello-world
```

If your Docker Compose version is too old, update Docker Desktop or install the latest compose plugin:
```bash
# Linux: Update compose plugin
sudo apt-get update && sudo apt-get install docker-compose-plugin
```

## Configuration

Set `HTE_API_URL` environment variable to use a custom API endpoint:

```bash
export HTE_API_URL="http://your-server.com/api/v1/cli"
```

## Support

For issues, contact your study coordinator or open an issue at:
https://github.com/sean-peters-au/lyptus-mono

---

## Developer Notes

This CLI is a thin wrapper with no consequential research decisions. It:
- Wraps Inspect AI's `human_cli` agent for task execution
- Syncs results to the backend API
- Handles authentication via OAuth-style code exchange

The research-relevant code lives elsewhere:
- **Task sampling**: `scripts/sample_tasks_for_trials.py`
- **Scoring criteria**: `src/human_ttc_eval/datasets/*/`
- **Methodology**: `docs/methodology/human-expert-methodology-guide.md`
currencies-lib 2.0.0
A currency formatter for many currencies
License: MIT
Requires Python: >=3.10

# Currencies Formatter
![Python Version](https://img.shields.io/badge/python-3.10+-blue)
![License](https://img.shields.io/badge/license-MIT-green)

The **Currencies Formatter Library** (or currencies lib) is a Python library designed to simplify the formatting of monetary values for various currencies. It supports a wide range of currencies and provides options for custom formatting. Whether you need to display values with currency symbols or abbreviate large numbers, this library offers a straightforward solution.

### Features
- Format monetary values for multiple currencies.
- Custom decimal and symbol options.
- Allows conversion of values to percentage format.
- Utility functions for abbreviating units.

### Installing
You can install this library with:
```bash
$ pip install currencies-lib
```
Supports Python 3.10+


### Example of use

```python
from currencies_lib import BRL

value = 1250.50
result = BRL(value)
print(result)
# >> "R$1.250,50"
```
or
```python
from currencies_lib import *

value = 1250.50
result = format_currency(value, "EUR", spaced=True) # Specify currency code
print(result)
# >> "€ 1.250,50"
```
Additional Examples
```python
# Percentages
print(as_percentage(1000, 25))
# >> 250
print(as_percentage(1000, "25%", subtraction=True))
# >> 750

# Abbreviations
print(unit_abbreviator(1200000))  
# >> "1.2M"
```

### Contributing

I welcome contributions to improve this library! If you have suggestions, bug reports, or new feature requests, please open an issue or submit a pull request on my [GitHub repository](https://github.com/iamtwobe/currencies_lib).

### License
This project is licensed under the MIT License. See the [LICENSE](https://github.com/iamtwobe/currencies_lib/blob/main/LICENSE) file for details.