Skip to main content

Pyslice is a templating engine to easily create data sets for parametric modeling.

Project description

https://travis-ci.org/timcera/pyslice.svg?branch=master https://coveralls.io/repos/timcera/pyslice/badge.png?branch=master Latest release PyPI downloads count pyslice license

Welcome to Pyslice - dataset template engine’s documentation!

Pyslice is a specialized templating system that replaces variables in a template data set with numbers taken from all combinations of a grouped series of numbers. It creates a dataset from input template files for each combination of variables in the series.

The main function of Pyslice is to provide utility functions for parametric modeling. Parametric modeling is a process of varying many inputs to a model. A drawback to parametric modeling is that there are usually hundreds to thousands of data sets to prepare and a corresponding number of model runs. Pyslice will create the model data sets and manage the model runs, or place the model runs in a queue managed by other software. Pyslice is also useful in establishing the sensitivity of a model to changing parameters.

Documentation

Reference documentation is at http://pythonhosted.org/pyslice/

Installation

At the command line:

$ pip install pyslice
# OR
$ easy_install pyslice

Or, if you have virtualenvwrapper installed:

$ mkvirtualenv pyslice
$ pip install pyslice

Development

Development is managed on bitbucket at https://bitbucket.org/timcera/pyslice/overview.

Changes

2013-09-04: v1.7
  • Reworked the documentation

  • Cross compatibility between 2.7 and 3.3 helped out with ‘six’.

  • Git didn’t do what I want with the moves, but * Moved pyslice.py to pyslice/__init__ * Moved pyslice_lib to pyslice/pyslice_lib * Ran ‘autopep8’ on all files - especially useful on PySPG

  • Added a README.txt that gives some description.

  • Moved to sphinx, restructured text

  • Minor improvements to setup.py to allow ‘upload_docs’ to work.

  • Finished transition to git. Deleted CVSROOT and moved everything up a directory.

  • Demoed all parts of the functionality in the example.

2005-08-30: v1.6 Moved to threads rather than ‘os.fork/os.exec’ which means that pyslice.py should be able to run on Windows, though not tested. Eliminated a bunch of code required by the ‘os.fork/os.exec’ that should make pyslice.py easier to maintain.

2005-06-06: v1.5 Uses ‘pyslice.ini’ instead of ‘pyslice.conf’. This allows the use of .ini editors to easily map to the correct format.

2005-05-30: v1.4 Can pull variable values from statistical distributions in Python’s ‘random’ package. Uses os.path.walk to make considerable faster. Minor code clean-up

2004-12-16: v1.3 Now depends on Python 2.x or better. Am now using the PySPG library (http://pyspg.sourceforge.net/) in order to develop the variable sets. Because of PySPG now have the capability of doing geometric and list based parameter generation.

2001-07-10: v1.1 Removed Python 2.x dependencies. Variables can now use floating point. Works correctly to just create data sets by setting max_processes = 0 in pyslice.conf. Changes to documentation.

2001-07-10: v1.0 Initial release

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

pyslice-1.7.8.tar.gz (25.5 kB view details)

Uploaded Source

File details

Details for the file pyslice-1.7.8.tar.gz.

File metadata

  • Download URL: pyslice-1.7.8.tar.gz
  • Upload date:
  • Size: 25.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyslice-1.7.8.tar.gz
Algorithm Hash digest
SHA256 c7647a0a88f3306f74660ec6a50cc144dced817de9424241e7592f6c175b6c28
MD5 df92143fdd061df6beb529ac65a1694c
BLAKE2b-256 28b89416fb8943b65bda527e1514eecdeb82461db2219b8555771c2e4267018f

See more details on using hashes here.

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