Installation

You can install metatensor-models with pip:

git clone https://github.com/lab-cosmo/metatensor-models
cd metatensor-models
pip install .

In addition, specific models must be installed by specifying the model name. For example, to install the SOAP-BPNN model, you can run:

pip install .[soap-bpnn]

Shell Completion

metatensor-models comes with completion definitions for its commands for bash and zsh. Since it is difficult to automatically configure shell completions in a robust manner, you must manually configure your shell to enable its completion support.

To make the completions available, source the definitions as part of your shell’s startup. Add the following to your ~/.bash_profile, ~/.zshrc (or, if they don’t exist, ~/.profile):

source $(metatensor-models --shell-completion)