Skip to main content

spider_env

spider_env is a lightweight environment wrapper for the Spider dataset.

Installation

pip install spider_env

Usage

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

Metadata

Release files for spider-env-custom 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for spider-env-custom 0.1.0
File Size Uploaded Provenance Actions
spider_env_custom-0.1.0.tar.gz 3.2 kB Without provenance Details for spider_env_custom-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for spider-env-custom 0.1.0
File Interpreter ABI Platform Actions
spider_env_custom-0.1.0-py3-none-any.whl Python 3 none any Details for spider_env_custom-0.1.0-py3-none-any.whl

Total release size: 6.7 kB

Release files / spider_env_custom-0.1.0.tar.gz

Download URL spider_env_custom-0.1.0.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
3b43eee30030b58fa2c55591f2e5b46d01422a4b624d756447deee0a66827115
BLAKE2b-256 checksum
How to use checksums
619a488065a2ab415184b529835ad841036a36ff21196a222271af065fc3d92e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Release files / spider_env_custom-0.1.0-py3-none-any.whl

Download URL spider_env_custom-0.1.0-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d72c08e7047eb1b40765ce5918255fe896e9733d85a1c26bc81364063ed56384
BLAKE2b-256 checksum
How to use checksums
16d9107e44c17cf4fc6c7088d1f9639b2098ab43fe600507206bf69d26686605
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Security for spider-env-custom 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page