Skip to main content

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.

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 --k or --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


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.1.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vec_cluster-0.2.1-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file vec_cluster-0.2.1.tar.gz.

File metadata

  • Download URL: vec_cluster-0.2.1.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.8

File hashes

Hashes for vec_cluster-0.2.1.tar.gz
Algorithm Hash digest
SHA256 f7869b2f7618edcb41f8d2b012de71e4407e506d0db3783d6827b3895a35ca6c
MD5 eb5ebcd25f1c4e86581ff81ef643c447
BLAKE2b-256 fa82c2ce5920499883ed88e93df7f9861b63b965bcb53139397f07987cb32500

See more details on using hashes here.

File details

Details for the file vec_cluster-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for vec_cluster-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c925f17b95c9eec05760c538d05fa668789e4bf20ba09b032a4d3669c5009daf
MD5 4cb04de7cdf679de786984ea82d6cee3
BLAKE2b-256 c2823895d06e72edbb9af4517543262c446406cc89d0d7c643f8226cbab4985e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page