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 Distribution

shucker-0.1.1.tar.gz (78.3 kB view details)

Uploaded Source

Built Distributions

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

shucker-0.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

shucker-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

shucker-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

shucker-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

shucker-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

File details

Details for the file shucker-0.1.1.tar.gz.

File metadata

  • Download URL: shucker-0.1.1.tar.gz
  • Upload date:
  • Size: 78.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.6

File hashes

Hashes for shucker-0.1.1.tar.gz
Algorithm Hash digest
SHA256 870ef451b1b1300ef935a98b78c268083b03fc4d9c87e54e080e767f4a60e32d
MD5 b7e55b1cb25009b24a3cfce26273ef2f
BLAKE2b-256 df4de6c771f3f649efeda72152a6bcf0c41a26fa58344915ff6885c19c4dfe6f

See more details on using hashes here.

File details

Details for the file shucker-0.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for shucker-0.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a6853cbf901394a9e1fe1c70f1e5d985b54427de87618a5da0c4312a5ec40a17
MD5 624947a2bed9d422f7511d31a321e156
BLAKE2b-256 bfd202aa0d18ae994ecc15f34e0885cde80f25b8031342eac8b426fe968f448a

See more details on using hashes here.

File details

Details for the file shucker-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for shucker-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0b71ae90b19f8861b1976503a8bbe6580268e492104db7a25792cdb5439f6d53
MD5 a032eede82c47f2292ae0ec0a5dd951a
BLAKE2b-256 1b14d71d37ad399785fef2df7f54b097772b6558341089902918a90083df8c2f

See more details on using hashes here.

File details

Details for the file shucker-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for shucker-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ad6e14d04cf4d614d529468fedf1dac559a64c56635350ffd3f7660b3199b765
MD5 6562ff45009f7896e8ce98c037cb8d04
BLAKE2b-256 0dcca7037af359415386ca88f22fed8e5e95ab02733d46717ea5fafa5956b55f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shucker-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8ba116449f29cbe6413fa574b4b563d32ef062b6c52df291e3ff93bf726ba1bd
MD5 778a73dc516170c5c4abe46d99d3cb60
BLAKE2b-256 58fbd54748b834bf49327b6c46145a7eb4e3d829f5af7d695e1a41c57a04a6d2

See more details on using hashes here.

File details

Details for the file shucker-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for shucker-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cbe331d65cdd9c7182bea36723e1570feaef435a88829021130509d7e7382824
MD5 a411fccd654efd0e05fcd1ba1ba2c6cc
BLAKE2b-256 f373eabe558a41a6d3448c1cd987f684bbd4cc487dc53747be2c55f12b5a7909

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