Skip to content

Installation

Base package:

uv add "rn-forge-commons>=0.9,<0.10"

All optional integrations:

uv add "rn-forge-commons[all]>=0.9,<0.10"

Targeted extras:

  • json for JSON-formatted log output (python-json-logger)
  • markdown for Markdown structure (rn_forge.commons.text.markdown)
  • otel for OpenTelemetry log correlation
  • pydantic for strict configuration models (rn_forge.commons.lang.models)
  • resilience for async circuit breakers and HTTP retries
  • structlog for structured logging over the stdlib handlers
  • templates for the Jinja template engine (rn_forge.commons.text.templates)
  • testing for assertpy test helpers
  • all for every extra above