/pif-dft

Tools for converting from DFT codes into PIF objects

Primary LanguagePythonApache License 2.0Apache-2.0

dfttopif

Build Status

A Python library for extracting the input settings and results from Density Functional Theory calculations, and then storing that data in pif format.

Requirements

Python 2.7 or >=3.4, with dependencies listed in requirements.txt

Installation

dfttopif is published on PyPI, so it can be installed with pip:

$ pip install dfttopif

Usage

Option 1: Call the command line tool dfttopif provided in the binary directory, which takes the directory containing DFT results as its only option

./bin/dfttopif /path/to/calculation/

Option 2: Generate the pif object via the python API

from dfttopif import directory_to_pif
data = directory_to_pif('/path/to/calculation/')

Development

dfttopif is a collaborative effort. Contributions are welcome, both issues and pull requests. This project follows gitflow workflow, so please make PRs to the develop branch.

API documentation is maintained in the source code and hosted on github pages.