parser plugins for jsonextended
Project description
ejplugins
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
or, to use Pymatgen and ASE parsers:
>> pip install ejplugins[science]
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ejplugins-0.10.0.tar.gz
(31.3 MB
view hashes)
Built Distribution
Close
Hashes for ejplugins-0.10.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77a13fc534abf9a17f8b0fddbb994ea817dd5ed85a698ab15fdd6411c7a00bee |
|
MD5 | 6b54ecfb3e545b8f90d123cc74525bd0 |
|
BLAKE2b-256 | f72652de1b4582496a884d476eac682de9228a069331684f17fb9e8eba6b7c08 |