InstallationΒΆ
Pecos requires Python (2.7, 3.4, or 3.5) along with several python package dependencies. Information on installing and using python can be found at https://www.python.org/. Python distributions, such as Python(x,y) and Anaconda, can also be used to manage the Python interface. These distributions include the Python packages needed for Pecos.
To install Pecos using pip:
pip install pecos
To build Pecos from source using git:
git clone https://github.com/sandialabs/pecos
cd pecos
python setup.py install
Python package dependencies include:
- Pandas [McKinney2013]: analyze and store time series data, http://pandas.pydata.org/
- Numpy [vanderWalt2011]: support large, multi-dimensional arrays and matrices, http://www.numpy.org/
- Jinja [Ronacher2008]: template engine, http://jinja.pocoo.org/
- Matplotlib [Hunter2007]: produce figures, http://matplotlib.org/
Optional python packages include:
- pyyaml: store configuration options in human readable data format, http://pyyaml.org/
- PVLIB [Stein2016]: simulate the performance of photovoltaic energy systems, http://pvlib-python.readthedocs.io/
All other dependencies are part of the Python Standard Library.
To use Pecos, import the package from within a python console:
import pecos