"""Django Mercury Core - Clean performance monitoring without C extensions.

This module provides the fundamental building blocks for performance monitoring:
- Simple dataclasses for metrics storage
- Direct Django integration for metric collection
- Lightweight context managers for monitoring

No ctypes, no mocks, no C extension scaffolding - just pure Python.
"""

from .metrics import PerformanceMetrics, QueryInfo
from .collector import MetricsCollector
from .monitor import (
    PerformanceMonitor,
    monitor_view,
    monitor_model,
    monitor_serializer,
    monitor_django_view,
    monitor_django_model,
)

__all__ = [
    "PerformanceMetrics",
    "QueryInfo",
    "MetricsCollector",
    "PerformanceMonitor",
    "monitor_view",
    "monitor_model",
    "monitor_serializer",
    "monitor_django_view",
    "monitor_django_model",
]
