Metadata-Version: 2.4
Name: pylight-metrics
Version: 0.1.2
Summary: A zero-contention, thread-safe metrics aggregator for high-performance Python applications.
Author-email: Mahesh Chandra <mahesh@example.com>
License: MIT
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: System :: Monitoring
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# Pylight Metrics

**Zero-Contention, High-Performance Observability for Python.**

`pylight-metrics` is a thread-safe metrics aggregator designed for high-throughput applications. It uses **Thread Local Storage (TLS)** to buffer metrics, ensuring your application's critical path remains lock-free.

## Features

- 🚀 **Zero-Contention:** Writes to thread-local buffers; global locks are only acquired during infrequent merges.
- 📊 **Rich Statistics:** Calculates P50, P90, P99, Standard Deviation, and Counts.
- 📈 **Exporters:** Supports JSON, **Prometheus**, and **CSV** (Excel) formats.
- 🔌 **Drop-in Ready:** Use decorators like `@fast_timer` and `@count_calls`.

## Installation

```bash
pip install pylight-metrics
