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
Built Distribution
File details
Details for the file fuzzycollections-0.0.4.tar.gz
.
File metadata
- Download URL: fuzzycollections-0.0.4.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57a306f4dfcdc3e37dabea4096c33258abc6a822e3cea65cee2e68b91523e10d |
|
MD5 | bc1eb0fa49aad1796d77aa3b9a10a80b |
|
BLAKE2b-256 | 213da8a92982d098855bbb148d55d03cff75b2dc982897e593d83f794fbaaee6 |
File details
Details for the file fuzzycollections-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: fuzzycollections-0.0.4-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6002a3dc4dd2f1bd7c61d88d353fa3144bc62e46c8a4e149018f269f17991b9b |
|
MD5 | c20b40f818cf446f6a92c1125eb9e818 |
|
BLAKE2b-256 | 29a8fe90a5db92c219b9339419c8890386fbc7cbebac5f30c64d76a82c63d1cc |