Metadata-Version: 2.4
Name: spider_env_custom
Version: 0.1.0
Summary: Environment wrapper for the Spider dataset
Author: Kha Nguyen Van
Author-email: vankha.contact@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: numpy==1.26.4
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# spider_env

`spider_env` is a lightweight environment wrapper for the [Spider dataset](https://yale-lily.github.io/spider).

## Installation

```bash
pip install spider_env
```

## Usage
```bash
from spider_env import SpiderEnv

spider = SpiderEnv(cache_dir="spider")
observation, info = spider.reset()
print("Question:", observation["instruction"])
print("SQL:", info["gold_query"])
print("Result:", info["gold_result"])
```

## Requirements
- Python 3.8+
- NumPy 1.26.4

## Author
Kha Nguyen Van - vankha.contact@gmail.com
