Metadata-Version: 2.5
Name: zigpeek
Version: 0.5.1
Summary: Fast CLI for Zig stdlib docs (local compiler or fetched)
Project-URL: Homepage, https://github.com/TanGentleman/zigpeek
Project-URL: Repository, https://github.com/TanGentleman/zigpeek
Project-URL: Issues, https://github.com/TanGentleman/zigpeek/issues
License: MIT License
        
        Copyright (c) 2026 Tanuj Vasudeva
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
        ---
        
        This project bundles `src/zigpeek/_vendor/main.wasm`, built from the
        `zig-mcp` project (https://github.com/loonghao/zig-mcp), which is also
        distributed under the MIT License. See `vendor/PROVENANCE.md` for build
        details.
License-File: LICENSE
Requires-Python: >=3.10
Requires-Dist: beautifulsoup4~=4.14.0
Requires-Dist: httpx~=0.28.0
Requires-Dist: lxml~=6.1.0
Requires-Dist: wasmtime~=44.0.0
Provides-Extra: offline
Requires-Dist: zigpeek-offline==0.5.1; extra == 'offline'
Description-Content-Type: text/markdown

# zigpeek

Fast CLI for Zig stdlib docs. Uses the `zig` on PATH (or `$ZIG` / `$ZIGPEEK_ZIG`); otherwise Zig 0.16.0 from `[offline]`, cache, or ziglang.org.

```sh
uv tool install zigpeek
uv tool install 'zigpeek[offline]'   # no local zig
```

```sh
zigpeek info          # when/how, binaries, active Zig
zigpeek --help
```

`--version` / `$ZIGPEEK_VERSION` pins a ziglang.org tarball (skips local `lib/`). `--lib-dir` / `$ZIGPEEK_LIB_DIR` points at another tree. `prefetch` warms `$XDG_CACHE_HOME/zigpeek` (or `~/.cache/zigpeek`). Nightlies fetch langref from `/documentation/master/`.

Skill: `cp -r skills/zigpeek ~/.claude/skills/`

MIT. Internals: [`ARCHITECTURE.md`](ARCHITECTURE.md). WASM: [`vendor/PROVENANCE.md`](vendor/PROVENANCE.md).
