Install & Compatibility
Where this runs
tested against v1.9 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 89.4MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 3.5s · import 0.000s · 86MB
89MB installed
● package 89MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
CategoricalComparator
✓ from categorical import CategoricalComparator
✗ from categorical_distance import categorical_distance
Compute the distance matrix between two lists of categorical values.
from categorical_distance import categorical_distance
distance_matrix = categorical_distance(['a','b','c'], ['a','c','b'])
print(distance_matrix)
Upgrade
Version history
1.9latest on PyPI · released Jun 10, 2016
Audit
Dependencies
scipyrequiredRequired for distance matrix computation
numpyrequiredUsed for array operations