{ SP }
Back to projects
Infrastructure

bvital-core

Creator — shared platform library

A shared HIPAA-compliant Python library eliminating code duplication between two production services.

PythonSQLAlchemyAlembicAWS CodeArtifactpytest

Two Production Services

E4L-Prometheus · Patient Portal

bvital-core

Shared Python library

AWS CodeArtifact

Versioned releases

187 tests and CI-gated version bumps run before every release.

Why it exists

Two services had diverged copies of logging, LLM-client, and database code. bvital-core consolidates them into one canonical, versioned, testable package rather than maintained-twice utilities.

What it owns

Unified LLM client (text/JSON/vision/structured outputs), PHI scrubbing, audit logging, metrics, secrets handling, and an async SQLAlchemy database layer with roughly 20 ORM models aligned to the production schema.

187 tests with no external dependencies (SDKs mocked), CI-gated version bumps, and a GitHub Actions workflow that publishes releases to AWS CodeArtifact.