Fuzzy collections
Project description
fuzzycollections
Find values in a collection which are similar according to some distance function.
Install
pip install fuzzycollections[all]
to install with all dependencies. If installed without dependencies, the requirements will depend on which collection class is used.
Collections
BkCollection
: Uses a BK-Tree to find similar matches quickly. Requires a real mathematical metric as distance function.LinearCollection
: Simply uses a linear search through all collection items to find close matches. Distance function can be anything.
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
fuzzycollections-0.0.4.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for fuzzycollections-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6002a3dc4dd2f1bd7c61d88d353fa3144bc62e46c8a4e149018f269f17991b9b |
|
MD5 | c20b40f818cf446f6a92c1125eb9e818 |
|
BLAKE2b-256 | 29a8fe90a5db92c219b9339419c8890386fbc7cbebac5f30c64d76a82c63d1cc |