Testing Site Testing Site

skip to navigation
skip to content

ejplugins 0.3.1

parser plugins for jsonextended

Latest Version: 0.5.0

Parser plugins for the jsonextended package and validation schema, to convert output files from materials simulation packages to a JSON format.

Usage

pip install ejplugins
pip install jsonextended

Either use independently:

from ejplugins.qespresso import QEmainPlugin
with open("path/to/my.qe.out") as f:
    output = QEmainPlugin.read_file(f)

Or with jsonextended:

from ejplugins.qespresso import QEmainPlugin
from jsonextended import plugins, ejson
plugins.load_plugin_classes([QEmainPlugin])

ejson.to_dict("path/to/qespresso/outputs")

See ejplugins/test_files for example input/outputs.

 
File Type Py Version Uploaded on Size
ejplugins-0.3.1-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2017-10-12 23KB