semvec/pypi-packages huggingface dataset:
rlbandit 0.1.0
A simple epsilon-greedy multi-armed bandit RL example
License: MIT
Requires Python: >=3.8
Keywords: reinforcement-learning, epsilon-greedy, multi-armed-bandit

# rlbandit

A simple reinforcement learning package implementing an epsilon-greedy multi-armed bandit.

## Usage
```python
from rlbandit import run_bandit

result = run_bandit(n_arms=5, epsilon=0.1, trials=1000, seed=42)
print("True probabilities:", result["true_probs"])
print("Total reward:", result["total_reward"])
print("Average reward:", result["average_reward"])
print("Arm counts:", result["counts"])
xlgcid 0.1.4
XunLei GCID hash algorithm
License: MIT
Requires Python: <4.0,>=3.8

# xlgcid

XunLei GCID hash algorithm, inspired from https://binux.blog/2012/03/hash_algorithm_of_xunlei/.

## Usage

``` python
from xlgcid import get_file_gcid_digest

print(get_file_gcid_digest('a.txt').hex())
```