Python implementations of: a uniform random set-partition generator a sequential, deterministic set-partition generator a partition analyzer for regularity and openness of a partition, according to a given poset.