Metadata-Version: 2.4
Name: rshellcheck-wasm
Version: 1.0.0
Summary: ShellCheck core WASM bindings for Python
License-Expression: GPL-3.0-or-later
Project-URL: Upstream ShellCheck 0.11.0, https://github.com/koalaman/shellcheck/commit/98deabe126a26861fb02aa2b431eaf31e39e6abe
Project-URL: Documentation, https://github.com/kjanat/shellcheck-rs/tree/master/bindings/wasm
Project-URL: Issues, https://github.com/kjanat/shellcheck-rs/issues
Project-URL: Repository, https://github.com/kjanat/shellcheck-rs
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: wasmtime==38.0.0
Dynamic: license-file

# rshellcheck-wasm

Run the Rust ShellCheck analysis core from Python through WebAssembly.

```sh
pip install rshellcheck-wasm
```

```python
from rshellcheck_wasm import Checker

with Checker() as checker:
    result = checker.check({"script": "#!/bin/sh\necho $value\n"})
    print(result["comments"])
```

The wheel includes the WASM module and uses Wasmtime. No Rust compiler or
ShellCheck executable is required. Python 3.12 or later is supported.

See the [binding documentation](https://github.com/kjanat/shellcheck-rs/tree/master/bindings/wasm)
for source-file handling, configuration and the request/response format.

Tracks ShellCheck 0.11.0 with upstream changes through [98deabe126a2](https://github.com/koalaman/shellcheck/commit/98deabe126a26861fb02aa2b431eaf31e39e6abe).
