Skip to main content

OpenFF NAGL Models

Project description

OpenFF NAGL Models

Latest release Last release tag GitHub commits since latest release (by date) for a branch Documentation Status
Status GH Actions Status
Community License: CC-BY 4.0 DOI

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

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')]

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-0.0.1-alpha.1.pt")
PosixPath('/home/.../openff-nagl-models/openff/nagl_models/models/am1bcc/openff-gnn-am1bcc-0.0.1-alpha.1.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')]

Acknowledgements

Project based on the Computational Molecular Science Python Cookiecutter version 1.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openff_nagl_models-2025.9.0.tar.gz (54.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openff_nagl_models-2025.9.0-py3-none-any.whl (74.8 MB view details)

Uploaded Python 3

File details

Details for the file openff_nagl_models-2025.9.0.tar.gz.

File metadata

  • Download URL: openff_nagl_models-2025.9.0.tar.gz
  • Upload date:
  • Size: 54.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for openff_nagl_models-2025.9.0.tar.gz
Algorithm Hash digest
SHA256 136628907cadb4e374b5696c24dca78ec31cd228e8e72ed77ab602329590c2d0
MD5 c7fb77310dfa61d64798318f5be032ac
BLAKE2b-256 63f4682941688a4a6f1b6ab3bfccbb1b9fdfb094552a664c117100644115acbe

See more details on using hashes here.

File details

Details for the file openff_nagl_models-2025.9.0-py3-none-any.whl.

File metadata

File hashes

Hashes for openff_nagl_models-2025.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 24b3dcb447173869b104f03ef5983eabb23735f4a85c3a140373c87ef71c6223
MD5 bdd857b6a960cc4c9a441dde1a7f0c3f
BLAKE2b-256 fa712ebe1aca6880e6a8caf1cafc48435946276f554c293f3218197d3827be57

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page