Command line interface#

dpdata: Manipulating multiple atomic simulation data formats

usage: dpdata [-h] [--to_file TO_FILE] [--from_format FROM_FORMAT]
              [--to_format TO_FORMAT] [--no-labeled] [--multi]
              [--type-map TYPE_MAP [TYPE_MAP ...]] [--version]
              from_file

Positional Arguments#

from_file

read data from a file

Named Arguments#

--to_file, -O

dump data to a file

--from_format, -i

the format of from_file

Default: “auto”

--to_format, -o

the format of to_file

--no-labeled, -n

labels aren’t provided

Default: False

--multi, -m

the system contains multiple directories

Default: False

--type-map, -t

type map

--version

show program’s version number and exit

Workflow guide (read first): dpdata skills read dpdata-cli Discover other guides: dpdata skills list. To convert a file named skills, use ./skills or – skills.

Offline workflow guides#

The installed dpdata package includes the public workflow guides from its skills/ directory. Read the instructions matching your installed version without installing a separate agent integration:

dpdata skills list
dpdata skills read dpdata-cli
dpdata skills read dpdata-cli README.md

The optional file argument must be a relative path inside the selected guide; without one, skills read displays SKILL.md. These commands work offline and only print documentation: they do not execute workflow examples or convert data. To convert a file literally named skills, pass ./skills or use -- to separate the filename from CLI options.