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 .[tests] # Install with dependencies required to run tests
pip install .[tests,doc] # Install with dependencies required to run tests and make docs
To obtain a correct set of locked dependencies, we recommend the use of the uv
package manager to install from uv.lock:
uv sync --extra tests # Or --all-extras to build the documentation
Dependencies¶
numpy>=1.19
more-itertools