Skip to main content

A toolkit for doing parameter surveys

Project description

paramsurvey

Build Status Coverage Status Apache License 2.0

paramsurvey is a set of tools for creating and executing parameter surveys.

paramsurvey has a pluggable parallel backend. The supported backends at present are python's multiprocessing module, and computing cluster software ray. An mpi backend is planned.

Example

import paramsurvey
from paramsurvey.examples import sleep_worker

paramsurvey.init(backend='multiprocessing')  # or 'ray', if you installed it

psets = [{'duration': 0.3}] * 5

results = paramsurvey.map(sleep_worker, psets, verbose=2)

for r in results:
    print(repr(r))

prints, in addition to some debugging output, a result from each of the 5 sleep_worker calls.

Philosophy

Installing

$ pip install paramsurvey
$ pip install paramsurvey[ray]

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

paramsurvey-0.2.0.tar.gz (21.2 kB view details)

Uploaded Source

File details

Details for the file paramsurvey-0.2.0.tar.gz.

File metadata

  • Download URL: paramsurvey-0.2.0.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.4

File hashes

Hashes for paramsurvey-0.2.0.tar.gz
Algorithm Hash digest
SHA256 abb57fe84b83d4898a61a198bafb72cdd14f01a22d1119b991c5575723f0763d
MD5 c2a08d8aa2b195eb28055bbafa3b051b
BLAKE2b-256 904f41ab9efd6abdccd74ad65ef1622ca6cbd71db7b195f42b44957cc80c8188

See more details on using hashes here.

Supported by

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