Quantum Espresso automation tool
Project description
Espresso Machine
Automation library for Quantum Espresso via python
Start discovering by checking out the Tutorials section for different calculations It is suggested to use a virtual environment to avaoid any compatibility issues.
Automated Calculation
Any kind of choosen calculation type will be initialized after automatically generating the input files
Parameter Adjustment
DFT parameters can be adjusted using the functional approach to keep the bugs away
Utility Tools
Various kind of utility tools added to make the workflow smooth
How to use
1. Prepare the python environment for avoiding compatibility issues
python -m venv .venv
source .venv/bin/activate
pip install esma
2. Create work script
- Initialize model and define paths
model = esma.project(project_id="Si") #Define project model.set_cores(4) #Define number of processing cores model.get_structure(format='poscar',path='./Structures/Si.poscar')
- Pseudopotential names should be as same as the the. For example for Si atom it should be named as Si.UPF.
model.set_pseudo(path="./Pseudopotentials")
- Adjust system specific parameters
model.ecutwfc(80) #Set wavefunction cutoff model.k_points([4,4,4]) #Set number of k points
- Start calculations
model.calculate('vc-relax') model.calculate('scf')
- Define band path and calculate band structure
path = ['L','GAMMA','X','K','GAMMA'] num_points = 100 model.band_points(path,num_points) model.calculate('bands')
- Plot band structure
model.plot('electron',ylim=[-13,12]) #plot electron bands
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file esma-0.0.502.tar.gz.
File metadata
- Download URL: esma-0.0.502.tar.gz
- Upload date:
- Size: 48.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3d57e916d55f0b0abe2d6f42771630171d35566d4511c17df62d96f4bb9ae89
|
|
| MD5 |
5a2b81b2904c5e6d83124fe54db03898
|
|
| BLAKE2b-256 |
3898ebcd45e4982bc4d306c2bd542ae26ee2c8d37a085fa237e08f3465b9f9ca
|
Provenance
The following attestation bundles were made for esma-0.0.502.tar.gz:
Publisher:
publish.yml on susyexists/espresso-machine
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
esma-0.0.502.tar.gz -
Subject digest:
a3d57e916d55f0b0abe2d6f42771630171d35566d4511c17df62d96f4bb9ae89 - Sigstore transparency entry: 165750498
- Sigstore integration time:
-
Permalink:
susyexists/espresso-machine@eaee88916b48c4aded0c334a4770f64d70d18e2e -
Branch / Tag:
refs/tags/v0.0.502 - Owner: https://github.com/susyexists
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@eaee88916b48c4aded0c334a4770f64d70d18e2e -
Trigger Event:
push
-
Statement type:
File details
Details for the file esma-0.0.502-py3-none-any.whl.
File metadata
- Download URL: esma-0.0.502-py3-none-any.whl
- Upload date:
- Size: 110.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e393e2531291a5142fb9634927299a117048b7b3806fe0fbf3d6d0f7e0acd694
|
|
| MD5 |
873c30826212cec676418106ab6f2361
|
|
| BLAKE2b-256 |
4c64c9faab69030eed45fe5a729998ab4477c491193cca825a46d183e9a73f89
|
Provenance
The following attestation bundles were made for esma-0.0.502-py3-none-any.whl:
Publisher:
publish.yml on susyexists/espresso-machine
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
esma-0.0.502-py3-none-any.whl -
Subject digest:
e393e2531291a5142fb9634927299a117048b7b3806fe0fbf3d6d0f7e0acd694 - Sigstore transparency entry: 165750500
- Sigstore integration time:
-
Permalink:
susyexists/espresso-machine@eaee88916b48c4aded0c334a4770f64d70d18e2e -
Branch / Tag:
refs/tags/v0.0.502 - Owner: https://github.com/susyexists
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@eaee88916b48c4aded0c334a4770f64d70d18e2e -
Trigger Event:
push
-
Statement type: