Inspect and cluster generic vector features for entities
Project description
vec-cluster
Inspect and cluster generic vector features for entities. Lightweight CLI built with Typer + Rich.
- Repo: https://github.com/mikewong23571/vec-cluster
- License: MIT
- Python: 3.10+
Install
uv venv
uv sync
Usage
# Help
uv run vec-cluster -h
# Inspect (recommended first)
uv run vec-cluster inspect features.csv
# One-shot auto cluster
uv run vec-cluster auto features.csv
After publishing to PyPI you can run without installing:
uvx vec-cluster inspect features.csv
Commands quick reference
inspect— data health, distance distribution, HAC threshold suggestions.auto— HAC with suggested medium threshold, writes clusters + report.hac— hierarchical clustering (requires--kor--threshold).kmeans— k-means (requires--k).dbscan— DBSCAN (--eps,--min-samples, cluster=-1 => outlier).
Development
uv run ruff format
uv run ruff check
uv run mypy src tests
uv run pytest # full suite with coverage gate
Design/contract document: docs/design.md.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vec_cluster-0.2.0.tar.gz
(12.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vec_cluster-0.2.0.tar.gz.
File metadata
- Download URL: vec_cluster-0.2.0.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
718ca0e7cbe6e9565249dcce06bbba6b8a8fb866617765bcc63180c45ea69de5
|
|
| MD5 |
4dcd91905e28779aa091fc6b3a6aa128
|
|
| BLAKE2b-256 |
c3a7ac365853ff957b561846fba14af16b1275fb5a02fd801211776f3b0ce89e
|
File details
Details for the file vec_cluster-0.2.0-py3-none-any.whl.
File metadata
- Download URL: vec_cluster-0.2.0-py3-none-any.whl
- Upload date:
- Size: 10.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e13d3f49d686c646d6dd5bf55e838ba8db68c2fea29c265576d117d6bdb4603
|
|
| MD5 |
dc4ca524c30aacaac5a7ac102a8422aa
|
|
| BLAKE2b-256 |
cba0fa8c14261f4b4f10f0f8db49454910a38127fcefb15205f05383080d588e
|