Metadata-Version: 2.4
Name: codeset-gym
Version: 0.2.0
Summary: A Python package for testing code patches in Docker containers
Author: Codeset
License: MIT
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: docker>=7.1.0
Requires-Dist: junitparser==3.2.0
Requires-Dist: datasets>=2.0.0
Requires-Dist: pytest>=8.4.2
Dynamic: license-file

# Codeset Gym

A Python package for testing code patches in Docker containers.

## Installation

```bash
uv sync
```

## Usage

```bash
docker login -u <USER> -p <PASSWORD> <REPOSITORY>
python -m codeset_gym <huggingface_dataset> <instance_id> <image_name>
```

### Example

```bash
python -m codeset_gym codeset/codeset-gym-python-new matiasb__python-unidiff-19 europe-west10-docker.pkg.dev/decoded-bulwark-461711-b2/codeset/codeset-platform.codeset-gym-python.matiasb__python-unidiff-19:latest
```

## Build and Publich

```bash
export UV_PUBLISH_TOKEN=pypi-your-token-here
uv build
uv publish
```

## License

MIT
