pyuri is a Python library for proper URI parsing and manipulation. It fully conforms to RFC 3986 and provides a clean API for working with URIs. Current version 0.3.1 is stable but in maintenance mode; releases are infrequent.
pip install pyuriVerified import paths — ran on the pinned version, not inferred.
Parse and access components of a URI.
Upgrade to Python 3.6+ and pyuri 0.3.1.
Use `new_uri = uri.replace(scheme='https')` to get a modified copy.
Normalize manually if needed, e.g., using Python's `urllib.parse.urldefrag()` or external tools.
Use `from pyuri import URI` instead of `from pyuri.uri import URI`.
No dependency data recorded yet.