#!/usr/bin/env python3
"""Print one line of JSON for the Hello Orbit uptime card."""
import json
import subprocess

result = subprocess.run(["uptime", "-p"], capture_output=True, text=True, check=True, timeout=5)
print(json.dumps({"text": result.stdout.strip()}))
