Installation

Setup

parsnip may be installed with pip or from conda-forge.

Installation via pip

python -m pip install parsnip-cif

Installation via conda-forge

conda install -c conda-forge parsnip-cif

Installation from source

First, clone the repository:

git clone https://github.com/glotzerlab/parsnip.git
cd parsnip

Then, choose one of the following. While parsnip is only dependent on Numpy, additional dependencies are required to run the tests and build the docs.

pip install .            # Install with no additional dependencies
pip install .[sympy]     # Install with sympy for symbolic unit cell math
pip install .[tests]     # Install with dependencies required to run tests (including sympy)
pip install .[tests,doc] # Install with dependencies required to run tests and make docs

Dependencies

numpy>=1.19
more-itertools