Skip to main content

API database tools for accessing the NIST Interatomic Potentials Repository: explore and download interatomic potentials and computed properties.

Project description

Introduction

The potentials package provides a Python-based interface to the content hosted on the NIST Interatomic Potentials Repository. The package directly interacts with the underlying database hosted at https://potentials.nist.gov/ allowing for the metadata for the hosted interatomic potentials to be searched and explored.

Jupyter Notebooks

Search Tools

  • Search Potential Entries.ipynb colab logo provides a user-friendly interface for searching and exploring the known interatomic potentials.

  • Search LAMMPS Potentials.ipynb colab logo provides a user-friendly interface for searching and exploring the known LAMMPS interatomic potentials. Parameter files can be downloaded, and the associated LAMMPS command lines shown.

  • Database Exploration.ipynb colab logo provides details for how to perform more complicated searches directly in Python.

Adding Content

  • Add LAMMPS Potentials.ipynb shows how users can integrate their own LAMMPS potential implementations with the Python code.

  • Content Manager.ipynb provides a working document for those with access to add and modify repository content.

Package Features

Implemented

  • Anyone can use the Database class to explore hosted records.

  • Publication citations are handled with the Citation class that can read/write citation data as bibtex, JSON, or XML. New citations can be constructed, existing ones updated, and can be rendered as HTML.

  • Metadata descriptions of interatomic potentials (citation info, notes, and a list of known implementations) are handled with the Potential class. New potentials can be constructed, existing ones updated, saved/loaded from XML or JSON, and can be rendered as HTML.

  • The PotentialLAMMPS class can be used to generate proper LAMMPS input commands for the hosted LAMMPS-compatible interatomic potentials. Any LAMMPS parameter files can also be downloaded.

  • Any record can be copied, and all records can be downloaded to a local directory. If the path to the local directory is given, the Database class can interact with the local copy in a manner comparable to the remote database.

  • BTools supporting the construction of the records used by PotentialLAMMPS for different LAMMPS pair styles so that users can integrate their personal LAMMPS potentials with the code and database records.

  • Classes for interacting with FAQ, Requests, and Action records used by the Interatomic Potentials Repository.

Planned

  • Tools supporting the construction of parameter files in different LAMMPS styles. (EAM-oriented tools exist, but need to be integrated in.)

Record status

  • NIST: 100%

  • OpenKIM: 0% (75% in local files, to be merged)

  • Additional metadata fields to be added to records…

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

potentials-0.1.0.tar.gz (55.7 kB view details)

Uploaded Source

Built Distribution

potentials-0.1.0-py3-none-any.whl (68.0 kB view details)

Uploaded Python 3

File details

Details for the file potentials-0.1.0.tar.gz.

File metadata

  • Download URL: potentials-0.1.0.tar.gz
  • Upload date:
  • Size: 55.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for potentials-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3e50cfcf15e529ce1c56dcac1b40b93c2566c35b102b3df6a18b2437c365a874
MD5 06ddc8d729b1c4a973226e4f4adac672
BLAKE2b-256 91c8654bf70b8cc8e9b2915042581bfbfbfaefee124b81ccb1cdf5136ba8df82

See more details on using hashes here.

File details

Details for the file potentials-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: potentials-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 68.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for potentials-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 10afdc1020e95aeccab2585c23c54c2266aa6f4917e873f5e121e93374558f65
MD5 493350f3eb6bae761b1023f4c2b31c53
BLAKE2b-256 bf6e2f0bae6dde31cbc5b1b92546c0707cd91f4df84ec75fd1880a3b1bd3653e

See more details on using hashes here.

Supported by

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