semvec/pypi-packages huggingface dataset:
altmetrics 0.1.0
Evaluate ASR and MT output with alternative-aware metrics.
Requires Python: >=3.8

# altmetrics

`altmetrics` is a Python toolkit for evaluating speech and text generation systems when multiple orthographically valid references exist. It extends classic metrics such as **WER**, **CER**, **BLEU**, and **chrF** by expanding bracketed reference alternatives and picking the combination that yields the best score for each hypothesis.

## Why altmetrics?

Traditional metrics assume a single canonical reference. In practice, many languages and transcription guidelines permit several spellings (`matta` vs `matten`), optional fillers, or regional variants. `altmetrics` lets you encode these choices in square brackets and automatically evaluates with the most favourable reference for each sentence.

```
[jenta|jenten] [jogga|jogget] på [broa|broen|brua|bruen]
```

## Installation

```bash
pip install altmetrics
```

## Usage

```python
from altmetrics import wer, cer, bleu, chrf

references = [
    "[jenta|jenten] [jogga|jogget] på [broa|broen|brua|bruen]",
    "[katten|katta] ligger på [matta|matten]",
    "Det var en fin dag."
]
hypotheses = [
    "jenta jogga på broa",
    "katten ligger på matta",
    "Det var en fin dag."
]

print("WER :", wer(references, hypotheses, lowercase=True))
print("CER :", cer(references, hypotheses))
print("BLEU:", bleu(references, hypotheses))
print("chrF:", chrf(references, hypotheses))
```

## Features

- Accepts both modern `[optionA|optionB]` and legacy `["optionA","optionB"]` reference syntax.
- Works with multiple metrics via a shared expansion and optimisation pipeline.
- Compatible with recent versions of `jiwer` and `sacrebleu`.
- Optional preprocessing: lowercase, punctuation removal, and placeholder control for empty hypotheses.

## License

MIT
proxies-tg-wrapper 1.0.10
A package designed to facilitate interaction with the Telegram API, specifically for managing MTProto proxies.
Requires Python: >=3.6

# Proxies Telegarm Wrapper
proxies-tg-wrapper is a Python package designed to facilitate interaction with the Telegram API, specifically for managing MTProto proxies. This package provides a set of functions that make it easier to use, configure, and monitor MTProto proxies for Telegram tdlib.

## Installation

```bash
pip install proxies-tg-wrapper
```

## Contributing
Contributions are welcome! If you find a bug or have a suggestion, please open an issue.


## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
georeferencer 0.3.4
Python package for georeferencing satellite imagery.
Requires Python: >=3.11

# georeferencer
Python package for georeferencing satellite imagery.


# License

Copyright 2024 Georeferencer developers

Licensed under the Apache License, Version 2.0 (the "License");
you may not use these files except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
ZAmino.fix 1.2.4
ZAmino.fix is a modern and optimized fork of amino.fix, designed for building Amino bots, automations, and custom clients with ease and performance in mind.
Requires Python: >=3.6
Keywords: ZAmino, ZAmino.fix, aminoapps, ZAminofix, amino, amino-bot


# ZAminofix ✨
Elegant and powerful Python framework for creating Amino bots and automation scripts.


---

## 🚀 Quick Navigation
- [Installation](#-installation) | [Quick Start](#-quick-start) | [Documentation](#-documentation) | [Examples](#-examples) | [Support](#-support) | [Contributing](#-contributing)

---

## ⚡ Installation
```bash
pip install ZAmino.fix
````

---

## ⚙️ Quick Start

```python
from ZAminofix import Client, SubClient
client = Client()
client.login("your_email@example.com", "your_password")

```

---

## 📚 Documentation

### Core Components

**Client - Main Connection Handler:** The `Client` class manages your connection to Amino services and handles global operations.
**Authentication Options:**

```python
client.login("email@example.com", "password123")

client.login("+1234567890", "password123")

client.login("your_sid")

```

**Event System:**

```python
import ZAminofix
from ZAminofix import Context
c = ZAminofix.Client()
client.login("email", "password")

def on_text_message(ctx: Context):
    print(f"Message: {ctx.content}")

c.register_events(globals())

```

**SubClient - Community Operations:**

```python
sub_client = SubClient(comId=123456)
sub_client.send_message(chatId="chat_id", message="Hello World!")
```

---

## 🧪 Examples

### Command Bot

```python
from ZAminofix import Client
from ZAminofix import Context
import random
client = Client()
client.login("email", "password")

def on_text_message(ctx: Context):
	if ctx.content == "!Bot":
		ctx.reply("yes!")

c.register_events(globals())

```

---

## 🛠️ Support

Telegram: [@ZAminoZ](https://t.me/ZAminoZ)

---

## 🤝 Contributing

Contributions, bug reports, and feature requests are welcome! Please follow the standard GitHub pull request workflow.