OpenFF NAGL Models
| Latest release | |
|---|---|
| Status | |
| Community |
This repository contains NAGL models released by the Open Force Field Initiative. They are intended to be used by OpenFF NAGL.
Models
| Model name | Introduced in openff-nagl-models version |
Release state | Further notes |
|---|---|---|---|
openff-gnn-am1bcc-1.0.0.pt |
v2025.09.0 | Production | Link |
openff-gnn-am1bcc-0.1.0-rc.3.pt |
v0.3.0 | pre-production | Link |
openff-gnn-am1bcc-0.1.0-rc.1.pt |
v0.2.0 | pre-production | Link |
openff-gnn-am1bcc-0.1.0-rc.1.pt |
v0.1.0 | pre-production | Link |
openff-gnn-am1bcc-0.0.1-alpha.1.pt $^1$ |
v0.0.1 | pre-production/experimental $^1$ | Link |
$^1$ We do not recommend using this model to assign charges in scientific work.
Usage
Current models available in this repository can be applied with:
from openff.nagl_models import validate_nagl_model_path
from openff.toolkit.utils.nagl_wrapper import NAGLToolkitWrapper
# optional
model_path = validate_nagl_model_path("openff-gnn-am1bcc-1.0.0.pt")
offmol = Molecule.from_smiles("CCO")
offmol.assign_partial_charges(partial_charge_method="openff-gnn-am1bcc-1.0.0.pt")
Installing this package exposes an entry point that makes it easy to access models installed in this package.
A convenience function is provided to wrap this for you:
>>> from openff.nagl_models import load_nagl_model_directory_entry_points
>>> load_nagl_model_directory_entry_points()
[PosixPath('/home/.../openff-nagl-models/openff/nagl_models/models/am1bcc')]
You can also list all available models from all entry points:
>>> from openff.nagl_models import list_available_nagl_models
>>> list_available_nagl_models()
[PosixPath('/home/.../openff-nagl-models/openff/nagl_models/models/am1bcc/openff-gnn-am1bcc-0.0.1-alpha.1.pt'), PosixPath('/home/.../openff-nagl-models/openff/nagl_models/models/am1bcc/openff-gnn-am1bcc-0.1.0-rc.1.pt'), PosixPath('/home/.../openff-nagl-models/openff/nagl_models/models/am1bcc/openff-gnn-am1bcc-0.1.0-rc.2.pt'), PosixPath('/home/.../openff-nagl-models/openff/nagl_models/models/am1bcc/openff-gnn-am1bcc-0.1.0-rc.3.pt'), PosixPath('/home/.../openff-nagl-models/openff/nagl_models/models/am1bcc/openff-gnn-am1bcc-1.0.0.pt')]
To list available models (also listed in the Models table above):
>>> from openff.nagl_models import list_available_nagl_models
>>> list_available_nagl_models(with_path=False)
['openff-gnn-am1bcc-1.0.0.pt', 'openff-gnn-am1bcc-0.1.0-rc.1.pt', 'openff-gnn-am1bcc-0.1.0-rc.3.pt', 'openff-gnn-am1bcc-0.0.1-alpha.1.pt', 'openff-gnn-am1bcc-0.1.0-rc.2.pt']
Or validate if a model name is found in the local directory, or an entry point directory:
>>> from openff.nagl_models import validate_nagl_model_path
>>> validate_nagl_model_path("openff-gnn-am1bcc-1.0.0.pt")
PosixPath('/home/.../openff-nagl-models/openff/nagl_models/models/am1bcc/openff-gnn-am1bcc-1.0.0.pt')
Finally, if you want to find all models for a particular type, use get_models_by_type.
These will come sorted according to semantic versioning, where the latest release is last:
>>> from openff.nagl_models import get_models_by_type
>>> get_models_by_type("am1bcc")
[PosixPath('/home/.../openff-nagl-models/openff/nagl_models/models/am1bcc/openff-gnn-am1bcc-0.0.1-alpha.1.pt'), PosixPath('/home/.../openff-nagl-models/openff/nagl_models/models/am1bcc/openff-gnn-am1bcc-0.1.0-rc.1.pt'), PosixPath('/home/.../openff-nagl-models/openff/nagl_models/models/am1bcc/openff-gnn-am1bcc-0.1.0-rc.2.pt'), PosixPath('/home/.../openff-nagl-models/openff/nagl_models/models/am1bcc/openff-gnn-am1bcc-0.1.0-rc.3.pt'), PosixPath('/home/.../openff-nagl-models/openff/nagl_models/models/am1bcc/openff-gnn-am1bcc-1.0.0.pt')]
License
See the LICENSE file.
Acknowledgements
Project based on the Computational Molecular Science Python Cookiecutter version 1.0.
Metadata
Release files for acellera-openff-nagl-models 2026.9.0
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 |
|---|---|---|---|---|
| acellera_openff_nagl_models-2026.9.0.tar.gz | 54.5 MB | Without provenance | Details for acellera_openff_nagl_models-2026.9.0.tar.gz |
Release files / acellera_openff_nagl_models-2026.9.0.tar.gz
| Download URL | acellera_openff_nagl_models-2026.9.0.tar.gz |
|---|---|
| Size | 54.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0467847f111b19050517df48dff8e3ac1227641e56a96b24b344809d48aba4d1
|
|
BLAKE2b-256 checksum How to use checksums |
7d0df6cf35c34cd1d924ed8b0ebda5aca90787398e8132f9ca779148b1f6f347
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.13
|
Security for acellera-openff-nagl-models 2026.9.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.