parser plugins for jsonextended
Project description
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.
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for ejplugins-0.7.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b1249212d3c76e47bf9b947699ade7c06e2b332761673091314fffd5f7a91d6 |
|
MD5 | 59fe4edbe4e46322af9b9e4e6a8cf2e8 |
|
BLAKE2b-256 | 77b7977da78bf32a37b940922cd697208db52ca947208a85a85c005a000e0677 |