semvec/pypi-packages huggingface dataset:
tunnelproxy 0.2.1
A small whitelisting HTTP CONNECT proxy
License: MIT
Requires Python: >=3.9
Keywords: whitelist proxy HTTP

# TunnelProxy: A small whitelisting HTTP CONNECT proxy
This is a small HTTP CONNECT proxy, with a target host whitelist.

Implemented in Python on top of [trio][1] and [h11][2], it is written for ease
of comprehension and auditing. (This makes it easy to adopt in situations where
you'd want such a proxy.)

A secondary goal is to be flexible. It can be used in two ways:

  1. As a stand-alone proxy.
     Just run the module:
     ```sh
     python -m tunnelproxy --address localhost --port 8080 --config example-config.json
     ```

  2. As a library.
     The proxy (`TunnelProxy`) always runs in Trio's event loop, but a
     wrapper (`SynchronousTunnelProxy`) lets you run it from normal code.

     Make it your own!

For example of (2), see `tunnelproxy/__main__.py`.


# Performance
The proxy is single-threaded.

On an AMD Ryzen 9 7900, it handles 1000 connections per second at <5ms maximal
latency, as measured on a 10s burst. (See [benchmarking][5] for details.)

It's not much, but enough for many use cases.

# Changelog
See [docs/CHANGELOG.md](docs/CHANGELOG.md).

# License
This project is [MIT licensed][3]. `TrioHTTPConnection` from `adapter.py` is
based on [h11's example server][4], by Nathaniel J. Smith. The rest is written
by Antun Maldini.


[1]: https://github.com/python-trio/trio#readme
[2]: https://github.com/python-hyper/h11#readme
[3]: https://mit-license.org/
[4]: https://github.com/python-hyper/h11/blob/v0.14.0/examples/trio-server.py
[5]: ./benchmark/README.md
blownotes 0.1.2
Extraia notas dominantes de um áudio (.wav, .mp3, etc) com precisão RMS ou por regiões ativas.
License: MIT

[![Blow-Notes-logo](https://i.postimg.cc/nL84dYHK/Blow-Notes-logo.png)](https://postimg.cc/SnrYR9Yj)

**Blow Notes** é uma ferramenta de linha de comando para detectar notas musicais dominantes a partir de um arquivo de áudio (ex: `.wav`, `.mp3`, `.ogg`), útil para análises melódicas, transcrição ou composição.
Em desenvolvimento. Colabore!

## Funcionalidades

- Escolha entre dois métodos de extração:
  - 📈 **RMS (energia por frame)** – com controle de sensibilidade
  - 🎚️ **Split (regiões sonoras ativas)** – baseado no volume total
- Detecta notas dominantes por segundo
- Exporta resultados para `.txt`
- Suporte a `.wav`, `.mp3`, `.flac`, `.m4a`, `.ogg` (requer `ffmpeg`)
- Compatível com futura exportação para MusicXML

**Atenção**: Este projeto ainda está em desenvolvimento ativo.
Algumas funcionalidades estão em fase experimental e podem mudar ou melhorar nas próximas versões.
Feedbacks e sugestões da comunidade são muito bem-vindos!

## Instalação

```bash
pip install blownotes

```

Ou clone e instale localmente:

```bash
git clone https://github.com/izanoth/blownotes
cd blownotes
pip install .
```

## 🎛️ Uso

```bash
blownotes caminho/do/arquivo.wav
```

Será exibido um menu para escolher o modo de análise.

### Parâmetros (modo RMS)

Você poderá definir uma sensibilidade:

    0.01 → muito sensível (capta até ruídos leves)

    0.02 → padrão (voz clara ou instrumento solo)

    0.04+ → mais exigente (apenas sons fortes)

## 🎧 Recomendação importante

Para melhores resultados, separe os elementos do áudio antes da análise (ex: voz, bateria, baixo). Isso evita que sons simultâneos confundam o sistema de detecção.

🔧 Uma ferramenta recomendada é o [Demucs](https://github.com/facebookresearch/demucs):

Depois, use o blownotes apenas no arquivo de voz ou instrumento que desejar.

## 📄 Licença

MIT

Autor: I. Zanoth
ivanzanoth@gmail.com
versupy 0.1.0
A Python library for creating and managing tournament brackets
License: MIT
Requires Python: >=3.8
Keywords: tournament, bracket, competition, sports, gaming

# VersuPy

A comprehensive Python library for creating and managing tournament brackets with automated match handling.

## Features

- 🏆 **Multiple Tournament Formats**: Single elimination, double elimination, round robin, and Swiss system
- 🎯 **Clean API**: Easy-to-use interface for tournament management
- 📊 **Result Tracking**: Comprehensive match and tournament result tracking
- 🧪 **Well Tested**: Extensive test coverage for all tournament formats
- 🔧 **Type Safe**: Full type hint support for better development experience

## Installation

```bash
pip install versupy
```

## Quick Start

```python
from versupy import Tournament

# Create a single elimination tournament
competitors = ["Alice", "Bob", "Charlie", "David"]
tournament = Tournament(competitors, style="single")

# Get current round matches
matches = tournament.get_current_round_matches()

# Set match winners
for match in matches:
    tournament.set_winner(match, match.competitor_a)  # Alice and Charlie win

# Advance to next round
tournament.advance_to_next_round()

# Check if tournament is complete
if tournament.is_tournament_over():
    champion = tournament.get_champion()
    print(f"Tournament winner: {champion.name}")
```

## Tournament Formats

### Single Elimination
```python
tournament = Tournament(competitors, style="single")
```

### Double Elimination
```python
tournament = Tournament(competitors, style="double")
```

### Round Robin
```python
tournament = Tournament(competitors, style="round_robin")
```

### Swiss System
```python
tournament = Tournament(competitors, style="swiss")
```

## API Reference

### Tournament Class

- `get_current_round_matches()` - Get matches for the current round
- `set_winner(match, winner)` - Set the winner of a match
- `advance_to_next_round()` - Progress to the next round
- `is_tournament_over()` - Check if tournament is complete
- `get_champion()` - Get the tournament winner
- `get_results()` - Get all match results

### Match Class

- `set_winner(competitor)` - Set match winner
- `get_winner()` - Get match winner
- `get_loser()` - Get match loser

### Competitor Class

- `name` - Competitor name
- `wins` - Number of wins
- `matches` - List of matches played

## Examples

See the `examples/` directory for more detailed usage examples.

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

## License

This project is licensed under the MIT License - see the LICENSE file for details.