This contains rules for https://github.com/zytedata/duplicate-url-discarder.
Quick Start
Installation
pip install duplicate-url-discarder-rules
Using
The rules can be imported via:
from duplicate_url_discarder_rules import RULE_PATHS
It can then be used to configure the DUD_LOAD_RULE_PATHS setting of duplicate-url-discarder.
RULE_PATHS contains all files shipped in this package. If you want to reduce the number of loaded rules to improve performance you can instead use one or more of the following variables:
RULE_PATHS_COMMON: rules not specific to any data type.
RULE_PATHS_ARTICLE: rules for article websites.
RULE_PATHS_PRODUCT: rules for e-commerce websites.
As all of them are lists, you can combine them (e.g. RULE_PATHS_COMMON + RULE_PATHS_PRODUCT).
Metadata
Release files for duplicate-url-discarder-rules 2024.11.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| duplicate_url_discarder_rules-2024.11.5.tar.gz | 14.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| duplicate_url_discarder_rules-2024.11.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.0 kB
Release files / duplicate_url_discarder_rules-2024.11.5.tar.gz
| Download URL | duplicate_url_discarder_rules-2024.11.5.tar.gz |
|---|---|
| Size | 14.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0115ea79c995f60b4917bb4647aa624152458d343ce8e06aa43072106dafa49b
|
|
BLAKE2b-256 checksum How to use checksums |
fee2d3f45564162511e8653fd1578a25337d7a2674da42f7762b87293692aa5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.13.0
|
Release files / duplicate_url_discarder_rules-2024.11.5-py3-none-any.whl
| Download URL | duplicate_url_discarder_rules-2024.11.5-py3-none-any.whl |
|---|---|
| Size | 13.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
840a4f6a7397da07312f09438de4441a165a7e608962e8df7531b0f083b50ad4
|
|
BLAKE2b-256 checksum How to use checksums |
89c8b457ba696d5230edc947a3597d5dbf57617f160ecf501332f0a42314e654
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.13.0
|