Skip to main content

Manipulating data formats of DeePMD-kit, VASP, QE, PWmat, and LAMMPS, etc.

Project description

dpdata

DOI:10.1021/acs.jcim.5c01767 conda-forge pip install Documentation Status

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

Credits

If you use this software, please cite the following paper:

  • Jinzhe Zeng, Xingliang Peng, Yong-Bin Zhuang, Haidi Wang, Fengbo Yuan, Duo Zhang, Renxi Liu, Yingze Wang, Ping Tuo, Yuzhi Zhang, Yixiao Chen, Yifan Li, Cao Thang Nguyen, Jiameng Huang, Anyang Peng, Marián Rynik, Wei-Hong Xu, Zezhong Zhang, Xu-Yuan Zhou, Tao Chen, Jiahao Fan, Wanrun Jiang, Bowen Li, Denan Li, Haoxi Li, Wenshuo Liang, Ruihao Liao, Liping Liu, Chenxing Luo, Logan Ward, Kaiwei Wan, Junjie Wang, Pan Xiang, Chengqian Zhang, Jinchao Zhang, Rui Zhou, Jia-Xin Zhu, Linfeng Zhang, Han Wang, dpdata: A Scalable Python Toolkit for Atomistic Machine Learning Data Sets, J. Chem. Inf. Model., 2025, DOI: 10.1021/acs.jcim.5c01767. Citations

Installation

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

  • Install via pip: pip install dpdata
  • Install via conda: conda install -c conda-forge dpdata
  • Install from source code: git clone https://github.com/deepmodeling/dpdata && pip install ./dpdata

To test if the installation is successful, you may execute

dpdata --version

Supported packages

dpdata is aimmed to support different kinds of atomistic packages:

  • Atomistic machine learning packages, such as DeePMD-kit;
  • Molecular dynamics packages, such as LAMMPS and GROMACS;
  • Quantum chemistry packages, such as VASP, Gaussian, and ABACUS;
  • Atomistic visualization packages, such as 3Dmol.js.
  • Other atomistic tools, such as ASE.
  • Common formats such as xyz.

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

  • cp2kdata adds the latest CP2K support for dpdata.

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

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

dpdata-1.0.1.tar.gz (147.2 kB view details)

Uploaded Source

Built Distribution

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

dpdata-1.0.1-py3-none-any.whl (170.4 kB view details)

Uploaded Python 3

File details

Details for the file dpdata-1.0.1.tar.gz.

File metadata

  • Download URL: dpdata-1.0.1.tar.gz
  • Upload date:
  • Size: 147.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for dpdata-1.0.1.tar.gz
Algorithm Hash digest
SHA256 202a2993f18b6ba9477d862a269ea61975dc1f0b9c219a5e6f47a523f6c2cb03
MD5 c2d4fa128ebf30ce4a8e29c33f1082db
BLAKE2b-256 1a1279a042291fc0f82f2e9e69f56d410c7c1c4524fee98137d0d7be58723361

See more details on using hashes here.

File details

Details for the file dpdata-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: dpdata-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 170.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for dpdata-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e064ef13ba16fb753eb85ae844312e4fc85d190341da619e19c34d40f862d801
MD5 a8d94758040def4a7017e415269846c9
BLAKE2b-256 b5a4e57c443513a191f085fa7070f540546b0f9d9e6253fd97312c8c0e324627

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