Metadata-Version: 2.4
Name: token-env
Version: 0.2.3
Summary: Gymnasium grid environment with random tokens
License-File: LICENSE
Requires-Python: >=3.12
Requires-Dist: gymnasium>=1.0.0
Requires-Dist: numpy>=1.20
Description-Content-Type: text/markdown

# token-env

This repo implements a single agent Gymnasium environment with tokens.

## Installation

```
pip install token-env
```

## Usage

```
import token_env
import gymnasium as gym

if __name__ == '__main__':
    env = gym.make("TokenEnv-v0")
    obs, info = env.reset()
    done = False
    i = 0
    while not done:
        i += 1
        action = env.action_space.sample()
        obs, reward, terminated, truncated, info = env.step(action)
        done = terminated or truncated
    env.close()
```
