Skip to main content

Provides tools to define a dict-based multidimensional parameter space and iterate over it

Project description

The parameter space is the cartesian product of those parameters one desires to iterate over, each parameter opening a new dimension of parameter space. Parameter dimensions can be defined for each entry in a dictionary, even when nested within further dictionaries. When iterating over the space, each returned value is a dictionary with one combination of parameters. This allows retaining a hierarchical configuration structure while at the same time being able to conveniently perform sweeps over parameters, e.g. to spawn simulations with. Furthermore, the paramspace package integrates tightly with YAML, making it very simple to define multidimensional parameter spaces.

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

paramspace-2.2.3.tar.gz (33.8 kB view hashes)

Uploaded Source

Built Distribution

paramspace-2.2.3-py3-none-any.whl (34.1 kB view hashes)

Uploaded Python 3

Supported by

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