<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def hbp_namespace(name: str, sha: Optional[str] = None) -> str: """Format a namespace URL."""

    return HBP_NAMESPACE_URL.format(sha=sha or LAST_HASH, keyword=name)