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.9.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0144e2e6a874f3594bf989bc2e5ecdc4c74fc613b545fffa64f87f167226b569 |
|
MD5 | 2aa10119aca4800b2e9c9ba1ba5b11b4 |
|
BLAKE2b-256 | fc81a2f5661c995a5b9d79e924ef7054e2fd99e894a0a49aa8aad4e463edbdfd |