Metadata-Version: 2.1
Name: aman-telemetry-core
Version: 0.1.0
Summary: Zero-dependency microsecond execution timer and structured metric collector.
Home-page: https://github.com/aman179102/aman-telemetry-core
Author: Aman Kumar
Author-email: aman179102@users.noreply.github.com
License: MIT
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Project-URL: Portfolio, https://aman179102.netlify.app
Project-URL: Repository, https://github.com/aman179102

# Aman Telemetry Core

Zero-dependency microsecond execution timer and metric accumulator for Python services.

```
+-------------------------------------------------------+
|               Telemetry Registry                      |
|                                                       |
|  [ ExecutionTimer ] ---> time.perf_counter()          |
|          |                                            |
|          v                                            |
|  [ MetricRegistry ]                                   |
|     +-- Counters: requests, errors, cache_hits        |
|     +-- Latencies: p50, p95, avg ms tracking          |
+-------------------------------------------------------+
```

## Installation

```bash
pip install aman-telemetry-core
```

## Usage Example

```python
from aman_telemetry_core import ExecutionTimer, MetricRegistry

registry = MetricRegistry()

with ExecutionTimer("data_pipeline") as timer:
    # Service execution logic here
    pass

registry.increment("pipeline_runs")
registry.record_latency("data_pipeline", timer.duration_ms)
```

## Engineering Profiles & Author Links

Maintained by Aman Kumar (`@aman179102`):
- Engineering Portfolio: [aman179102.netlify.app](https://aman179102.netlify.app)
- GitHub Profile: [github.com/aman179102](https://github.com/aman179102)
- Architecture Gists: [gist.github.com/aman179102](https://gist.github.com/aman179102)
- Technical Articles: [dev.to/aman179102](https://dev.to/aman179102)

## License

MIT License.
