Skip to main content

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

Usage:

>>> from surt import surt
>>> surt("http://archive.org/goo/?a=2&b&a=1")
'org,archive)/goo?a=1&a=2&b'

Installation:

pip install surt

Or install the dev version from git:

pip install git+git://github.com/rajbot/surt#egg=surt

More information about SURTs: http://crawler.archive.org/articles/user_manual/glossary.html#surt

This is mostly a python port of the archive-commons org.archive.url package. The original java version of the org.archive.url package is here: http://archive-access.svn.sourceforge.net/viewvc/archive-access/trunk/archive-access/projects/archive-commons/src/main/java/org/archive/url/

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

[![Build Status](https://secure.travis-ci.org/rajbot/surt.png?branch=master)](http://travis-ci.org/rajbot/surt)

Metadata

Release files for surt 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for surt 0.2
File Size Uploaded Provenance Actions
surt-0.2.tar.gz 10.5 kB Without provenance Details for surt-0.2.tar.gz

Release files / surt-0.2.tar.gz

Download URL surt-0.2.tar.gz
Size 10.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9197e023d0c45e64d96975f8fb24c88443ba4c49e8f7d57ff5adee2240b22a96
BLAKE2b-256 checksum
How to use checksums
4c1440a50a54c21a7e12071424127ade3459bb701c59d404f84b7f83996d3258
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for surt 0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page