SCGO: Simple Cluster Global Optimization
SCGO searches for low-energy arrangements of atoms. That can be a metal cluster, a molecule on a cluster, a cluster on a surface, or the top layers of a slab. The search uses basin hopping or a genetic algorithm. Transition states use nudged elastic band. MACE, UMA, and UPET are optional and run through ASE and TorchSim.
Documentation: Read the Docs
Install
The example below needs only the base package. It uses ASE's EMT potential:
pip install scgo
For a machine-learning potential, install one extra. Do not mix [mace], [uma], and [upet] in the same environment:
pip install "scgo[mace]" # or [uma] / [upet]
UPET only. After pip install "scgo[upet]", install this neighbor-list package as well:
pip install 'vesin==0.6.0' --force-reinstall --no-deps
Python 3.12+, with SQLite JSON1. Details: installation guide.
Quick start
from scgo import run_go
from scgo.param_presets import get_testing_params
results = run_go(
["Pt"] * 4,
params=get_testing_params(),
seed=42,
system_type="gas_cluster",
)
for energy, atoms in results:
print(f"{energy:.3f} eV {atoms.get_chemical_formula()}")
results is a list of (energy, Atoms) pairs, lowest energy first. The energies are EMT, and the preset is a small search (2 generations, population 5). Files are written to Pt4_searches/ in the current directory.
system_type is required. SCGO picks the algorithm from the number of moving atoms. One or two atoms in vacuum are relaxed. Three atoms and no molecule use basin hopping, in vacuum or on a slab. Every other search uses a genetic algorithm. The other system types are in the quickstart.
Next
- A real MACE potential
- A cluster on graphite
- A molecule on the cluster
- The top layers of a slab
- Transition states
- Many compositions at once
Examples
examples/ has short scripts for all six system types. See examples/README.md.
Development
pip install -e ".[mace,dev]" # or [uma,dev] / [upet,dev]
pre-commit install
pytest tests/ -m "not slow and not integration and not requires_cuda and not requires_upet and not requires_uma"
Longer MLIP runs are in benchmark/.
MIT License. See LICENSE.
Metadata
Release files for scgo 0.9.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| scgo-0.9.5.tar.gz | 1.3 MB | With provenance | Details for scgo-0.9.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| scgo-0.9.5-py3-none-any.whl | Python 3 | none | any | Details for scgo-0.9.5-py3-none-any.whl |
Total release size: 2.7 MB
Release files / scgo-0.9.5.tar.gz
| Download URL | scgo-0.9.5.tar.gz |
|---|---|
| Size | 1.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
20d9820ea685e2f3c51e4813730650f69d10865dc2c5405bbe5205987ecb4795
|
|
BLAKE2b-256 checksum How to use checksums |
c1a9c1c0936aaa8c2c934e6e9563322cda001f6ef16b28faa397122427f3ba39
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.
Transparency logRelease files / scgo-0.9.5-py3-none-any.whl
| Download URL | scgo-0.9.5-py3-none-any.whl |
|---|---|
| Size | 1.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
652d5aa7112c0335f2e06dc5f8e39df4c41b7bacf628e9d3146610da96718161
|
|
BLAKE2b-256 checksum How to use checksums |
d8a89f7699886e6c57ee9414d85ac2d0faf1b02ef4ac806edb2191d45adffaa0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.
Transparency logSecurity for scgo 0.9.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for scgo-0.9.5.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.