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.11.1.tar.gz
(31.3 MB
view details)
Built Distribution
File details
Details for the file ejplugins-0.11.1.tar.gz
.
File metadata
- Download URL: ejplugins-0.11.1.tar.gz
- Upload date:
- Size: 31.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a636590c95c310ac37a867ee4afdd3bbb26bf0ec115d0c82269b1deca88a835c |
|
MD5 | a846d518f49c2b3084df1ef15d1db9ed |
|
BLAKE2b-256 | ed5ef7107fdb3aab5ba9c358f256ada9e04a8096bcf5d754df7e1b1c52c9002e |
File details
Details for the file ejplugins-0.11.1-py2.py3-none-any.whl
.
File metadata
- Download URL: ejplugins-0.11.1-py2.py3-none-any.whl
- Upload date:
- Size: 31.7 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44fe783c5311e501eba71891341db72ad7eaefe8eb683fa00814aa4aad720c56 |
|
MD5 | 09d80ae014631174bc120ddf1cb12835 |
|
BLAKE2b-256 | c6d186aa4e62a7ab8f9f8ef634b443584926043005a3c9c0de8433b9001d4d25 |