semvec/pypi-packages huggingface dataset:
rlve-gym 0.0.1
RLVE Gym environments shim - exposes Gym.environments and Gym.parameter_controllers
License: MIT
Requires Python: >=3.9

# rlve-gym

Minimal shim package that exposes RLVE's `Gym` module (environments and parameter controllers) without the vendored slime package.

## Installation

```bash
pip install rlve-gym
```

## Usage

```python
from Gym.environments import identifier2environment
from Gym.parameter_controllers import identifier2controller

# ~400 verifiable environments available
print(len(identifier2environment))

# Example: Multiplication environment
env_class = identifier2environment["Multiplication"]
env = env_class(answer_markers=("<answer>", "</answer>"))
env.generator(seed=42, parameter={"digit_num": 3})
prompt = env.prompt_generator()
```

## Source

This package contains only the `Gym/` directory from RLVE.

- Upstream: https://github.com/Zhiyuan-Zeng/RLVE
- Commit: 73cccd971230b50a1a4f5d921027c0853d1eb227

## License

MIT (same as RLVE)