semvec/pypi-packages huggingface dataset:
dictscope 0.1.1
Universal dictionary visualizer for Python
Requires Python: >=3.9

# DictScope 🔭

**DictScope** is a lightweight, dependency-free tool to visualize Python dictionaries and JSON data in your browser in real-time. 

Perfect for debugging scripts, monitoring loops, and inspecting complex nested data structures without spamming your console.

## ✨ Features

- **Zero Dependencies**: Uses only Python standard library.
- **Real-time**: Updates automatically as your data changes.
- **Interactive**: Collapse and expand nested lists and dictionaries.
- **Network Ready**: View data from your phone or another laptop in the local network.
- **Dark Mode**: Easy on the eyes.

## 📦 Installation

### Via pip
```Bash
pip install dictscope
```

### Via uv
```bash
uv add dictscope
```

### 🚀 Usage

Just import render and pass any dictionary to it. DictScope will start a local server and open your browser automatically.
```Python
from dictscope import render
import time
import math
# 1. Prepare your data
data = {
    "status": "running",
    "metrics": {"cpu": 0, "memory": []},
    "config": {"debug": True}
}
# 2. Update it in a loop
for i in range(100):
    data["metrics"]["cpu"] = math.sin(i / 10)
    data["metrics"]["memory"].append(i)
    
    # 3. Render! (Browser updates automatically)
    render(data)
    
    time.sleep(0.1)
```

### ⏸ Controls

Pause/Resume: Click the button in the top right corner to freeze the data stream and inspect the current state.

Collapse/Expand: Click on the ▼ arrows to navigate deep JSON structures.
MistrasDTA 0.1.6.post1
Read AEWin acoustic emissions DTA files
Requires Python: >=3.6

[![release](https://img.shields.io/github/v/release/d-cogswell/MistrasDTA)](https://github.com/d-cogswell/MistrasDTA/releases)
[![NewareNDA regression tests](https://github.com/d-cogswell/MistrasDTA/actions/workflows/tests.yml/badge.svg)](https://github.com/d-cogswell/MistrasDTA/actions/workflows/tests.yml)
[![Coverage Status](https://coveralls.io/repos/github/d-cogswell/MistrasDTA/badge.svg?branch=development)](https://coveralls.io/github/d-cogswell/MistrasDTA?branch=development)

# MistrasDTA
Python module to read acoustic emissions hit data and waveforms from Mistras DTA files. The structure of these binary files is detailed in Appendix II of the Mistras user manual.

# Installation
MistrasDTA can be installed from PyPI with the following command:
```
python -m pip install MistrasDTA
```

# Usage
Read the hit summary table from a DTA file:
```
import MistrasDTA
rec, _ = MistrasDTA.read_bin('cluster.DTA', skip_wfm=True)

```

Read hit summary and waveform data from a DTA:
```
import MistrasDTA
from numpy.lib.recfunctions import join_by

# Read the binary file and join summary and waveform tables
rec, wfm = MistrasDTA.read_bin('cluster.DTA')
merged = join_by(['SSSSSSSS.mmmuuun', 'CH'], rec, wfm)

# Extract the first waveform in units of microseconds and volts
t, V = MistrasDTA.get_waveform_data(merged[0])
```