Python URL manipulation module