parasweep
parasweep is a free and open-source Python utility for facilitating parallel parameter sweeps with computational models. Instead of requiring parameters to be passed by command-line, which can be error-prone and time-consuming, parasweep leverages the model’s existing configuration files using a template system, requiring minimal code changes. After the sweep values are specified, a parallel job is dispatched for each parameter set, with support for common high-performance computing job schedulers. Post-processing is facilitated by providing a mapping between the parameter sets and the simulations.
The following paper gives a description as well as a simple example to get started: https://arxiv.org/pdf/1905.03448.pdf. Please cite it if you find parasweep useful for your project!
Free software: MIT license
Documentation: http://www.parasweep.io
Dependencies
Python 3.6+
xarray
numpy
scipy
Mako (optional)
drmaa-python (optional)
Credits
Developed by Eviatar Bach <eviatarbach@protonmail.com>. Special thanks to Daniel Philipps (danielphili) for a bug fix and feature suggestion.
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
2021.01 (2021-01-06)
Changing wait option to be True by default
Minor fixes to Lorenz example
2020.10 (2020-10-27)
Adding option to exclude simulation IDs
Allowing empty sweep ID
2020.09 (2020-09-02)
Incorporating sweep_id into SequentialNamer (thanks to danielphili)
2020.02 (2020-02-17)
Fixing bug with default sweep_id on Windows (thanks to danielphili)
Unicode support for PythonFormatTemplate
2019.02.3 (2019-02-20)
Adding SetNamer naming
2019.02.2 (2019-02-18)
Adding process limit for subprocess dispatching
Adding RandomSweep sweep type
Adding HashNamer naming
Clarifying version dependencies
More examples
2019.02 (2019-02-07)
Separating sweep logic into a separate module
Adding FilteredCartesianSweep sweep type
Numerous documentation changes, including many more examples
2019.01 (2019-01-21)
First release on PyPI
Metadata
Release files for parasweep 2021.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| parasweep-2021.1.tar.gz | 24.6 kB | Details |
Release files / parasweep-2021.1.tar.gz
| Download URL | parasweep-2021.1.tar.gz |
|---|---|
| Size | 24.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0a0b4989486c01143758e10cfeafa002c6d752ac0b7016c74af1eaa7f01cbf61
|
|
BLAKE2b-256 checksum How to use checksums |
c6ba65f886f05fb8bcf679e53c574bc822b3020302a468317c1570cad4e9b6cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
|