Install & Compatibility
Where this runs
tested against v1.2 · 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.6s · import 0.000s · 86MB
89MB installed
● package 89MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
cosine_distance
✓ from simplecosine import cosine_distance
✗ from simplecosine.cosine import cosine_distance
Compute cosine distance between two vectors
import os
from simplecosine.cosine import cosine_distance
v1 = [1, 0, 0]
v2 = [0, 1, 0]
result = cosine_distance(v1, v2)
print(result) # Output: 1.0
Upgrade
Version history
1.2latest on PyPI · released Jun 15, 2017
Audit
Dependencies
No dependency data recorded yet.