Skip to main content

Tracking-param filtering library, designed to strip URLs down to their canonical forms

Project description

Shucker

Shucker is a tracking-param filtering library, designed to strip URLs down to their canonical forms. It contains internally a set of rules derived from the AdguardFilters TrackParamFilter set, and then stripped down be able to be runnable outside of a browser. Note that although the original filters were designed for Javascript-based browser extensions, Shucker's core is a pure-Rust implementation for raw speed (some testing done against Hyperfine, but certainly seems fast enough so far i.e. < 1ms).

There is an example command line tool provided (cargo run --bin shuck <list of urls>) but the main usage will either be via the shucker::shuck fn, or the Python shucker library with shucker.shuck (which is mostly a thin wrapper over the Rust code), both of which take a URL and return a version of it without the ad-tracking.

Rebuilding the rules set

make rebuild_rules will pull the latest upstream rules and rebuild.

Licensing

The actual core Shucker code (i.e. everything except the external/adguardfilters folder) is licensed under the LGPL v3. However, the external/adguardfilters code is GPL v3 and as that is used as part of the build-time generation of Shucker currently, the overall library is therefore GPLv3. This might change in the future if we remove said build-time requirement though.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

shucker-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.7 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

File details

Details for the file shucker-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for shucker-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 40d3367fa72883ad4d517a254131019fc71b1f54cd98e9c72453562492cae4ee
MD5 e84dea7cd8ef897a7cb4a424f1306428
BLAKE2b-256 c83aaa8fff53ccfafeef342b238009d8279f6c5f683051e4ee829da4165772a5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page