semvec/pypi-packages huggingface dataset:
trampoline-client 0.1.10
Python client for Trampoline dynamic reverse proxy
Requires Python: <4.0,>=3.9
Keywords: proxy, tunnel, websocket, nat-traversal

# Trampoline Client

Python client for [Trampoline](https://github.com/rlange/trampoline) dynamic reverse proxy.

## Installation

```bash
pip install trampoline-client
```

## Usage

```python
from trampoline_client import TrampolineClient
import time

client = TrampolineClient(
    host="wss://t.example.com",
    name="myservice",  # alphanumeric only, no dashes
    secret="your-secret",
    target="http://localhost:3000"
)

client.start()
time.sleep(1)

if client.connected:
    print(f"Worker {client.worker_index} at: {client.remote_address}")
    # https://myservice-0.t.example.com (specific worker)
    print(f"Pool address: {client.remote_address_roundrobin}")
    # https://myservice.t.example.com (round-robin)

client.stop()
```

## Load Balancing

```python
for i in range(3):
    client = TrampolineClient(
        host="wss://t.example.com",
        name="myservice",  # alphanumeric only
        existing_ok=True,  # Join existing pool
        target="http://localhost:3000"
    )
    client.start()
    # Workers get indices 0, 1, 2
```

## Parameters

| Parameter | Description | Default |
|-----------|-------------|---------|
| `host` | Server URL (base domain) | (required) |
| `name` | Tunnel name (alphanumeric only, no dashes) | (required) |
| `secret` | Auth secret | `None` |
| `target` | Local server to forward to | `http://localhost:80` |
| `existing_ok` | Join existing pool | `False` |
| `verify_ssl` | Verify SSL certificates | `True` |
| `max_retries` | Max reconnection attempts (0=infinite) | `5` |
| `retry_delay` | Initial retry delay in seconds | `5.0` |
| `daemon` | Daemon thread | `True` |

## Properties

| Property | Description |
|----------|-------------|
| `connected` | Connection active |
| `worker_index` | Assigned worker index (0, 1, 2...) |
| `remote_address` | Worker-specific URL (`https://name-N.domain`) |
| `remote_address_roundrobin` | Pool URL (`https://name.domain`) |
| `pool_size` | Workers in pool |
| `reconnect_count` | Reconnection attempts |

## License

MIT
centrex-tlf-julia-extension 0.4.3
Extension for centrex-tlf to run OBE simulations in Julia
Requires Python: >=3.11

[![Python versions on PyPI](https://img.shields.io/pypi/pyversions/centrex-tlf-julia-extension.svg)](https://pypi.python.org/pypi/centrex-tlf-julia-extension/)
[![CenTREX-TLF-julia-extension version on PyPI](https://img.shields.io/pypi/v/centrex-tlf-julia-extension.svg "CeNTREX-TlF-julia-extension on PyPI")](https://pypi.python.org/pypi/centrex-tlf-julia-extension/)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)


# CeNTREX-TlF-julia-extension
 Extension for centrex-tlf [![CenTREX-TLFversion on PyPI](https://img.shields.io/pypi/v/centrex-tlf.svg "CeNTREX-TlF on PyPI")](https://pypi.python.org/pypi/centrex-tlf/) to run OBE simulations in Julia.

# Julia Dependencies
* DifferentialEquations.jl
* ProgressMeter.jl
* Distributed.jl
* TerminalLoggers.jl
* LinearAlgebra.jl
* Trapz.jl
* Logging.jl