Metadata-Version: 2.5
Name: denseglyph
Version: 1.1.0
Summary: Official Python SDK for DenseGlyph — Deterministic Spatial Symbol Counting for AI Pipelines
Project-URL: Homepage, https://github.com/latentcollapse
Project-URL: Documentation, https://github.com/latentcollapse
Author-email: Matthew Cohn <latentcollapse@gmail.com>
License-Expression: MIT
Keywords: ai-agents,computer-vision,denseglyph,mcp,ocr,symbol-counter
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Image Recognition
Requires-Python: >=3.9
Requires-Dist: httpx>=0.27.0
Description-Content-Type: text/markdown

# 💎 DenseGlyph Python Client SDK

The official Python client library for the **DenseGlyph API** — deterministic spatial symbol and dot counting for AI pipelines and craft businesses.

## Installation

```bash
pip install denseglyph
```

## Quickstart

```python
import denseglyph

# 1-Line Counting:
result = denseglyph.count("succulent_coaster.jpg", api_key="dso_live_...")

print(f"Total Dots Counted: {result.total_count}")
for symbol, count in result.counts.items():
    print(f"  [{symbol}]: {count}")
```

## Client Class Usage

```python
from denseglyph import DenseGlyphClient

client = DenseGlyphClient(api_key="dso_live_...")
result = client.count("craft_canvas.png", min_confidence=0.48)

print(result.counts)
# Output: {'M': 139, 'S': 70, 'Z': 36, '8': 22, '+': 18}
```

## CLI Tool

```bash
denseglyph path/to/succulent.jpg --api-key dso_live_...
```
