Open-source library

Service infrastructure toolkit

A public, reusable Python library that every backend service in the platform is built on - the shared layer for observability, gRPC, resilience and caching, so each service ships production-grade plumbing for free.

Stack

  • Python
  • Litestar
  • gRPC
  • Redis
  • OpenTelemetry

Architecture notes

  1. 01

    Observability: Prometheus instrumentation, structured request-scoped logging, SQLAlchemy slow-query logging, OpenTelemetry tracing with OTLP auto-instrumentation

  2. 02

    gRPC helpers (shared channels, metrics/JWT/internal-token interceptors, error translation), Redis rate limiting and a TTL cache with in-flight dedup and Redis fallback

  3. 03

    Packaged with optional extras and CLI code generators - a real internal platform tool, not glue code