
pyclugen
pyclugen implements the multidimensional cluster generation algorithm in Python.

About pyclugen
pyclugen is a Python implementation of the clugen algorithm for generating multidimensional clusters with arbitrary distributions. Each cluster is supported by a line segment, and the segment's position, orientation and length determine where its points are placed.
The repository includes installation instructions for PyPI and GitHub, a short quick-start example that plots generated clusters in two and three dimensions, and links to documentation and examples. The source also lists related implementations of the same algorithm in Julia, R and MATLAB/Octave. The page does not describe specific limitations of the library.
Key features
- Generates multidimensional clusters with arbitrary distributions using the clugen algorithm
- Places cluster points based on the position, orientation and length of a supporting line segment
- Returns point coordinates and cluster labels for each generated dataset
- Installable from PyPI or directly from the GitHub repository
- Quick-start example plots generated clusters in two and three dimensions with matplotlib
- Released under the MIT License
- Open source under the MIT License
- Can be installed with pip from PyPI
- Includes links to documentation and examples and a citation reference for the underlying method
pyclugen at a glance
- Website
- github.com/clugen/pyclugen
- Category
- Development › Developer Tools
- Type
- Open-source project
- Pricing
- Not confirmed. Check the site
- Open source
- Yes · Source code
- Language
- English
- Last checked
- Oct 6, 2026 · Online when checked
- Listed
- Oct 5, 2026
Guides for Developer Tools
pyclugen alternatives
Tools and sites you could use instead, ranked by how closely they match.
MOCluGen implements multidimensional cluster generation for MATLAB and Octave.
CluGen implements an algorithm for generating multidimensional clusters in Julia.
clugenr implements an algorithm for generating multidimensional clusters in R.
DSPy is a framework for programming language models, with algorithms to optimize prompts and model weights.
pytesseract is a Python wrapper for Google Tesseract that provides optical character recognition.
Search code locally by meaning with SeaGOAT, a local-first semantic code search engine.
Popular in Developer Tools
Well-known listings from the same topic.
pyclugen FAQ
How can pyclugen be installed?
What should be cited when using pyclugen?
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.













