semvec/pypi-packages huggingface dataset:
getstream-plugins-fal 0.1.1
Fal.ai plugin for GetStream
Requires Python: >=3.10

# FAL.ai Wizper Speech-to-Text and Translation Plugin

High-quality real-time Speech-to-Text (STT) **and translation** for Stream, powered by
[FAL.ai Wizper](https://fal.ai/models/wizper).

## Installation

```bash
pip install getstream-plugins-fal
```

## Quick start

```python
from getstream.plugins.fal import FalWizperSTT

# 1. Pure transcription (default)
stt = FalWizperSTT()

# 2. Translation to Spanish ("es")
stt = FalWizperSTT(target_language="es")

@stt.on("transcript")
async def on_transcript(text: str, user: dict, metadata: dict):
    print(f"{user['name']} said → {text}")

# Send Stream PCM audio frames to the plugin
await stt.process_audio(pcm_data)

# Close when finished
await stt.close()
```

The plugin emits the standard Stream STT events:

* `transcript` – final, high-confidence text
* `error` – if Wizper returns a failure

## Configuration options

| Parameter          | Type   | Default     | Description                                  |
|--------------------|--------|-------------|----------------------------------------------|
| `target_language`  | str\|None | `None`      | ISO-639-1 code used when `task="translate"`   |
| `sample_rate`      | int    | `48000`     | Incoming PCM sample rate (Hz)                |

## Requirements

* Python 3.10+

## Why Wizper?

Wizper is FAL.ai’s hosted version of Whisper v3 that streams results in
real-time. This means you get:

* Accurate multilingual transcription out-of-the-box
* Fast first-word latency suitable for live calls
* Optional on-the-fly translation to 100+ languages
xztools 0.2.1
A fun library with time utilities and random compliments!
Requires Python: >=3.6
Keywords: time countdown weekend month year utilities fun

# xztools

A fun and useful Python library with time utilities and random compliments!

## Installation

```bash
pip install xztools
```

## Features

### 🕐 Time Remaining Function
Get a beautiful countdown report showing how many days are left for:
- **Weekend**: Days until the end of Sunday
- **Month**: Days until the end of current month  
- **Year**: Days until New Year's Eve

### 💝 Random Compliments
Get random compliments to brighten your day!

## Usage

```python
import xztools

# Get time remaining report
print(xztools.time_remaining())

# Get a random compliment
print(xztools.random_compliment())
```

## Example Output

```
⏰ TIME REMAINING REPORT ⏰
========================================

📅 Today: Wednesday, December 20, 2023
========================================

🎉 Weekend Countdown: 4 days until Sunday
📅 Month Countdown: 11 days until end of December
🎊 Year Countdown: 11 days until New Year!

========================================

You're awesome!
```

## Requirements

- Python 3.6 or higher

## License

MIT License

## Contributing

Feel free to contribute by adding more fun utilities to this package!