""" Shared path constants used across the backend. All temp data lands under /tmp/ipa_explorer/ inside the container. """ from pathlib import Path BASE_DIR = Path("/tmp/ipa_explorer") DOWNLOAD_DIR = BASE_DIR / "downloads" EXTRACT_DIR = BASE_DIR / "extracted" # Create on import so services never have to think about it DOWNLOAD_DIR.mkdir(parents=True, exist_ok=True) EXTRACT_DIR.mkdir(parents=True, exist_ok=True)