semvec/pypi-packages huggingface dataset:
skirmish 0.1.2
LLM Skirmish, an adversarial in-context learning benchmark
Requires Python: >=3.11

# Skirmish

Python bindings for [LLM Skirmish](https://llmskirmish.com).
Run matches between strategies and collect results.

## Requirements

```bash
npm install -g @llmskirmish/skirmish
pip install skirmish
```

## Usage

```python
from skirmish import run_match, Winner, EndReason

# Run a match between two strategy scripts
result = run_match("example_1.js", "example_2.js")

print(f"Winner: {result.winner}")      # Winner.PLAYER1, PLAYER2, DRAW, or ERROR
print(f"Reason: {result.reason}")      # EndReason.ELIMINATION, TIMEOUT, or ERROR
print(f"Ticks: {result.ticks}")        # Number of game ticks
print(f"Scores: {result.scores}")      # Scores(player1=..., player2=...)

# Optional parameters
result = run_match(
    p1="example_1.js",
    p2="example_2.js",
    map_name="swamp",      # Map to play on (default: "swamp")
    max_ticks=2000,        # Max game length (default: 2000)
    timeout=120.0,         # Process timeout in seconds (default: 120)
)

# Error handling - errors return a result, not an exception
if result.winner == Winner.ERROR:
    print(f"Match failed: {result.error}")
```

## License

MIT
types-gdb 16.3.0.20260203
Typing stubs for gdb
Requires Python: >=3.9

## Typing stubs for gdb

This is a [type stub package](https://typing.python.org/en/latest/tutorials/external_libraries.html)
for the [`gdb`](https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=tree) package. It can be used by type checkers
to check code that uses `gdb`. This version of
`types-gdb` aims to provide accurate annotations for
`gdb==16.3.*`.

Type hints for GDB's [Python API](https://sourceware.org/gdb/onlinedocs/gdb/Python-API.html). Note that this API is available only when running Python scripts under GDB: it is not possible to install the `gdb` package separately, for instance using `pip`.

This package is part of the [typeshed project](https://github.com/python/typeshed).
All fixes for types and metadata should be contributed there.
See [the README](https://github.com/python/typeshed/blob/main/README.md)
for more details. The source for this package can be found in the
[`stubs/gdb`](https://github.com/python/typeshed/tree/main/stubs/gdb)
directory.

This package was tested with the following type checkers:
* [mypy](https://github.com/python/mypy/) 1.19.1
* [pyright](https://github.com/microsoft/pyright) 1.1.408

It was generated from typeshed commit
[`dd78db84765d908c6eac58e7fc2473edacf3e056`](https://github.com/python/typeshed/commit/dd78db84765d908c6eac58e7fc2473edacf3e056).