Skip to main content

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

Project description

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:

  • 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-0.2.21.tar.gz (124.5 kB view details)

Uploaded Source

Built Distribution

dpdata-0.2.21-py3-none-any.whl (150.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dpdata-0.2.21.tar.gz
  • Upload date:
  • Size: 124.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for dpdata-0.2.21.tar.gz
Algorithm Hash digest
SHA256 55dcec61bdc8707fb6b3e57406fb7c07b6ccb7a0ac763a1407cc1c3222bf58b1
MD5 5f4a32115b50e1b15eb45cb71a0c6165
BLAKE2b-256 89d7598c14af74689bfabf9412935c60b7085ab7688ebb2775493c1098cb7141

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dpdata-0.2.21-py3-none-any.whl
  • Upload date:
  • Size: 150.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for dpdata-0.2.21-py3-none-any.whl
Algorithm Hash digest
SHA256 07aef2e380819d39469589e6545934eceac9d27749476313b36d0c7bf102a2f3
MD5 67e3abf43f5f2c16e73020d78ac4f621
BLAKE2b-256 e661eb5649baef513ce797250bd6df912c21f4af3b6a1304036d0d8ca4689ec7

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 Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page