Skip to main content

Sort-friendly URI Reordering Transform (SURT) python package.

Project description

Sort-friendly URI Reordering Transform (SURT) python package.


>>> from surt import surt
>>> surt("")
>>> surt("", trailing_comma=True)
>>> surt("http://123.456.78.910/goo/?a=2&b&a=1", reverse_ipaddr=False)


pip install surt

Or install the dev version from git:

pip install git+

More information about SURTs:

This is mostly a python port of the webarchive-commons org.archive.url package. The original java version of the org.archive.url package is here:

This module depends on the tldextract module to query the Public Suffix List. tldextract can be installed via pip

Build Status

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for surt, version 0.3.1
Filename, size File type Python version Upload date Hashes
Filename, size surt-0.3.1.tar.gz (9.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page