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.7+ environment:
pip install qeschema
If you need HDF5 utilities and/or the YAML format, install the extra features using the appropriate command from these alternatives:
pip install qeschema[HDF5] pip install qeschema[YAML] pip install qeschema[HDF5,YAML]
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/Si.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.
Metadata
Release files for qeschema 1.5.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| qeschema-1.5.2.tar.gz | 199.7 kB | Without provenance | Details for qeschema-1.5.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| qeschema-1.5.2-py3-none-any.whl | Python 3 | none | any | Details for qeschema-1.5.2-py3-none-any.whl |
Total release size: 362.5 kB
Release files / qeschema-1.5.2.tar.gz
| Download URL | qeschema-1.5.2.tar.gz |
|---|---|
| Size | 199.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
281b80b1b535e95e17404065977f5f25d245d451fcd3c520712eb08eb49154e2
|
|
BLAKE2b-256 checksum How to use checksums |
3c57e280f33a2084579883e88a5283dfa249559a4458fea8799a494c92888527
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.3
|
Release files / qeschema-1.5.2-py3-none-any.whl
| Download URL | qeschema-1.5.2-py3-none-any.whl |
|---|---|
| Size | 162.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d145d2391a0ee7e6c093013b3f99e3c37d3d447868adf1c46a9c00e5007d564d
|
|
BLAKE2b-256 checksum How to use checksums |
4bfcafe8ff7987430763696f9a358768d25e762f4c84b3c079dec98ead8ff835
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.3
|
Security for qeschema 1.5.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.