This document describes the current stable version of Kombu (4.0). For development docs, go here.

URL Utilities - kombu.utils.url

URL Utilities.

kombu.utils.url.as_url(scheme, host=None, port=None, user=None, password=None, path=None, query=None, sanitize=False, mask=u'**')[source]

Generate URL from component parts.

kombu.utils.url.maybe_sanitize_url(url, mask=u'**')[source]

Sanitize url, or do nothing if url undefined.


Parse URL into mapping of components.

kombu.utils.url.sanitize_url(url, mask=u'**')[source]

Return copy of URL with password removed.


Parse URL into urlparts tuple of components.