import json import urllib.request REGISTRY_URL = "https://raw.githubusercontent.com/acme/registry/main/registry.json" def load_registry(): with urllib.request.urlopen(REGISTRY_URL) as r: return json.load(r)