`urlparse` is a stdlib module, so it belongs at the top.