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 all hosted interatomic potentials to be searched and explored.
Jupyter Notebooks
Setup
0. Initial Setup.ipynb instructs new users on how default settings for the local copy of the database can be set and changed.
Search Tools
Search Potential Entries.ipynb
provides a user-friendly interface for searching and exploring the known interatomic potentials.
Search LAMMPS Potentials.ipynb
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 Class.ipynb
provides details for how to interact with Database objects 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.
Tools 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.
To do
Entries for OpenKIM potentials need to be removed from the data directory and merged with the remote database entries.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file potentials-0.2.3.tar.gz
.
File metadata
- Download URL: potentials-0.2.3.tar.gz
- Upload date:
- Size: 64.0 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d5506ce9183586c288e14860916f2456932e1b92e99687eafb05ab55aaf766a |
|
MD5 | b0ffa6168a579f0c847089522b707254 |
|
BLAKE2b-256 | 4711b3fdba42fee8eb5afe03fdc667ff4720b632765b0effe54751b9bac5acb2 |
File details
Details for the file potentials-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: potentials-0.2.3-py3-none-any.whl
- Upload date:
- Size: 87.9 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | a131d5af1cd032a6533756585c99c6563109b851c41a196486b09b841952ca29 |
|
MD5 | dca643911862ef8a1fccdf2acd938f3e |
|
BLAKE2b-256 | 78f667a66d9c2c48fa0fa16bd6e3ede4dff63dca1417f33817d2f259378346ee |