We consider it to be best practice to cleanly separate the parameters of a model from the model itself. At the least, parameters should be defined in a separate section at the start of a file. Ideally, they should be defined in a separate file entirely. This makes version control easier, since the model code typically changes less often than the parameters, and makes it easier to track a simulation project, since the parameter sets can be stored in a database, displayed in a GUI, etc.
The Parameters package provides Python classes to make it easier to work with parameter sets for complex models. In particular it provides tools for
working with parameters for models that have a deep hierarchical structure;
specifying that a parameter value should be drawn from a random distribution;
specifying a range of values, for example for performing a sensitivity analysis;
specifying the physical dimensions and range of permissible values of parameters;
defining and iterating over multiple points in a parameter space;
validation of parameter sets against a pre-defined schema.
License
Copyright (C) 2008-2013 Andrew Davison, Eilif Muller, Jan Antolik
Parameters is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
The GNU General Public License does not permit this software to be redistributed in proprietary programs.
See source:LICENSE.txt
Installation
$ pip install parameters
Documentation
Reporting Bugs
Metadata
Release files for parameters 0.2.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 | Provenance | |
|---|---|---|---|---|
| parameters-0.2.1.tar.gz | 38.7 kB | Without provenance | Details |
Release files / parameters-0.2.1.tar.gz
| Download URL | parameters-0.2.1.tar.gz |
|---|---|
| Size | 38.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
543bc7778be852e0e58692f328bf2b1e24566d66eb47cb693a8eb3939f631d14
|
|
BLAKE2b-256 checksum How to use checksums |
40f1083c2f2ee6066c39fbdc65d2b0b9669091244852edf8fc5b1399f051ca5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for parameters 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.