openkim / kim-query

Other
1 stars 0 forks source link

kim-query

Python package PyPI Anaconda-Server Badge License

Helper routines for querying the OpenKIM database hosted at https://query.openkim.org

Usage examples

LAMMPS

  kim_init EAM_Dynamo_ErcolessiAdams_1994_Al__MO_123629422045_005 metal
  kim_query a0 get_lattice_constant_cubic crystal=["fcc"] species=["Al"] units=["angstrom"]

python

  from kim_query import get_lattice_constant_cubic
  get_lattice_constant_cubic(["MO_123629422045_005"], ["fcc"], ["Al"], ["angstrom"])

curl

  curl --data-urlencode 'model=["MO_123629422045_005"]' \
       --data-urlencode 'crystal=["fcc"]'               \
       --data-urlencode 'species=["Al"]'                \
       --data-urlencode 'units=["angstrom"]'            \
       https://query.openkim.org/api/get_lattice_constant_cubic

Functions

Note: For a listing that includes a full parameter list and example usage of each function, see https://openkim.org/doc/usage/kim-query/