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
Metadata
Release files for esma 0.0.502
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| esma-0.0.502.tar.gz | 48.6 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| esma-0.0.502-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 48.7 MB
Release files / esma-0.0.502.tar.gz
| Download URL | esma-0.0.502.tar.gz |
|---|---|
| Size | 48.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a3d57e916d55f0b0abe2d6f42771630171d35566d4511c17df62d96f4bb9ae89
|
|
BLAKE2b-256 checksum How to use checksums |
3898ebcd45e4982bc4d306c2bd542ae26ee2c8d37a085fa237e08f3465b9f9ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 27, 2025.
Transparency logRelease files / esma-0.0.502-py3-none-any.whl
| Download URL | esma-0.0.502-py3-none-any.whl |
|---|---|
| Size | 110.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e393e2531291a5142fb9634927299a117048b7b3806fe0fbf3d6d0f7e0acd694
|
|
BLAKE2b-256 checksum How to use checksums |
4c64c9faab69030eed45fe5a729998ab4477c491193cca825a46d183e9a73f89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 27, 2025.
Transparency log