Metadata-Version: 2.1
Name: qwop-fast
Version: 0.1.0
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.7
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM

# `qwop-fast`: A fast implementation of QWOP simulator

Same API as `https://web.stanford.edu/class/cs168/qwop.py`, but much faster.

## Install

1. Install Rust: https://rustup.rs/

2. Install Maturin: 
    ```
    pip install maturin
    ```

3. Build and install the package:
    ```
    maturin develop --release
    ```

4. Use it:
    ```python
    import numpy as np
    import qwop_fast
    plan = np.random.uniform(-1, 1, 40)
    qwop_fast.simulate(plan)
    ```

