Amsterdam Modeling PySuite#
The Amsterdam Modeling Suite includes amspython, a ready-to-use Python
environment containing the SCM Python packages. Most AMS scripting needs no
additional installation.
Tip
Looking for copy-pasteable scripts that use these packages? Start with Python Examples.
You only need the instructions on this page if you want to use a separate Python environment such
as a uv project, venv environment, or conda environment.
What It Includes#
Amsterdam Modeling PySuite is a collection of SCM Python packages. In a separate
Python environment, install the amsterdam-modeling-pysuite metapackage or
select individual packages from the SCM package index.
The metapackage installs PLAMS with its optional dependencies and scm.base.
The all extra adds the broader SCM package collection. The collection
includes, for example:
scm.baseforChemicalSystem, units, and AMS-oriented structure handlingplamsfor workflow automation and AMS job handlingscm.conformersscm.inputsscm.paramsscm.akfreaderscm.structuresscm.utilsscm.amspipescm.external_engines
The full package collection is larger than the list above. It does not include AMS engine executables or every package bundled with amspython; for example, pyCRS is provided with AMS but is not published on this package index.
Licensing#
The AMS Python packages are downloaded from SCM package servers. Downloading or upgrading them in a separate Python environment therefore requires a valid SCM username and password. This is available to AMS customers and free-trial users.
Running AMS calculations requires an AMS installation and a valid license. Open a terminal with the AMS environment set as described under Getting Started so that scripts can find the AMS programs.
By contrast, plams is also available separately as a free open-source package on PyPI.
Recommended Default#
If you are writing AMS scripts, prefer the bundled amspython interpreter unless you specifically
need a separate Python environment.
With amspython, these imports work out of the box:
from scm.base import ChemicalSystem, Units
from scm.plams import AMSJob, Settings
from scm.conformers import ConformersJob
Using uv#
AMS includes a bundled uv executable at $AMSBIN/uv/uv. This is the recommended way to create a
separate Python environment for AMS Python packages.
Create a new project:
"$AMSBIN/uv/uv" init --python 3.14 my-ams-python-project
cd my-ams-python-project
Add the following index configuration to the project’s pyproject.toml:
[tool.uv.sources]
amsterdam-modeling-pysuite = { index = "scm" }
[[tool.uv.index]]
name = "scm"
url = "https://downloads.scm.com/Downloads/packages/uv/channels/2026.2/simple/"
This index supplies SCM packages and prebuilt dependency wheels. uv searches it before PyPI, which remains available for additional packages. See uv’s package index documentation.
Authenticate to the SCM index:
"$AMSBIN/uv/uv" auth login downloads.scm.com
uv reuses this saved login for both the project installation and the
uv pip install command below.
Install the broader package collection:
"$AMSBIN/uv/uv" add "amsterdam-modeling-pysuite[all]"
This adds the dependency to pyproject.toml and installs it in the project’s
environment. To install dependencies already declared in a project, use
"$AMSBIN/uv/uv" sync.
Check the installation:
"$AMSBIN/uv/uv" run python -c "import scm.base, scm.conformers, scm.params, scm.plams"
Run scripts with "$AMSBIN/uv/uv" run python script.py. Running amspython
continues to use the bundled environment. For the supported Python versions,
see amspython: Python Stack.
Using an existing venv or conda environment#
If you already have a venv or conda environment, you can install the AMS Python packages you
need there instead.
The bundled uv can also install into an existing environment. After logging in
as above, pass that environment’s Python executable to --python:
"$AMSBIN/uv/uv" pip install \
--python "/path/to/my/venv/bin/python" \
--index "https://downloads.scm.com/Downloads/packages/uv/channels/2026.2/simple/" \
"amsterdam-modeling-pysuite[all]"
On Windows, the venv interpreter is usually Scripts/python.exe. For a conda
environment, find its interpreter path with:
conda run -n myenv python -c "import sys; print(sys.executable)"
Use that path in the --python option above. Do not point it at the bundled
amspython environment.
Which Package Set Should I Install?#
Choose the packages according to your needs:
Package |
Contents |
|---|---|
|
PLAMS with its optional dependencies and scm.base |
|
The core collection plus amspipe and external_engines |
|
The broader SCM Python package collection |
For a smaller environment, install individual packages such as plams and
scm-base instead of the metapackage:
"$AMSBIN/uv/uv" add plams scm-base
Add packages such as scm-amspipe, scm-conformers, scm-external-engines,
scm-flexmd, scm-glompo, scm-inputs, scm-params,
scm-reactmap, scm-akfreader, scm-structures, scm-utils, scm-version, scm-kpath, and
scm-xlsx when you need that broader functionality.
If you only need PLAMS and not the broader AMS Python stack, you can also install plain plams
from PyPI.