Libraries¶
Libraries.
Every Bedrock Python library follows the same conventions: strict typing,
90%+ coverage, semantic versioning via Release Please, and published to PyPI
under the bedrock-python organisation.
Foundation layer
sqlalchemy-foundation-kit
Async SQLAlchemy session management, base ORM models with UUIDs and UTC timestamps, AsyncSession lifecycle wired to a Unit of Work.
redis-client-kit
redis-py wrapper with optional Pydantic serialization and OpenTelemetry spans on every command.
aiokafka-foundation-kit
asyncio Kafka producer/consumer abstraction over aiokafka with structured logging and metrics.
Reliability layer
omni-box
Transactional Outbox and Inbox patterns — write events in the same DB transaction as your business data, publish to Kafka asynchronously, consume idempotently.
idempotency-kit
Idempotency key guards for HTTP endpoints and Kafka consumers — at-most-once semantics where you need them.
deadline-budget
Deadline and budget propagation across async task chains so no task runs longer than it should.