Skip to content

Latest commit

 

History

History

python-legacy

Folders and files

README.md

python-legacy — superseded Python implementation

This directory contains the original Python implementation of Tiltmeter (FastAPI + Typer + cryptography + aiosqlite). It has been fully superseded by the Go rewrite in the repository root:

  • internal/ — Go packages (database, signing, policy, replay, oci, server, cli)
  • cmd/tiltmeter — the Go CLI entry point
  • static/ — the web console (shared by both implementations)

The Python code is preserved here for reference and history. It is not part of the active project and is no longer built, tested, or maintained.

What was here

Path (original) Purpose
tiltmeter/ Python package: cli.py, server.py, signing.py, policy.py, replay.py, database.py
tests/ pytest suite (test_cli.py, test_api.py, test_signing.py, test_keyless.py, test_oci.py, test_policy.py, test_replay.py, test_database.py)
requirements.txt Runtime Python dependencies
requirements-dev.txt Python dev/test dependencies
pytest.ini pytest configuration
run_server.py Python server entry point

Parity

The Go rewrite preserves the full feature surface and is verified by:

  • go test ./... — 85 tests across all packages (see TEST_REPORT.md)
  • go test -race ./... — clean under the race detector
  • scripts/user-test.sh — 103 end-to-end checks against the real binary
  • scripts/e2e-smoke.sh — 27 CLI+server smoke checks