From 12b54dca4f9c0568ea38b6eeeeffb9c3d59a0df0 Mon Sep 17 00:00:00 2001 From: Paul Payne Date: Sat, 21 Feb 2026 01:55:02 -0800 Subject: [PATCH] refactor: remove event bus component and related files --- castle-api/src/castle_api/bus.py | 121 ---------- castle-api/src/castle_api/events.py | 61 ----- castle-api/src/castle_api/main.py | 9 +- event-bus/CLAUDE.md | 42 ---- event-bus/pyproject.toml | 31 --- event-bus/src/event_bus/__init__.py | 3 - event-bus/src/event_bus/bus.py | 121 ---------- event-bus/src/event_bus/config.py | 25 -- event-bus/src/event_bus/main.py | 115 --------- event-bus/tests/__init__.py | 0 event-bus/tests/conftest.py | 28 --- event-bus/tests/test_bus.py | 139 ----------- event-bus/tests/test_health.py | 13 - event-bus/uv.lock | 359 ---------------------------- 14 files changed, 2 insertions(+), 1065 deletions(-) delete mode 100644 castle-api/src/castle_api/bus.py delete mode 100644 castle-api/src/castle_api/events.py delete mode 100644 event-bus/CLAUDE.md delete mode 100644 event-bus/pyproject.toml delete mode 100644 event-bus/src/event_bus/__init__.py delete mode 100644 event-bus/src/event_bus/bus.py delete mode 100644 event-bus/src/event_bus/config.py delete mode 100644 event-bus/src/event_bus/main.py delete mode 100644 event-bus/tests/__init__.py delete mode 100644 event-bus/tests/conftest.py delete mode 100644 event-bus/tests/test_bus.py delete mode 100644 event-bus/tests/test_health.py delete mode 100644 event-bus/uv.lock diff --git a/castle-api/src/castle_api/bus.py b/castle-api/src/castle_api/bus.py deleted file mode 100644 index 1ee7c41..0000000 --- a/castle-api/src/castle_api/bus.py +++ /dev/null @@ -1,121 +0,0 @@ -"""Event bus core — in-memory subscription table and HTTP fan-out delivery.""" - -from __future__ import annotations - -import asyncio -import logging -from dataclasses import dataclass, field -from datetime import datetime, timezone - -import httpx - -logger = logging.getLogger(__name__) - - -@dataclass -class Subscription: - """A subscription to a topic.""" - - topic: str - callback_url: str - subscriber: str = "" # optional label for debugging - - -@dataclass -class EventBus: - """In-memory event bus with HTTP fan-out delivery.""" - - subscriptions: dict[str, list[Subscription]] = field(default_factory=dict) - _client: httpx.AsyncClient | None = field(default=None, repr=False) - - async def start(self) -> None: - """Initialize the HTTP client.""" - self._client = httpx.AsyncClient(timeout=10.0) - - async def stop(self) -> None: - """Close the HTTP client.""" - if self._client: - await self._client.aclose() - self._client = None - - def subscribe(self, topic: str, callback_url: str, subscriber: str = "") -> None: - """Register a subscription to a topic.""" - if topic not in self.subscriptions: - self.subscriptions[topic] = [] - - # Don't duplicate - for sub in self.subscriptions[topic]: - if sub.callback_url == callback_url: - return - - self.subscriptions[topic].append( - Subscription(topic=topic, callback_url=callback_url, subscriber=subscriber) - ) - logger.info("Subscribed %s to topic '%s' -> %s", subscriber, topic, callback_url) - - def unsubscribe(self, topic: str, callback_url: str) -> bool: - """Remove a subscription. Returns True if found and removed.""" - if topic not in self.subscriptions: - return False - - before = len(self.subscriptions[topic]) - self.subscriptions[topic] = [ - s for s in self.subscriptions[topic] if s.callback_url != callback_url - ] - removed = len(self.subscriptions[topic]) < before - - if not self.subscriptions[topic]: - del self.subscriptions[topic] - - return removed - - async def publish(self, topic: str, payload: dict) -> int: - """Publish an event to all subscribers. Returns number of subscribers notified.""" - subscribers = self.subscriptions.get(topic, []) - if not subscribers: - return 0 - - event = { - "topic": topic, - "payload": payload, - "published_at": datetime.now(timezone.utc).isoformat(), - } - - # Fan out to all subscribers concurrently, fire-and-forget style - tasks = [self._deliver(sub, event) for sub in subscribers] - results = await asyncio.gather(*tasks, return_exceptions=True) - - delivered = sum(1 for r in results if r is True) - return delivered - - async def _deliver(self, sub: Subscription, event: dict) -> bool: - """Deliver an event to a single subscriber.""" - if not self._client: - logger.error("HTTP client not initialized") - return False - - try: - response = await self._client.post(sub.callback_url, json=event) - if response.status_code < 300: - return True - logger.warning( - "Delivery to %s returned %d", sub.callback_url, response.status_code - ) - return False - except Exception: - logger.warning("Delivery to %s failed", sub.callback_url, exc_info=True) - return False - - def list_topics(self) -> dict[str, list[dict]]: - """List all topics and their subscribers.""" - return { - topic: [ - {"callback_url": s.callback_url, "subscriber": s.subscriber} - for s in subs - ] - for topic, subs in self.subscriptions.items() - } - - -# Singleton instance -bus = EventBus() diff --git a/castle-api/src/castle_api/events.py b/castle-api/src/castle_api/events.py deleted file mode 100644 index a23ebf2..0000000 --- a/castle-api/src/castle_api/events.py +++ /dev/null @@ -1,61 +0,0 @@ -"""Event bus API routes — subscribe, publish, unsubscribe, list topics.""" - -from __future__ import annotations - -from fastapi import APIRouter -from pydantic import BaseModel - -from castle_api.bus import bus - -router = APIRouter(prefix="/events", tags=["events"]) - - -class PublishRequest(BaseModel): - topic: str - payload: dict - - -class SubscribeRequest(BaseModel): - topic: str - callback_url: str - subscriber: str = "" - - -class UnsubscribeRequest(BaseModel): - topic: str - callback_url: str - - -@router.post("/publish") -async def publish(request: PublishRequest) -> dict: - """Publish an event to a topic.""" - delivered = await bus.publish(request.topic, request.payload) - return {"topic": request.topic, "subscribers_notified": delivered} - - -@router.post("/subscribe") -async def subscribe(request: SubscribeRequest) -> dict: - """Subscribe to a topic with a webhook callback URL.""" - bus.subscribe(request.topic, request.callback_url, request.subscriber) - return { - "topic": request.topic, - "callback_url": request.callback_url, - "status": "subscribed", - } - - -@router.post("/unsubscribe") -async def unsubscribe(request: UnsubscribeRequest) -> dict: - """Unsubscribe from a topic.""" - removed = bus.unsubscribe(request.topic, request.callback_url) - return { - "topic": request.topic, - "callback_url": request.callback_url, - "status": "unsubscribed" if removed else "not_found", - } - - -@router.get("/topics") -async def list_topics() -> dict: - """List all topics and their subscribers.""" - return {"topics": bus.list_topics()} diff --git a/castle-api/src/castle_api/main.py b/castle-api/src/castle_api/main.py index e9ebeed..ae08876 100644 --- a/castle-api/src/castle_api/main.py +++ b/castle-api/src/castle_api/main.py @@ -1,4 +1,4 @@ -"""Castle API — dashboard data, health aggregation, event bus, service management.""" +"""Castle API — dashboard data, health aggregation, and service management.""" from __future__ import annotations @@ -11,10 +11,8 @@ from fastapi import FastAPI from fastapi.middleware.cors import CORSMiddleware from starlette.responses import StreamingResponse -from castle_api.bus import bus from castle_api.config import settings from castle_api.config_editor import router as config_router -from castle_api.events import router as events_router from castle_api.logs import router as logs_router from castle_api.routes import router as dashboard_router from castle_api.secrets import router as secrets_router @@ -41,7 +39,6 @@ async def lifespan(app: FastAPI) -> AsyncGenerator[None, None]: global _shutting_down _shutting_down = False - await bus.start() poll_task = asyncio.create_task(health_poll_loop()) yield @@ -49,12 +46,11 @@ async def lifespan(app: FastAPI) -> AsyncGenerator[None, None]: _shutting_down = True poll_task.cancel() close_all_subscribers() - await bus.stop() app = FastAPI( title="castle-api", - description="Castle API, event bus, and service management", + description="Castle API and service management", version="0.1.0", lifespan=lifespan, ) @@ -68,7 +64,6 @@ app.add_middleware( app.include_router(config_router) app.include_router(dashboard_router) -app.include_router(events_router) app.include_router(logs_router) app.include_router(secrets_router) app.include_router(services_router) diff --git a/event-bus/CLAUDE.md b/event-bus/CLAUDE.md deleted file mode 100644 index 9be2fa9..0000000 --- a/event-bus/CLAUDE.md +++ /dev/null @@ -1,42 +0,0 @@ -# CLAUDE.md - -This file provides guidance to Claude Code (claude.ai/code) when working -with code in this repository. - -## Overview - -event-bus is a castle-component — a lightweight inter-service event bus for HTTP fan-out. -Services publish typed events to topics, other services subscribe with webhook callback URLs. -No persistence, no guaranteed delivery — just simple HTTP POST fan-out. - -## Commands - -```bash -uv sync # Install dependencies -uv run event-bus # Run service (port 9010) -uv run pytest tests/ -v # Run tests -uv run ruff check . # Lint -uv run ruff format . # Format -``` - -## Architecture - -- `src/event_bus/config.py` — Settings via pydantic-settings, env prefix `EVENT_BUS_` -- `src/event_bus/main.py` — FastAPI app, endpoints: publish, subscribe, unsubscribe, topics, health -- `src/event_bus/bus.py` — Core EventBus class with in-memory subscription table and async HTTP delivery -- `tests/` — pytest with TestClient fixtures - -## API - -- `POST /publish` — `{"topic": "...", "payload": {...}}` — fan-out to subscribers -- `POST /subscribe` — `{"topic": "...", "callback_url": "...", "subscriber": "..."}` — register webhook -- `POST /unsubscribe` — `{"topic": "...", "callback_url": "..."}` — remove subscription -- `GET /topics` — list all topics and their subscribers -- `GET /health` — health check - -## Configuration - -Environment variables with `EVENT_BUS_` prefix: -- `EVENT_BUS_DATA_DIR` — Data directory (default: ./data) -- `EVENT_BUS_HOST` — Bind host (default: 0.0.0.0) -- `EVENT_BUS_PORT` — Port (default: 9010) diff --git a/event-bus/pyproject.toml b/event-bus/pyproject.toml deleted file mode 100644 index 10a032d..0000000 --- a/event-bus/pyproject.toml +++ /dev/null @@ -1,31 +0,0 @@ -[project] -name = "event-bus" -version = "0.1.0" -description = "Inter-service event bus" -requires-python = ">=3.13" -dependencies = [ - "fastapi>=0.115.0", - "uvicorn>=0.34.0", - "pydantic-settings>=2.0.0", - "httpx>=0.27.0", -] - -[project.scripts] -event-bus = "event_bus.main:run" - -[build-system] -requires = ["hatchling"] -build-backend = "hatchling.build" - -[tool.hatch.build.targets.wheel] -packages = ["src/event_bus"] - -[dependency-groups] -dev = [ - "pytest>=7.0.0", - "pytest-asyncio>=0.23.0", - "httpx>=0.27.0", -] - -[tool.ruff.lint.isort] -known-first-party = ["event_bus"] diff --git a/event-bus/src/event_bus/__init__.py b/event-bus/src/event_bus/__init__.py deleted file mode 100644 index 4650214..0000000 --- a/event-bus/src/event_bus/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -"""Inter-service event bus.""" - -__version__ = "0.1.0" diff --git a/event-bus/src/event_bus/bus.py b/event-bus/src/event_bus/bus.py deleted file mode 100644 index 1ee7c41..0000000 --- a/event-bus/src/event_bus/bus.py +++ /dev/null @@ -1,121 +0,0 @@ -"""Event bus core — in-memory subscription table and HTTP fan-out delivery.""" - -from __future__ import annotations - -import asyncio -import logging -from dataclasses import dataclass, field -from datetime import datetime, timezone - -import httpx - -logger = logging.getLogger(__name__) - - -@dataclass -class Subscription: - """A subscription to a topic.""" - - topic: str - callback_url: str - subscriber: str = "" # optional label for debugging - - -@dataclass -class EventBus: - """In-memory event bus with HTTP fan-out delivery.""" - - subscriptions: dict[str, list[Subscription]] = field(default_factory=dict) - _client: httpx.AsyncClient | None = field(default=None, repr=False) - - async def start(self) -> None: - """Initialize the HTTP client.""" - self._client = httpx.AsyncClient(timeout=10.0) - - async def stop(self) -> None: - """Close the HTTP client.""" - if self._client: - await self._client.aclose() - self._client = None - - def subscribe(self, topic: str, callback_url: str, subscriber: str = "") -> None: - """Register a subscription to a topic.""" - if topic not in self.subscriptions: - self.subscriptions[topic] = [] - - # Don't duplicate - for sub in self.subscriptions[topic]: - if sub.callback_url == callback_url: - return - - self.subscriptions[topic].append( - Subscription(topic=topic, callback_url=callback_url, subscriber=subscriber) - ) - logger.info("Subscribed %s to topic '%s' -> %s", subscriber, topic, callback_url) - - def unsubscribe(self, topic: str, callback_url: str) -> bool: - """Remove a subscription. Returns True if found and removed.""" - if topic not in self.subscriptions: - return False - - before = len(self.subscriptions[topic]) - self.subscriptions[topic] = [ - s for s in self.subscriptions[topic] if s.callback_url != callback_url - ] - removed = len(self.subscriptions[topic]) < before - - if not self.subscriptions[topic]: - del self.subscriptions[topic] - - return removed - - async def publish(self, topic: str, payload: dict) -> int: - """Publish an event to all subscribers. Returns number of subscribers notified.""" - subscribers = self.subscriptions.get(topic, []) - if not subscribers: - return 0 - - event = { - "topic": topic, - "payload": payload, - "published_at": datetime.now(timezone.utc).isoformat(), - } - - # Fan out to all subscribers concurrently, fire-and-forget style - tasks = [self._deliver(sub, event) for sub in subscribers] - results = await asyncio.gather(*tasks, return_exceptions=True) - - delivered = sum(1 for r in results if r is True) - return delivered - - async def _deliver(self, sub: Subscription, event: dict) -> bool: - """Deliver an event to a single subscriber.""" - if not self._client: - logger.error("HTTP client not initialized") - return False - - try: - response = await self._client.post(sub.callback_url, json=event) - if response.status_code < 300: - return True - logger.warning( - "Delivery to %s returned %d", sub.callback_url, response.status_code - ) - return False - except Exception: - logger.warning("Delivery to %s failed", sub.callback_url, exc_info=True) - return False - - def list_topics(self) -> dict[str, list[dict]]: - """List all topics and their subscribers.""" - return { - topic: [ - {"callback_url": s.callback_url, "subscriber": s.subscriber} - for s in subs - ] - for topic, subs in self.subscriptions.items() - } - - -# Singleton instance -bus = EventBus() diff --git a/event-bus/src/event_bus/config.py b/event-bus/src/event_bus/config.py deleted file mode 100644 index d0d67c0..0000000 --- a/event-bus/src/event_bus/config.py +++ /dev/null @@ -1,25 +0,0 @@ -"""Configuration for event-bus.""" - -from pathlib import Path - -from pydantic_settings import BaseSettings - - -class Settings(BaseSettings): - """Service settings loaded from environment variables.""" - - data_dir: Path = Path("./data") - host: str = "0.0.0.0" - port: int = 9010 - - model_config = { - "env_prefix": "EVENT_BUS_", - "env_file": ".env", - } - - def ensure_data_dir(self) -> None: - """Create data directory if it doesn't exist.""" - self.data_dir.mkdir(parents=True, exist_ok=True) - - -settings = Settings() diff --git a/event-bus/src/event_bus/main.py b/event-bus/src/event_bus/main.py deleted file mode 100644 index dd427d6..0000000 --- a/event-bus/src/event_bus/main.py +++ /dev/null @@ -1,115 +0,0 @@ -"""Main application for event-bus. - -A lightweight castle-component for inter-service communication. -Services publish typed events, other services subscribe with webhook callbacks. -The bus delivers events via HTTP POST fan-out. No persistence, no guaranteed delivery. -""" - -from __future__ import annotations - -from collections.abc import AsyncGenerator -from contextlib import asynccontextmanager - -import uvicorn -from fastapi import FastAPI -from pydantic import BaseModel - -from event_bus.bus import bus -from event_bus.config import settings - - -@asynccontextmanager -async def lifespan(app: FastAPI) -> AsyncGenerator[None, None]: - """Application lifespan handler.""" - settings.ensure_data_dir() - await bus.start() - yield - await bus.stop() - - -app = FastAPI( - title="event-bus", - description="Inter-service event bus for castle", - version="0.1.0", - lifespan=lifespan, -) - - -class PublishRequest(BaseModel): - """Request body for publishing an event.""" - - topic: str - payload: dict - - -class SubscribeRequest(BaseModel): - """Request body for subscribing to a topic.""" - - topic: str - callback_url: str - subscriber: str = "" - - -class UnsubscribeRequest(BaseModel): - """Request body for unsubscribing from a topic.""" - - topic: str - callback_url: str - - -@app.get("/health") -async def health() -> dict[str, str]: - """Health check endpoint.""" - return {"status": "ok"} - - -@app.post("/publish") -async def publish(request: PublishRequest) -> dict: - """Publish an event to a topic. Returns number of subscribers notified.""" - delivered = await bus.publish(request.topic, request.payload) - return { - "topic": request.topic, - "subscribers_notified": delivered, - } - - -@app.post("/subscribe") -async def subscribe(request: SubscribeRequest) -> dict: - """Subscribe to a topic with a webhook callback URL.""" - bus.subscribe(request.topic, request.callback_url, request.subscriber) - return { - "topic": request.topic, - "callback_url": request.callback_url, - "status": "subscribed", - } - - -@app.post("/unsubscribe") -async def unsubscribe(request: UnsubscribeRequest) -> dict: - """Unsubscribe from a topic.""" - removed = bus.unsubscribe(request.topic, request.callback_url) - return { - "topic": request.topic, - "callback_url": request.callback_url, - "status": "unsubscribed" if removed else "not_found", - } - - -@app.get("/topics") -async def list_topics() -> dict: - """List all topics and their subscribers.""" - return {"topics": bus.list_topics()} - - -def run() -> None: - """Run the application with uvicorn.""" - uvicorn.run( - "event_bus.main:app", - host=settings.host, - port=settings.port, - reload=False, - ) - - -if __name__ == "__main__": - run() diff --git a/event-bus/tests/__init__.py b/event-bus/tests/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/event-bus/tests/conftest.py b/event-bus/tests/conftest.py deleted file mode 100644 index c7d53ce..0000000 --- a/event-bus/tests/conftest.py +++ /dev/null @@ -1,28 +0,0 @@ -"""Test fixtures for event-bus.""" - -from collections.abc import Generator -from pathlib import Path - -import pytest -from fastapi.testclient import TestClient - -from event_bus.config import settings -from event_bus.main import app - - -@pytest.fixture -def temp_data_dir(tmp_path: Path) -> Generator[Path, None, None]: - """Create a temporary data directory for tests.""" - data_dir = tmp_path / "data" - data_dir.mkdir() - original = settings.data_dir - settings.data_dir = data_dir - yield data_dir - settings.data_dir = original - - -@pytest.fixture -def client(temp_data_dir: Path) -> Generator[TestClient, None, None]: - """Create a test client with isolated data directory.""" - with TestClient(app) as client: - yield client diff --git a/event-bus/tests/test_bus.py b/event-bus/tests/test_bus.py deleted file mode 100644 index 9927795..0000000 --- a/event-bus/tests/test_bus.py +++ /dev/null @@ -1,139 +0,0 @@ -"""Tests for event bus publish/subscribe functionality.""" - -from fastapi.testclient import TestClient - -from event_bus.bus import EventBus - - -class TestSubscribe: - """Subscription management tests.""" - - def test_subscribe(self, client: TestClient) -> None: - """Subscribe to a topic.""" - response = client.post( - "/subscribe", - json={ - "topic": "test.event", - "callback_url": "http://localhost:9999/hook", - "subscriber": "test-service", - }, - ) - assert response.status_code == 200 - data = response.json() - assert data["status"] == "subscribed" - assert data["topic"] == "test.event" - - def test_subscribe_deduplicates(self, client: TestClient) -> None: - """Same callback URL for same topic is not duplicated.""" - for _ in range(3): - client.post( - "/subscribe", - json={ - "topic": "test.event", - "callback_url": "http://localhost:9999/hook", - }, - ) - - response = client.get("/topics") - topics = response.json()["topics"] - assert len(topics.get("test.event", [])) == 1 - - def test_unsubscribe(self, client: TestClient) -> None: - """Unsubscribe removes the subscription.""" - client.post( - "/subscribe", - json={ - "topic": "test.event", - "callback_url": "http://localhost:9999/hook", - }, - ) - - response = client.post( - "/unsubscribe", - json={ - "topic": "test.event", - "callback_url": "http://localhost:9999/hook", - }, - ) - assert response.json()["status"] == "unsubscribed" - - response = client.get("/topics") - assert "test.event" not in response.json()["topics"] - - def test_unsubscribe_not_found(self, client: TestClient) -> None: - """Unsubscribing from non-existent subscription returns not_found.""" - response = client.post( - "/unsubscribe", - json={ - "topic": "nonexistent", - "callback_url": "http://localhost:9999/hook", - }, - ) - assert response.json()["status"] == "not_found" - - -class TestPublish: - """Event publishing tests.""" - - def test_publish_no_subscribers(self, client: TestClient) -> None: - """Publishing to a topic with no subscribers returns 0.""" - response = client.post( - "/publish", - json={"topic": "empty.topic", "payload": {"msg": "hello"}}, - ) - assert response.status_code == 200 - assert response.json()["subscribers_notified"] == 0 - - -class TestTopics: - """Topic listing tests.""" - - def test_list_topics_empty(self, client: TestClient) -> None: - """Empty bus returns empty topics.""" - response = client.get("/topics") - assert response.status_code == 200 - assert response.json() == {"topics": {}} - - def test_list_topics_with_subscriptions(self, client: TestClient) -> None: - """Topics list shows all subscriptions.""" - client.post( - "/subscribe", - json={ - "topic": "a.event", - "callback_url": "http://localhost:9999/a", - "subscriber": "svc-a", - }, - ) - client.post( - "/subscribe", - json={ - "topic": "b.event", - "callback_url": "http://localhost:9999/b", - "subscriber": "svc-b", - }, - ) - - response = client.get("/topics") - topics = response.json()["topics"] - assert "a.event" in topics - assert "b.event" in topics - assert topics["a.event"][0]["subscriber"] == "svc-a" - - -class TestEventBusUnit: - """Unit tests for the EventBus class.""" - - def test_subscribe_and_list(self) -> None: - """Subscribe adds to subscription table.""" - eb = EventBus() - eb.subscribe("test", "http://localhost/hook", "test-svc") - topics = eb.list_topics() - assert "test" in topics - assert topics["test"][0]["callback_url"] == "http://localhost/hook" - - def test_unsubscribe_cleans_empty_topic(self) -> None: - """Unsubscribing the last subscriber removes the topic.""" - eb = EventBus() - eb.subscribe("test", "http://localhost/hook") - eb.unsubscribe("test", "http://localhost/hook") - assert "test" not in eb.list_topics() diff --git a/event-bus/tests/test_health.py b/event-bus/tests/test_health.py deleted file mode 100644 index 5f1249f..0000000 --- a/event-bus/tests/test_health.py +++ /dev/null @@ -1,13 +0,0 @@ -"""Tests for event-bus health endpoint.""" - -from fastapi.testclient import TestClient - - -class TestHealth: - """Health endpoint tests.""" - - def test_health(self, client: TestClient) -> None: - """Health endpoint returns ok.""" - response = client.get("/health") - assert response.status_code == 200 - assert response.json() == {"status": "ok"} diff --git a/event-bus/uv.lock b/event-bus/uv.lock deleted file mode 100644 index 47baaa5..0000000 --- a/event-bus/uv.lock +++ /dev/null @@ -1,359 +0,0 @@ -version = 1 -revision = 3 -requires-python = ">=3.13" - -[[package]] -name = "annotated-doc" -version = "0.0.4" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/57/ba/046ceea27344560984e26a590f90bc7f4a75b06701f653222458922b558c/annotated_doc-0.0.4.tar.gz", hash = "sha256:fbcda96e87e9c92ad167c2e53839e57503ecfda18804ea28102353485033faa4", size = 7288, upload-time = "2025-11-10T22:07:42.062Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/1e/d3/26bf1008eb3d2daa8ef4cacc7f3bfdc11818d111f7e2d0201bc6e3b49d45/annotated_doc-0.0.4-py3-none-any.whl", hash = "sha256:571ac1dc6991c450b25a9c2d84a3705e2ae7a53467b5d111c24fa8baabbed320", size = 5303, upload-time = "2025-11-10T22:07:40.673Z" }, -] - -[[package]] -name = "annotated-types" -version = "0.7.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/ee/67/531ea369ba64dcff5ec9c3402f9f51bf748cec26dde048a2f973a4eea7f5/annotated_types-0.7.0.tar.gz", hash = "sha256:aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89", size = 16081, upload-time = "2024-05-20T21:33:25.928Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/78/b6/6307fbef88d9b5ee7421e68d78a9f162e0da4900bc5f5793f6d3d0e34fb8/annotated_types-0.7.0-py3-none-any.whl", hash = "sha256:1f02e8b43a8fbbc3f3e0d4f0f4bfc8131bcb4eebe8849b8e5c773f3a1c582a53", size = 13643, upload-time = "2024-05-20T21:33:24.1Z" }, -] - -[[package]] -name = "anyio" -version = "4.12.1" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "idna" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/96/f0/5eb65b2bb0d09ac6776f2eb54adee6abe8228ea05b20a5ad0e4945de8aac/anyio-4.12.1.tar.gz", hash = "sha256:41cfcc3a4c85d3f05c932da7c26d0201ac36f72abd4435ba90d0464a3ffed703", size = 228685, upload-time = "2026-01-06T11:45:21.246Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/38/0e/27be9fdef66e72d64c0cdc3cc2823101b80585f8119b5c112c2e8f5f7dab/anyio-4.12.1-py3-none-any.whl", hash = "sha256:d405828884fc140aa80a3c667b8beed277f1dfedec42ba031bd6ac3db606ab6c", size = 113592, upload-time = "2026-01-06T11:45:19.497Z" }, -] - -[[package]] -name = "certifi" -version = "2026.1.4" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/e0/2d/a891ca51311197f6ad14a7ef42e2399f36cf2f9bd44752b3dc4eab60fdc5/certifi-2026.1.4.tar.gz", hash = "sha256:ac726dd470482006e014ad384921ed6438c457018f4b3d204aea4281258b2120", size = 154268, upload-time = "2026-01-04T02:42:41.825Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/e6/ad/3cc14f097111b4de0040c83a525973216457bbeeb63739ef1ed275c1c021/certifi-2026.1.4-py3-none-any.whl", hash = "sha256:9943707519e4add1115f44c2bc244f782c0249876bf51b6599fee1ffbedd685c", size = 152900, upload-time = "2026-01-04T02:42:40.15Z" }, -] - -[[package]] -name = "click" -version = "8.3.1" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "colorama", marker = "sys_platform == 'win32'" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/3d/fa/656b739db8587d7b5dfa22e22ed02566950fbfbcdc20311993483657a5c0/click-8.3.1.tar.gz", hash = "sha256:12ff4785d337a1bb490bb7e9c2b1ee5da3112e94a8622f26a6c77f5d2fc6842a", size = 295065, upload-time = "2025-11-15T20:45:42.706Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/98/78/01c019cdb5d6498122777c1a43056ebb3ebfeef2076d9d026bfe15583b2b/click-8.3.1-py3-none-any.whl", hash = "sha256:981153a64e25f12d547d3426c367a4857371575ee7ad18df2a6183ab0545b2a6", size = 108274, upload-time = "2025-11-15T20:45:41.139Z" }, -] - -[[package]] -name = "colorama" -version = "0.4.6" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44", size = 27697, upload-time = "2022-10-25T02:36:22.414Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335, upload-time = "2022-10-25T02:36:20.889Z" }, -] - -[[package]] -name = "event-bus" -version = "0.1.0" -source = { editable = "." } -dependencies = [ - { name = "fastapi" }, - { name = "httpx" }, - { name = "pydantic-settings" }, - { name = "uvicorn" }, -] - -[package.dev-dependencies] -dev = [ - { name = "httpx" }, - { name = "pytest" }, - { name = "pytest-asyncio" }, -] - -[package.metadata] -requires-dist = [ - { name = "fastapi", specifier = ">=0.115.0" }, - { name = "httpx", specifier = ">=0.27.0" }, - { name = "pydantic-settings", specifier = ">=2.0.0" }, - { name = "uvicorn", specifier = ">=0.34.0" }, -] - -[package.metadata.requires-dev] -dev = [ - { name = "httpx", specifier = ">=0.27.0" }, - { name = "pytest", specifier = ">=7.0.0" }, - { name = "pytest-asyncio", specifier = ">=0.23.0" }, -] - -[[package]] -name = "fastapi" -version = "0.129.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "annotated-doc" }, - { name = "pydantic" }, - { name = "starlette" }, - { name = "typing-extensions" }, - { name = "typing-inspection" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/48/47/75f6bea02e797abff1bca968d5997793898032d9923c1935ae2efdece642/fastapi-0.129.0.tar.gz", hash = "sha256:61315cebd2e65df5f97ec298c888f9de30430dd0612d59d6480beafbc10655af", size = 375450, upload-time = "2026-02-12T13:54:52.541Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/9e/dd/d0ee25348ac58245ee9f90b6f3cbb666bf01f69be7e0911f9851bddbda16/fastapi-0.129.0-py3-none-any.whl", hash = "sha256:b4946880e48f462692b31c083be0432275cbfb6e2274566b1be91479cc1a84ec", size = 102950, upload-time = "2026-02-12T13:54:54.528Z" }, -] - -[[package]] -name = "h11" -version = "0.16.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/01/ee/02a2c011bdab74c6fb3c75474d40b3052059d95df7e73351460c8588d963/h11-0.16.0.tar.gz", hash = "sha256:4e35b956cf45792e4caa5885e69fba00bdbc6ffafbfa020300e549b208ee5ff1", size = 101250, upload-time = "2025-04-24T03:35:25.427Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/04/4b/29cac41a4d98d144bf5f6d33995617b185d14b22401f75ca86f384e87ff1/h11-0.16.0-py3-none-any.whl", hash = "sha256:63cf8bbe7522de3bf65932fda1d9c2772064ffb3dae62d55932da54b31cb6c86", size = 37515, upload-time = "2025-04-24T03:35:24.344Z" }, -] - -[[package]] -name = "httpcore" -version = "1.0.9" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "certifi" }, - { name = "h11" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/06/94/82699a10bca87a5556c9c59b5963f2d039dbd239f25bc2a63907a05a14cb/httpcore-1.0.9.tar.gz", hash = "sha256:6e34463af53fd2ab5d807f399a9b45ea31c3dfa2276f15a2c3f00afff6e176e8", size = 85484, upload-time = "2025-04-24T22:06:22.219Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/7e/f5/f66802a942d491edb555dd61e3a9961140fd64c90bce1eafd741609d334d/httpcore-1.0.9-py3-none-any.whl", hash = "sha256:2d400746a40668fc9dec9810239072b40b4484b640a8c38fd654a024c7a1bf55", size = 78784, upload-time = "2025-04-24T22:06:20.566Z" }, -] - -[[package]] -name = "httpx" -version = "0.28.1" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "anyio" }, - { name = "certifi" }, - { name = "httpcore" }, - { name = "idna" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/b1/df/48c586a5fe32a0f01324ee087459e112ebb7224f646c0b5023f5e79e9956/httpx-0.28.1.tar.gz", hash = "sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc", size = 141406, upload-time = "2024-12-06T15:37:23.222Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/2a/39/e50c7c3a983047577ee07d2a9e53faf5a69493943ec3f6a384bdc792deb2/httpx-0.28.1-py3-none-any.whl", hash = "sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad", size = 73517, upload-time = "2024-12-06T15:37:21.509Z" }, -] - -[[package]] -name = "idna" -version = "3.11" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/6f/6d/0703ccc57f3a7233505399edb88de3cbd678da106337b9fcde432b65ed60/idna-3.11.tar.gz", hash = "sha256:795dafcc9c04ed0c1fb032c2aa73654d8e8c5023a7df64a53f39190ada629902", size = 194582, upload-time = "2025-10-12T14:55:20.501Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/0e/61/66938bbb5fc52dbdf84594873d5b51fb1f7c7794e9c0f5bd885f30bc507b/idna-3.11-py3-none-any.whl", hash = "sha256:771a87f49d9defaf64091e6e6fe9c18d4833f140bd19464795bc32d966ca37ea", size = 71008, upload-time = "2025-10-12T14:55:18.883Z" }, -] - -[[package]] -name = "iniconfig" -version = "2.3.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/72/34/14ca021ce8e5dfedc35312d08ba8bf51fdd999c576889fc2c24cb97f4f10/iniconfig-2.3.0.tar.gz", hash = "sha256:c76315c77db068650d49c5b56314774a7804df16fee4402c1f19d6d15d8c4730", size = 20503, upload-time = "2025-10-18T21:55:43.219Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/cb/b1/3846dd7f199d53cb17f49cba7e651e9ce294d8497c8c150530ed11865bb8/iniconfig-2.3.0-py3-none-any.whl", hash = "sha256:f631c04d2c48c52b84d0d0549c99ff3859c98df65b3101406327ecc7d53fbf12", size = 7484, upload-time = "2025-10-18T21:55:41.639Z" }, -] - -[[package]] -name = "packaging" -version = "26.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/65/ee/299d360cdc32edc7d2cf530f3accf79c4fca01e96ffc950d8a52213bd8e4/packaging-26.0.tar.gz", hash = "sha256:00243ae351a257117b6a241061796684b084ed1c516a08c48a3f7e147a9d80b4", size = 143416, upload-time = "2026-01-21T20:50:39.064Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/b7/b9/c538f279a4e237a006a2c98387d081e9eb060d203d8ed34467cc0f0b9b53/packaging-26.0-py3-none-any.whl", hash = "sha256:b36f1fef9334a5588b4166f8bcd26a14e521f2b55e6b9de3aaa80d3ff7a37529", size = 74366, upload-time = "2026-01-21T20:50:37.788Z" }, -] - -[[package]] -name = "pluggy" -version = "1.6.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/f9/e2/3e91f31a7d2b083fe6ef3fa267035b518369d9511ffab804f839851d2779/pluggy-1.6.0.tar.gz", hash = "sha256:7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3", size = 69412, upload-time = "2025-05-15T12:30:07.975Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/54/20/4d324d65cc6d9205fabedc306948156824eb9f0ee1633355a8f7ec5c66bf/pluggy-1.6.0-py3-none-any.whl", hash = "sha256:e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746", size = 20538, upload-time = "2025-05-15T12:30:06.134Z" }, -] - -[[package]] -name = "pydantic" -version = "2.12.5" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "annotated-types" }, - { name = "pydantic-core" }, - { name = "typing-extensions" }, - { name = "typing-inspection" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/69/44/36f1a6e523abc58ae5f928898e4aca2e0ea509b5aa6f6f392a5d882be928/pydantic-2.12.5.tar.gz", hash = "sha256:4d351024c75c0f085a9febbb665ce8c0c6ec5d30e903bdb6394b7ede26aebb49", size = 821591, upload-time = "2025-11-26T15:11:46.471Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/5a/87/b70ad306ebb6f9b585f114d0ac2137d792b48be34d732d60e597c2f8465a/pydantic-2.12.5-py3-none-any.whl", hash = "sha256:e561593fccf61e8a20fc46dfc2dfe075b8be7d0188df33f221ad1f0139180f9d", size = 463580, upload-time = "2025-11-26T15:11:44.605Z" }, -] - -[[package]] -name = "pydantic-core" -version = "2.41.5" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "typing-extensions" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/71/70/23b021c950c2addd24ec408e9ab05d59b035b39d97cdc1130e1bce647bb6/pydantic_core-2.41.5.tar.gz", hash = "sha256:08daa51ea16ad373ffd5e7606252cc32f07bc72b28284b6bc9c6df804816476e", size = 460952, upload-time = "2025-11-04T13:43:49.098Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/87/06/8806241ff1f70d9939f9af039c6c35f2360cf16e93c2ca76f184e76b1564/pydantic_core-2.41.5-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:941103c9be18ac8daf7b7adca8228f8ed6bb7a1849020f643b3a14d15b1924d9", size = 2120403, upload-time = "2025-11-04T13:40:25.248Z" }, - { url = "https://files.pythonhosted.org/packages/94/02/abfa0e0bda67faa65fef1c84971c7e45928e108fe24333c81f3bfe35d5f5/pydantic_core-2.41.5-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:112e305c3314f40c93998e567879e887a3160bb8689ef3d2c04b6cc62c33ac34", size = 1896206, upload-time = "2025-11-04T13:40:27.099Z" }, - { url = "https://files.pythonhosted.org/packages/15/df/a4c740c0943e93e6500f9eb23f4ca7ec9bf71b19e608ae5b579678c8d02f/pydantic_core-2.41.5-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0cbaad15cb0c90aa221d43c00e77bb33c93e8d36e0bf74760cd00e732d10a6a0", size = 1919307, upload-time = "2025-11-04T13:40:29.806Z" }, - { url = "https://files.pythonhosted.org/packages/9a/e3/6324802931ae1d123528988e0e86587c2072ac2e5394b4bc2bc34b61ff6e/pydantic_core-2.41.5-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:03ca43e12fab6023fc79d28ca6b39b05f794ad08ec2feccc59a339b02f2b3d33", size = 2063258, upload-time = "2025-11-04T13:40:33.544Z" }, - { url = "https://files.pythonhosted.org/packages/c9/d4/2230d7151d4957dd79c3044ea26346c148c98fbf0ee6ebd41056f2d62ab5/pydantic_core-2.41.5-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:dc799088c08fa04e43144b164feb0c13f9a0bc40503f8df3e9fde58a3c0c101e", size = 2214917, upload-time = "2025-11-04T13:40:35.479Z" }, - { url = "https://files.pythonhosted.org/packages/e6/9f/eaac5df17a3672fef0081b6c1bb0b82b33ee89aa5cec0d7b05f52fd4a1fa/pydantic_core-2.41.5-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:97aeba56665b4c3235a0e52b2c2f5ae9cd071b8a8310ad27bddb3f7fb30e9aa2", size = 2332186, upload-time = "2025-11-04T13:40:37.436Z" }, - { url = "https://files.pythonhosted.org/packages/cf/4e/35a80cae583a37cf15604b44240e45c05e04e86f9cfd766623149297e971/pydantic_core-2.41.5-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:406bf18d345822d6c21366031003612b9c77b3e29ffdb0f612367352aab7d586", size = 2073164, upload-time = "2025-11-04T13:40:40.289Z" }, - { url = "https://files.pythonhosted.org/packages/bf/e3/f6e262673c6140dd3305d144d032f7bd5f7497d3871c1428521f19f9efa2/pydantic_core-2.41.5-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:b93590ae81f7010dbe380cdeab6f515902ebcbefe0b9327cc4804d74e93ae69d", size = 2179146, upload-time = "2025-11-04T13:40:42.809Z" }, - { url = "https://files.pythonhosted.org/packages/75/c7/20bd7fc05f0c6ea2056a4565c6f36f8968c0924f19b7d97bbfea55780e73/pydantic_core-2.41.5-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:01a3d0ab748ee531f4ea6c3e48ad9dac84ddba4b0d82291f87248f2f9de8d740", size = 2137788, upload-time = "2025-11-04T13:40:44.752Z" }, - { url = "https://files.pythonhosted.org/packages/3a/8d/34318ef985c45196e004bc46c6eab2eda437e744c124ef0dbe1ff2c9d06b/pydantic_core-2.41.5-cp313-cp313-musllinux_1_1_armv7l.whl", hash = "sha256:6561e94ba9dacc9c61bce40e2d6bdc3bfaa0259d3ff36ace3b1e6901936d2e3e", size = 2340133, upload-time = "2025-11-04T13:40:46.66Z" }, - { url = "https://files.pythonhosted.org/packages/9c/59/013626bf8c78a5a5d9350d12e7697d3d4de951a75565496abd40ccd46bee/pydantic_core-2.41.5-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:915c3d10f81bec3a74fbd4faebe8391013ba61e5a1a8d48c4455b923bdda7858", size = 2324852, upload-time = "2025-11-04T13:40:48.575Z" }, - { url = "https://files.pythonhosted.org/packages/1a/d9/c248c103856f807ef70c18a4f986693a46a8ffe1602e5d361485da502d20/pydantic_core-2.41.5-cp313-cp313-win32.whl", hash = "sha256:650ae77860b45cfa6e2cdafc42618ceafab3a2d9a3811fcfbd3bbf8ac3c40d36", size = 1994679, upload-time = "2025-11-04T13:40:50.619Z" }, - { url = "https://files.pythonhosted.org/packages/9e/8b/341991b158ddab181cff136acd2552c9f35bd30380422a639c0671e99a91/pydantic_core-2.41.5-cp313-cp313-win_amd64.whl", hash = "sha256:79ec52ec461e99e13791ec6508c722742ad745571f234ea6255bed38c6480f11", size = 2019766, upload-time = "2025-11-04T13:40:52.631Z" }, - { url = "https://files.pythonhosted.org/packages/73/7d/f2f9db34af103bea3e09735bb40b021788a5e834c81eedb541991badf8f5/pydantic_core-2.41.5-cp313-cp313-win_arm64.whl", hash = "sha256:3f84d5c1b4ab906093bdc1ff10484838aca54ef08de4afa9de0f5f14d69639cd", size = 1981005, upload-time = "2025-11-04T13:40:54.734Z" }, - { url = "https://files.pythonhosted.org/packages/ea/28/46b7c5c9635ae96ea0fbb779e271a38129df2550f763937659ee6c5dbc65/pydantic_core-2.41.5-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:3f37a19d7ebcdd20b96485056ba9e8b304e27d9904d233d7b1015db320e51f0a", size = 2119622, upload-time = "2025-11-04T13:40:56.68Z" }, - { url = "https://files.pythonhosted.org/packages/74/1a/145646e5687e8d9a1e8d09acb278c8535ebe9e972e1f162ed338a622f193/pydantic_core-2.41.5-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:1d1d9764366c73f996edd17abb6d9d7649a7eb690006ab6adbda117717099b14", size = 1891725, upload-time = "2025-11-04T13:40:58.807Z" }, - { url = "https://files.pythonhosted.org/packages/23/04/e89c29e267b8060b40dca97bfc64a19b2a3cf99018167ea1677d96368273/pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:25e1c2af0fce638d5f1988b686f3b3ea8cd7de5f244ca147c777769e798a9cd1", size = 1915040, upload-time = "2025-11-04T13:41:00.853Z" }, - { url = "https://files.pythonhosted.org/packages/84/a3/15a82ac7bd97992a82257f777b3583d3e84bdb06ba6858f745daa2ec8a85/pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:506d766a8727beef16b7adaeb8ee6217c64fc813646b424d0804d67c16eddb66", size = 2063691, upload-time = "2025-11-04T13:41:03.504Z" }, - { url = "https://files.pythonhosted.org/packages/74/9b/0046701313c6ef08c0c1cf0e028c67c770a4e1275ca73131563c5f2a310a/pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4819fa52133c9aa3c387b3328f25c1facc356491e6135b459f1de698ff64d869", size = 2213897, upload-time = "2025-11-04T13:41:05.804Z" }, - { url = "https://files.pythonhosted.org/packages/8a/cd/6bac76ecd1b27e75a95ca3a9a559c643b3afcd2dd62086d4b7a32a18b169/pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2b761d210c9ea91feda40d25b4efe82a1707da2ef62901466a42492c028553a2", size = 2333302, upload-time = "2025-11-04T13:41:07.809Z" }, - { url = "https://files.pythonhosted.org/packages/4c/d2/ef2074dc020dd6e109611a8be4449b98cd25e1b9b8a303c2f0fca2f2bcf7/pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:22f0fb8c1c583a3b6f24df2470833b40207e907b90c928cc8d3594b76f874375", size = 2064877, upload-time = "2025-11-04T13:41:09.827Z" }, - { url = "https://files.pythonhosted.org/packages/18/66/e9db17a9a763d72f03de903883c057b2592c09509ccfe468187f2a2eef29/pydantic_core-2.41.5-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:2782c870e99878c634505236d81e5443092fba820f0373997ff75f90f68cd553", size = 2180680, upload-time = "2025-11-04T13:41:12.379Z" }, - { url = "https://files.pythonhosted.org/packages/d3/9e/3ce66cebb929f3ced22be85d4c2399b8e85b622db77dad36b73c5387f8f8/pydantic_core-2.41.5-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:0177272f88ab8312479336e1d777f6b124537d47f2123f89cb37e0accea97f90", size = 2138960, upload-time = "2025-11-04T13:41:14.627Z" }, - { url = "https://files.pythonhosted.org/packages/a6/62/205a998f4327d2079326b01abee48e502ea739d174f0a89295c481a2272e/pydantic_core-2.41.5-cp314-cp314-musllinux_1_1_armv7l.whl", hash = "sha256:63510af5e38f8955b8ee5687740d6ebf7c2a0886d15a6d65c32814613681bc07", size = 2339102, upload-time = "2025-11-04T13:41:16.868Z" }, - { url = "https://files.pythonhosted.org/packages/3c/0d/f05e79471e889d74d3d88f5bd20d0ed189ad94c2423d81ff8d0000aab4ff/pydantic_core-2.41.5-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:e56ba91f47764cc14f1daacd723e3e82d1a89d783f0f5afe9c364b8bb491ccdb", size = 2326039, upload-time = "2025-11-04T13:41:18.934Z" }, - { url = "https://files.pythonhosted.org/packages/ec/e1/e08a6208bb100da7e0c4b288eed624a703f4d129bde2da475721a80cab32/pydantic_core-2.41.5-cp314-cp314-win32.whl", hash = "sha256:aec5cf2fd867b4ff45b9959f8b20ea3993fc93e63c7363fe6851424c8a7e7c23", size = 1995126, upload-time = "2025-11-04T13:41:21.418Z" }, - { url = "https://files.pythonhosted.org/packages/48/5d/56ba7b24e9557f99c9237e29f5c09913c81eeb2f3217e40e922353668092/pydantic_core-2.41.5-cp314-cp314-win_amd64.whl", hash = "sha256:8e7c86f27c585ef37c35e56a96363ab8de4e549a95512445b85c96d3e2f7c1bf", size = 2015489, upload-time = "2025-11-04T13:41:24.076Z" }, - { url = "https://files.pythonhosted.org/packages/4e/bb/f7a190991ec9e3e0ba22e4993d8755bbc4a32925c0b5b42775c03e8148f9/pydantic_core-2.41.5-cp314-cp314-win_arm64.whl", hash = "sha256:e672ba74fbc2dc8eea59fb6d4aed6845e6905fc2a8afe93175d94a83ba2a01a0", size = 1977288, upload-time = "2025-11-04T13:41:26.33Z" }, - { url = "https://files.pythonhosted.org/packages/92/ed/77542d0c51538e32e15afe7899d79efce4b81eee631d99850edc2f5e9349/pydantic_core-2.41.5-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:8566def80554c3faa0e65ac30ab0932b9e3a5cd7f8323764303d468e5c37595a", size = 2120255, upload-time = "2025-11-04T13:41:28.569Z" }, - { url = "https://files.pythonhosted.org/packages/bb/3d/6913dde84d5be21e284439676168b28d8bbba5600d838b9dca99de0fad71/pydantic_core-2.41.5-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:b80aa5095cd3109962a298ce14110ae16b8c1aece8b72f9dafe81cf597ad80b3", size = 1863760, upload-time = "2025-11-04T13:41:31.055Z" }, - { url = "https://files.pythonhosted.org/packages/5a/f0/e5e6b99d4191da102f2b0eb9687aaa7f5bea5d9964071a84effc3e40f997/pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3006c3dd9ba34b0c094c544c6006cc79e87d8612999f1a5d43b769b89181f23c", size = 1878092, upload-time = "2025-11-04T13:41:33.21Z" }, - { url = "https://files.pythonhosted.org/packages/71/48/36fb760642d568925953bcc8116455513d6e34c4beaa37544118c36aba6d/pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:72f6c8b11857a856bcfa48c86f5368439f74453563f951e473514579d44aa612", size = 2053385, upload-time = "2025-11-04T13:41:35.508Z" }, - { url = "https://files.pythonhosted.org/packages/20/25/92dc684dd8eb75a234bc1c764b4210cf2646479d54b47bf46061657292a8/pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5cb1b2f9742240e4bb26b652a5aeb840aa4b417c7748b6f8387927bc6e45e40d", size = 2218832, upload-time = "2025-11-04T13:41:37.732Z" }, - { url = "https://files.pythonhosted.org/packages/e2/09/f53e0b05023d3e30357d82eb35835d0f6340ca344720a4599cd663dca599/pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:bd3d54f38609ff308209bd43acea66061494157703364ae40c951f83ba99a1a9", size = 2327585, upload-time = "2025-11-04T13:41:40Z" }, - { url = "https://files.pythonhosted.org/packages/aa/4e/2ae1aa85d6af35a39b236b1b1641de73f5a6ac4d5a7509f77b814885760c/pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2ff4321e56e879ee8d2a879501c8e469414d948f4aba74a2d4593184eb326660", size = 2041078, upload-time = "2025-11-04T13:41:42.323Z" }, - { url = "https://files.pythonhosted.org/packages/cd/13/2e215f17f0ef326fc72afe94776edb77525142c693767fc347ed6288728d/pydantic_core-2.41.5-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:d0d2568a8c11bf8225044aa94409e21da0cb09dcdafe9ecd10250b2baad531a9", size = 2173914, upload-time = "2025-11-04T13:41:45.221Z" }, - { url = "https://files.pythonhosted.org/packages/02/7a/f999a6dcbcd0e5660bc348a3991c8915ce6599f4f2c6ac22f01d7a10816c/pydantic_core-2.41.5-cp314-cp314t-musllinux_1_1_aarch64.whl", hash = "sha256:a39455728aabd58ceabb03c90e12f71fd30fa69615760a075b9fec596456ccc3", size = 2129560, upload-time = "2025-11-04T13:41:47.474Z" }, - { url = "https://files.pythonhosted.org/packages/3a/b1/6c990ac65e3b4c079a4fb9f5b05f5b013afa0f4ed6780a3dd236d2cbdc64/pydantic_core-2.41.5-cp314-cp314t-musllinux_1_1_armv7l.whl", hash = "sha256:239edca560d05757817c13dc17c50766136d21f7cd0fac50295499ae24f90fdf", size = 2329244, upload-time = "2025-11-04T13:41:49.992Z" }, - { url = "https://files.pythonhosted.org/packages/d9/02/3c562f3a51afd4d88fff8dffb1771b30cfdfd79befd9883ee094f5b6c0d8/pydantic_core-2.41.5-cp314-cp314t-musllinux_1_1_x86_64.whl", hash = "sha256:2a5e06546e19f24c6a96a129142a75cee553cc018ffee48a460059b1185f4470", size = 2331955, upload-time = "2025-11-04T13:41:54.079Z" }, - { url = "https://files.pythonhosted.org/packages/5c/96/5fb7d8c3c17bc8c62fdb031c47d77a1af698f1d7a406b0f79aaa1338f9ad/pydantic_core-2.41.5-cp314-cp314t-win32.whl", hash = "sha256:b4ececa40ac28afa90871c2cc2b9ffd2ff0bf749380fbdf57d165fd23da353aa", size = 1988906, upload-time = "2025-11-04T13:41:56.606Z" }, - { url = "https://files.pythonhosted.org/packages/22/ed/182129d83032702912c2e2d8bbe33c036f342cc735737064668585dac28f/pydantic_core-2.41.5-cp314-cp314t-win_amd64.whl", hash = "sha256:80aa89cad80b32a912a65332f64a4450ed00966111b6615ca6816153d3585a8c", size = 1981607, upload-time = "2025-11-04T13:41:58.889Z" }, - { url = "https://files.pythonhosted.org/packages/9f/ed/068e41660b832bb0b1aa5b58011dea2a3fe0ba7861ff38c4d4904c1c1a99/pydantic_core-2.41.5-cp314-cp314t-win_arm64.whl", hash = "sha256:35b44f37a3199f771c3eaa53051bc8a70cd7b54f333531c59e29fd4db5d15008", size = 1974769, upload-time = "2025-11-04T13:42:01.186Z" }, -] - -[[package]] -name = "pydantic-settings" -version = "2.13.1" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "pydantic" }, - { name = "python-dotenv" }, - { name = "typing-inspection" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/52/6d/fffca34caecc4a3f97bda81b2098da5e8ab7efc9a66e819074a11955d87e/pydantic_settings-2.13.1.tar.gz", hash = "sha256:b4c11847b15237fb0171e1462bf540e294affb9b86db4d9aa5c01730bdbe4025", size = 223826, upload-time = "2026-02-19T13:45:08.055Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/00/4b/ccc026168948fec4f7555b9164c724cf4125eac006e176541483d2c959be/pydantic_settings-2.13.1-py3-none-any.whl", hash = "sha256:d56fd801823dbeae7f0975e1f8c8e25c258eb75d278ea7abb5d9cebb01b56237", size = 58929, upload-time = "2026-02-19T13:45:06.034Z" }, -] - -[[package]] -name = "pygments" -version = "2.19.2" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/b0/77/a5b8c569bf593b0140bde72ea885a803b82086995367bf2037de0159d924/pygments-2.19.2.tar.gz", hash = "sha256:636cb2477cec7f8952536970bc533bc43743542f70392ae026374600add5b887", size = 4968631, upload-time = "2025-06-21T13:39:12.283Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/c7/21/705964c7812476f378728bdf590ca4b771ec72385c533964653c68e86bdc/pygments-2.19.2-py3-none-any.whl", hash = "sha256:86540386c03d588bb81d44bc3928634ff26449851e99741617ecb9037ee5ec0b", size = 1225217, upload-time = "2025-06-21T13:39:07.939Z" }, -] - -[[package]] -name = "pytest" -version = "9.0.2" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "colorama", marker = "sys_platform == 'win32'" }, - { name = "iniconfig" }, - { name = "packaging" }, - { name = "pluggy" }, - { name = "pygments" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/d1/db/7ef3487e0fb0049ddb5ce41d3a49c235bf9ad299b6a25d5780a89f19230f/pytest-9.0.2.tar.gz", hash = "sha256:75186651a92bd89611d1d9fc20f0b4345fd827c41ccd5c299a868a05d70edf11", size = 1568901, upload-time = "2025-12-06T21:30:51.014Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/3b/ab/b3226f0bd7cdcf710fbede2b3548584366da3b19b5021e74f5bde2a8fa3f/pytest-9.0.2-py3-none-any.whl", hash = "sha256:711ffd45bf766d5264d487b917733b453d917afd2b0ad65223959f59089f875b", size = 374801, upload-time = "2025-12-06T21:30:49.154Z" }, -] - -[[package]] -name = "pytest-asyncio" -version = "1.3.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "pytest" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/90/2c/8af215c0f776415f3590cac4f9086ccefd6fd463befeae41cd4d3f193e5a/pytest_asyncio-1.3.0.tar.gz", hash = "sha256:d7f52f36d231b80ee124cd216ffb19369aa168fc10095013c6b014a34d3ee9e5", size = 50087, upload-time = "2025-11-10T16:07:47.256Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/e5/35/f8b19922b6a25bc0880171a2f1a003eaeb93657475193ab516fd87cac9da/pytest_asyncio-1.3.0-py3-none-any.whl", hash = "sha256:611e26147c7f77640e6d0a92a38ed17c3e9848063698d5c93d5aa7aa11cebff5", size = 15075, upload-time = "2025-11-10T16:07:45.537Z" }, -] - -[[package]] -name = "python-dotenv" -version = "1.2.1" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/f0/26/19cadc79a718c5edbec86fd4919a6b6d3f681039a2f6d66d14be94e75fb9/python_dotenv-1.2.1.tar.gz", hash = "sha256:42667e897e16ab0d66954af0e60a9caa94f0fd4ecf3aaf6d2d260eec1aa36ad6", size = 44221, upload-time = "2025-10-26T15:12:10.434Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/14/1b/a298b06749107c305e1fe0f814c6c74aea7b2f1e10989cb30f544a1b3253/python_dotenv-1.2.1-py3-none-any.whl", hash = "sha256:b81ee9561e9ca4004139c6cbba3a238c32b03e4894671e181b671e8cb8425d61", size = 21230, upload-time = "2025-10-26T15:12:09.109Z" }, -] - -[[package]] -name = "starlette" -version = "0.52.1" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "anyio" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/c4/68/79977123bb7be889ad680d79a40f339082c1978b5cfcf62c2d8d196873ac/starlette-0.52.1.tar.gz", hash = "sha256:834edd1b0a23167694292e94f597773bc3f89f362be6effee198165a35d62933", size = 2653702, upload-time = "2026-01-18T13:34:11.062Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/81/0d/13d1d239a25cbfb19e740db83143e95c772a1fe10202dda4b76792b114dd/starlette-0.52.1-py3-none-any.whl", hash = "sha256:0029d43eb3d273bc4f83a08720b4912ea4b071087a3b48db01b7c839f7954d74", size = 74272, upload-time = "2026-01-18T13:34:09.188Z" }, -] - -[[package]] -name = "typing-extensions" -version = "4.15.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/72/94/1a15dd82efb362ac84269196e94cf00f187f7ed21c242792a923cdb1c61f/typing_extensions-4.15.0.tar.gz", hash = "sha256:0cea48d173cc12fa28ecabc3b837ea3cf6f38c6d1136f85cbaaf598984861466", size = 109391, upload-time = "2025-08-25T13:49:26.313Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/18/67/36e9267722cc04a6b9f15c7f3441c2363321a3ea07da7ae0c0707beb2a9c/typing_extensions-4.15.0-py3-none-any.whl", hash = "sha256:f0fa19c6845758ab08074a0cfa8b7aecb71c999ca73d62883bc25cc018c4e548", size = 44614, upload-time = "2025-08-25T13:49:24.86Z" }, -] - -[[package]] -name = "typing-inspection" -version = "0.4.2" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "typing-extensions" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/55/e3/70399cb7dd41c10ac53367ae42139cf4b1ca5f36bb3dc6c9d33acdb43655/typing_inspection-0.4.2.tar.gz", hash = "sha256:ba561c48a67c5958007083d386c3295464928b01faa735ab8547c5692e87f464", size = 75949, upload-time = "2025-10-01T02:14:41.687Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/dc/9b/47798a6c91d8bdb567fe2698fe81e0c6b7cb7ef4d13da4114b41d239f65d/typing_inspection-0.4.2-py3-none-any.whl", hash = "sha256:4ed1cacbdc298c220f1bd249ed5287caa16f34d44ef4e9c3d0cbad5b521545e7", size = 14611, upload-time = "2025-10-01T02:14:40.154Z" }, -] - -[[package]] -name = "uvicorn" -version = "0.41.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "click" }, - { name = "h11" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/32/ce/eeb58ae4ac36fe09e3842eb02e0eb676bf2c53ae062b98f1b2531673efdd/uvicorn-0.41.0.tar.gz", hash = "sha256:09d11cf7008da33113824ee5a1c6422d89fbc2ff476540d69a34c87fab8b571a", size = 82633, upload-time = "2026-02-16T23:07:24.1Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/83/e4/d04a086285c20886c0daad0e026f250869201013d18f81d9ff5eada73a88/uvicorn-0.41.0-py3-none-any.whl", hash = "sha256:29e35b1d2c36a04b9e180d4007ede3bcb32a85fbdfd6c6aeb3f26839de088187", size = 68783, upload-time = "2026-02-16T23:07:22.357Z" }, -]