deduplicate_lib
deduplication algorithms in python
Key Features
- Easy to use deduplication algorithms for any vector array
- Suite of tolerance tuning algorithms to help you find the right tolerance value for your system
- Suite of benchmarking tools to ensure rigor, accuracy, and speed (not yet implemented)
- Factory Plugin architecture, for easy extensibility and modification
Implemented Algorithms
- Distance Matrix (Simple, accurate, expensive): Computes the distance matrix for all vectors and determines duplicates by finding those that fall below a given distance
- Multi Hashing (Fast): Smears and rounds the vectors using a normal distribution and computes the hashes for each which are then used to determine duplicates by proportion of hash clashes.
Quick Start
install using pip
pip install deduplicate_lib
load your data into python
from deduplicate_lib.plugins.deduplication_algorithms.multi_hash import MultiHash
# define your paramerters in the MultiHash object
dda=MultiHash(
tolerance=0.01,
dataset_array: your_data_array,
perturbations: int = 200,
)
print(dda.get_dataset_unique_structures())
A more detailed example can be seen in the examples directory
Metadata
Release files for deduplicate_lib 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| deduplicate_lib-0.0.1.tar.gz | 9.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| deduplicate_lib-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.1 kB
Release files / deduplicate_lib-0.0.1.tar.gz
| Download URL | deduplicate_lib-0.0.1.tar.gz |
|---|---|
| Size | 9.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
efc867953462394072f096cf81e6f0f5a9ba1760a22dd28d6034e57db670c160
|
|
BLAKE2b-256 checksum How to use checksums |
cf1fb17d6db9fc41e99a3fb1807a24900ba1acdac64cdb17f18e9a394aab473e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.11
|
Release files / deduplicate_lib-0.0.1-py3-none-any.whl
| Download URL | deduplicate_lib-0.0.1-py3-none-any.whl |
|---|---|
| Size | 12.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6a9462bb4a4948a25ce6cbe71090d0985e10e62acb7e55293bafa3c24630c555
|
|
BLAKE2b-256 checksum How to use checksums |
5538491a9c59e88db0a6e97af42c1864a71e5fc7875d36bf4056740f04bc32bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.11
|