Skip to main content

parser plugins for jsonextended

Project description

Build_Status PyPI

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


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

ejplugins-0.5.0-py2.py3-none-any.whl (3.4 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file ejplugins-0.5.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for ejplugins-0.5.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 396dfab7a93601d4380953dfb91f65f73ca9c965eff23d21697dbdc24c0d4303
MD5 baff10d9e62dcac8684b892f0904d311
BLAKE2b-256 d6a6b48e0335536537cb50cacafeec2b6cd21314e33d9f71bce0ad9fe4872998

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page