plato-tile-dedup
4-stage tile similarity — exact, keyword Jaccard, embedding cosine, structure.
Part of the PLATO framework — deterministic AI knowledge management through tile-based architecture.
Installation
pip install plato-tile-dedup
Usage
from plato_tile_dedup import TileDeduplicator
dedup = TileDeduplicator(threshold=0.85)
tiles = [
{"id": "1", "content": "Pythagorean triples snap to exact coordinates"},
{"id": "2", "content": "Pythagorean triples snap to exact coordinates"}, # duplicate
{"id": "3", "content": "Constraint theory maps continuous vectors to discrete space"},
]
unique = dedup.dedup_batch(tiles)
print(len(unique)) # 2 (tile 2 removed as duplicate of tile 1)
4 Similarity Stages
| Stage | Weight | Method |
|---|---|---|
| Exact | 0.1 | Content hash comparison |
| Keyword | 0.3 | Token-level Jaccard overlap |
| Embedding | 0.5 | Cosine similarity (requires embedding model) |
| Structure | 0.1 | Domain and question type matching |
Zero external dependencies. Compatible with Python 3.8+.
Metadata
Release files for plato-tile-dedup 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| plato_tile_dedup-0.1.0.tar.gz | 3.2 kB | Without provenance | Details for plato_tile_dedup-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| plato_tile_dedup-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for plato_tile_dedup-0.1.0-py3-none-any.whl |
Total release size: 6.8 kB
Release files / plato_tile_dedup-0.1.0.tar.gz
| Download URL | plato_tile_dedup-0.1.0.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1d36c2bb134e4d3c19460123e4eed0c9005907c7236d85e6acc29c977987b59b
|
|
BLAKE2b-256 checksum How to use checksums |
3fcf95dd07f0725e8addd5d748fe68a48ee6759f609354fc80d33f11d4d9512b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / plato_tile_dedup-0.1.0-py3-none-any.whl
| Download URL | plato_tile_dedup-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b5b69b145881b6dcd46642f7dc0545a2dfb9b02b803efaa678906a9e5d1e6ed4
|
|
BLAKE2b-256 checksum How to use checksums |
02fa8a14674e06455ba1b957c82fc739a0c91e6f3e1d2035ecb00e1e8a7ad60e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Security for plato-tile-dedup 0.1.0
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.