Skip to main content

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

  • Python 3.7+

  • xmlschema (Python library for processing XML Schema based documents)

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()

Authors

  • Davide Brunato

  • Pietro Delugas

  • Giovanni Borghi

  • Alexandr Fonari

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.

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)

Source distribution for qeschema 1.5.2
File Size Uploaded
qeschema-1.5.2.tar.gz 199.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for qeschema 1.5.2
File Interpreter ABI Platform
qeschema-1.5.2-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

1.5.2 This release

2 release files

1.5.1

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.5.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page