CodeVelo.dev LLC
West Virginia, USA

codevelo-platform (0.1.0)

Published 2026-08-31 13:39:07 +00:00 by clindelof

Installation

pip install --index-url https://git.codevelo.dev/api/packages/codevelo/pypi/simple/ --extra-index-url https://pypi.org/simple codevelo-platform

About this package

Shared, model-agnostic backend plumbing for CodeVelo Python services

CodeVelo Platform Python

Versioned, model-agnostic backend plumbing shared by CodeVelo Python services.

Scope

  • strict environment parsing
  • Vault-backed secret and database URL resolution
  • SQLAlchemy engine/session construction
  • shared session-token, CSRF, role, and request-IP helpers
  • best-effort centralized audit event emission
  • standard HTTP audit middleware
  • standard health and capability routers

The package does not own domain models, ORM mappings, application settings, business authorization queries, schemas, or business logic. Each service keeps those boundaries locally and composes these primitives.

Adoption model

Applications pin an exact compatible release, for example:

codevelo-platform==0.1.0

Releases should be published to the internal Python package registry. Consumers must not depend on a mutable Git branch. The platform-application Blueprint should pin the current supported version for newly scaffolded services.

Publishing a v* tag runs the Gitea release workflow when the repository has a PACKAGE_TOKEN secret with write access to the codevelo package registry. Until that secret is configured, tagged builds are validated and publication is skipped so release tags cannot fail from missing credentials.

Development

python -m venv .venv
.venv\Scripts\python -m pip install -e ".[test]"
.venv\Scripts\python -m unittest discover -s tests -v
.venv\Scripts\python -m build

See MIGRATION.md for the staged rollout plan.

Requirements

Requires Python: >=3.12
Details
PyPI
2026-08-31 13:39:07 +00:00
16
16 KiB
Assets (2)
Versions (2) View all
0.1.1 2026-08-31
0.1.0 2026-08-31