Skip to content

Usage

pathurl offers three classes: URL, Path, and Query, that you can import from the base module:

>>> from pathurl import URL, Path, Query

All URL, Path, and Query objects are immutable and hashable, so you can use them as dictionary keys, or add them to a set.