semvec/pypi-packages huggingface dataset:
claude-trace-viewer 0.2.1
An alternate web-based viewer for logs generated by @mariozechner/claude-trace
License: MIT
Requires Python: >=3.11
Keywords: claude, trace, viewer, debugging, visualization, claude-ai, anthropic, claude-trace, log-viewer

# Claude Trace Viewer

An alternate web-based viewer for trace logs generated by [@mariozechner/claude-trace](https://github.com/mariozechner/claude-trace).

## About

This tool provides a complementary viewing experience for trace logs created by `@mariozechner/claude-trace`. While the original tool creates the trace files during Claude Code conversations, this viewer offers an alternate way to explore and analyze those logs with features like sub-agent detection and timeline visualization and a UI inspired by the browser developer tools network tab for viewing details about individual requests.

## What are claude-trace files?

Running `claude-trace` launches Claude Code and generates JSON logs during the conversations. These files contain detailed information about tool usage, timing, and the flow of operations during a Claude session.

By default, trace files are stored in `.claude-trace` directory where you launch `claude-trace`. Each trace file represents a single conversation or task execution, allowing you to analyze Claude's decision-making process and performance.

## Prerequisites

First, install [@mariozechner/claude-trace](https://github.com/mariozechner/claude-trace) to generate trace files:

```bash
npm install -g @mariozechner/claude-trace
```

This will enable trace logging for your Claude Code conversations.

## Installation

```bash
# Run directly with uvx (no installation needed)
uvx claude-trace-viewer

# Or install with pip/uv
pip install claude-trace-viewer
# or
uv add claude-trace-viewer
```

## Usage

```bash
# View traces in current directory (has a `.claude-trace` folder)
claude-trace-viewer

# Specify a different directory
claude-trace-viewer --trace-dir /path/to/directory/that/contains/.claude-trace

# Use a different port, ex: 5000
claude-trace-viewer --port 5000
```

Click the link printed in the terminal to open the web interface in your browser, defaults to `http://127.0.0.1:8080`.

## Features

- Choose from any of the available trace files in the specified directory
- Interactive timeline visualization
- Sub-agent detection and visualization
- Search and filter capabilities
- Export trace data
- Browser Developer Tools-like interface for detailed request inspection

## Development

```bash
# Clone the repository
git clone https://github.com/bkrabach/claude-trace-viewer.git
cd claude-trace-viewer

# Install in development mode
pip install -e .
```

## Troubleshooting

### No trace files found

If the viewer shows no trace files, ensure that:

- You're pointing to the correct directory (default is `.claude-trace` in the current working directory)
- Claude has generated trace files during your conversations, go to `.claude-trace` and verify that there are JSON files present
- You have read permissions for the trace directory

## License

MIT
tree-sitter-regex 0.25.0
Regex grammar for tree-sitter
License: MIT
Requires Python: >=3.10
Keywords: incremental, parsing, tree-sitter, regex

# tree-sitter-regex

[![CI][ci]](https://github.com/tree-sitter/tree-sitter-regex/actions/workflows/ci.yml)
[![discord][discord]](https://discord.gg/w7nTvsVJhm)
[![matrix][matrix]](https://matrix.to/#/#tree-sitter-chat:matrix.org)
[![crates][crates]](https://crates.io/crates/tree-sitter-regex)
[![npm][npm]](https://www.npmjs.com/package/tree-sitter-regex)
[![pypi][pypi]](https://pypi.org/project/tree-sitter-regex)

Regex grammar for [tree-sitter](https://github.com/tree-sitter/tree-sitter). Note that this grammar supports the [PCRE2], [POSIX], and [JavaScript] regex syntaxes.

[ci]: https://img.shields.io/github/actions/workflow/status/tree-sitter/tree-sitter-regex/ci.yml?logo=github&label=CI
[discord]: https://img.shields.io/discord/1063097320771698699?logo=discord&label=discord
[matrix]: https://img.shields.io/matrix/tree-sitter-chat%3Amatrix.org?logo=matrix&label=matrix
[npm]: https://img.shields.io/npm/v/tree-sitter-regex?logo=npm
[crates]: https://img.shields.io/crates/v/tree-sitter-regex?logo=rust
[pypi]: https://img.shields.io/pypi/v/tree-sitter-regex?logo=pypi&logoColor=ffd242
[PCRE2]: https://www.pcre.org/current/doc/html/pcre2syntax.html
[POSIX]: https://en.wikibooks.org/wiki/Regular_Expressions/POSIX_Basic_Regular_Expressions
[JavaScript]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_expressions
tree-sitter-jsdoc 0.25.0
JSDoc grammar for tree-sitter
License: MIT
Requires Python: >=3.10
Keywords: incremental, parsing, tree-sitter, jsdoc

# tree-sitter-jsdoc

[![CI][ci]](https://github.com/tree-sitter/tree-sitter-jsdoc/actions/workflows/ci.yml)
[![discord][discord]](https://discord.gg/w7nTvsVJhm)
[![matrix][matrix]](https://matrix.to/#/#tree-sitter-chat:matrix.org)
[![crates][crates]](https://crates.io/crates/tree-sitter-jsdoc)
[![npm][npm]](https://www.npmjs.com/package/tree-sitter-jsdoc)
[![pypi][pypi]](https://pypi.org/project/tree-sitter-jsdoc)

[JSDoc](<(https://jsdoc.app/)>) grammar for [tree-sitter](https://github.com/tree-sitter/tree-sitter).

[ci]: https://img.shields.io/github/actions/workflow/status/tree-sitter/tree-sitter-jsdoc/ci.yml?logo=github&label=CI
[discord]: https://img.shields.io/discord/1063097320771698699?logo=discord&label=discord
[matrix]: https://img.shields.io/matrix/tree-sitter-chat%3Amatrix.org?logo=matrix&label=matrix
[npm]: https://img.shields.io/npm/v/tree-sitter-jsdoc?logo=npm
[crates]: https://img.shields.io/crates/v/tree-sitter-jsdoc?logo=rust
[pypi]: https://img.shields.io/pypi/v/tree-sitter-jsdoc?logo=pypi&logoColor=ffd242