paramsurvey
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]
Release files for paramsurvey 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| paramsurvey-0.2.0.tar.gz | 21.2 kB | Details |
Release files / paramsurvey-0.2.0.tar.gz
| Download URL | paramsurvey-0.2.0.tar.gz |
|---|---|
| Size | 21.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
abb57fe84b83d4898a61a198bafb72cdd14f01a22d1119b991c5575723f0763d
|
|
BLAKE2b-256 checksum How to use checksums |
904f41ab9efd6abdccd74ad65ef1622ca6cbd71db7b195f42b44957cc80c8188
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|