deepmodeling / dpdata

A Python package for manipulating atomistic data of software in computational science
https://docs.deepmodeling.com/projects/dpdata/
GNU Lesser General Public License v3.0
195 stars 129 forks source link
atomic-data python

dpdata

conda-forge pip install Documentation Status

dpdata is a Python package for manipulating atomistic data of software in computational science.

Installation

DP-GEN only supports Python 3.7 and above. You can setup a conda/pip environment, and then use one of the following methods to install DP-GEN:

To test if the installation is successful, you may execute

dpdata --version

Supported packages

dpdata is aimmed to support different kinds of atomistic packages:

All supported formats are listed here.

Quick start

The quickest way to convert a simple file from one format to another one is to use the command line.

dpdata OUTCAR -i vasp/outcar -o deepmd/npy -O deepmd_data

For advanced usage with Python APIs, read dpdata documentation.

Plugins

For how to create your own plugin packages, read dpdata documentation.