SampleSpace: Cross-Platform Tools for Generating Random Numbers

SampleSpace banner

SampleSpace is a cross-platform library for describing and sampling from random distributions.

While SampleSpace is primarily intended for creating procedurally-generated content, it is also useful for Monte-Carlo simulations, unit testing, and anywhere that flexible, repeatable random numbers are required.

Installation is simple:

$ pip install pysamplespace

SampleSpace’s only dependency is xxHash, though it optionally offers additional functionality if PyYAML is installed.

SampleSpace was created by Coriander V. Pines and is available under the BSD 3-Clause License.

The source is available on GitLab.