Schema-based tools and interfaces for Quantum Espresso data.
Project description
The qeschema package provides tools for converting XML data produced by the Quantum ESPRESSO suite of codes (ESPRESSO: opEn-Source Package for Research in Electronic Structure, Simulation and Optimization).
Requirements
Installation
You can install the library with pip in a Python 3.6+ environment:
pip install qeschema
Usage
Define you data document using:
>>> import qeschema
>>> pw_document = qeschema.PwDocument()
and then read XML data from a file processed by the corresponding application of Quantum ESPRESSO suite:
>>> pw_document.read("tests/examples/pw/Al001_relax_bfgs.xml")
Loaded data can be decoded to Python data dictionary or written to JSON or YAML formats:
>>> xml_data = pw_document.to_dict()
>>> json_data = pw_document.to_json()
License
This software is distributed under the terms of the MIT License. See the file ‘LICENSE’ in the root directory of the present distribution, or http://opensource.org/licenses/MIT.
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
Built Distribution
File details
Details for the file qeschema-1.1.0.tar.gz
.
File metadata
- Download URL: qeschema-1.1.0.tar.gz
- Upload date:
- Size: 36.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50f01531ffdeb7cce4687a198a0338141f22a872a0367227bef264f6de5fc01d |
|
MD5 | d14288e18fb1bb9b6ccf01cc687cb4f0 |
|
BLAKE2b-256 | f8dd3b4dc586f93be01aadbeed949f5316cfa88569a6f8f185f25022b8180159 |
File details
Details for the file qeschema-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: qeschema-1.1.0-py3-none-any.whl
- Upload date:
- Size: 44.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c282b2f0c3eb6144596a126f2cbbc0af877e2ccd757d8e67fe44b7e1e727cda |
|
MD5 | cf7388c9b8435fb450e6097a9a92337f |
|
BLAKE2b-256 | 0a551a424d76ec13e9ffce59d64a8a42ec9a30d87fa41f99f9bfb24c19a1fc9e |