aiida-qp2
AiiDA plugin for Quantum Package 2.0 (QP2).
This plugin is the modified output of the AiiDA plugin cutter, intended to help developers get started with their AiiDA plugins.
Repository contents
qp2/: The main source code of the plugin packagecalculations.py: A newQP2CalculationCalcJobclassparsers.py: A newParserfor theQP2Calculation
docs/: A documentation template. The ReadTheDocs documentation is built and deployed on thegh-pagesbranch.examples/: Examples of how to submit a calculation using this pluginLICENSE: License for your pluginMANIFEST.in: Configure non-Python files to be included for publication on PyPIREADME.md: This filesetup.json: Plugin metadata for registration on PyPI and the AiiDA plugin registry (including entry points)setup.py: Installation script for pip / PyPI.pre-commit-config.yaml: Configuration of pre-commit hooks that sanitize coding style and check for syntax errors. Enable viapip install -e .[pre-commit] && pre-commit install.github/: Github Actions configurationci.yml: runs tests and builds documentation at every new commitpublish-on-pypi.yml: automatically deploy git tags to PyPI
Features
- Initialize a wave function file (EZFIO) based on
StructureDatainstance andqp_create_ezfiodictionary. This step can optionally useBasisSetand/orPseudopotentialnodes produced by theaiida-gaussian-datatypesplugin. - Run calculations (e.g. HF, CIPSI) in a given order according to the
qp_commandslist. Some pre- or post-processing (e.g.shellscripting) is also possible by providing a list of commands inqp_prependorqp_appendkeys of theparametersDict, respectively. - Export TREXIO file from the QP-native EZFIO format.
Installation
pip install aiida-qp2
verdi quicksetup # better to set up a new profile
verdi plugin list aiida.calculations # should now show your calclulation plugins
Usage
See Demo-aiida-qp.md and .py files in the examples/ directory.
For instance, the example_trexio_from_xyz.py is the 3-step workflow using the plugin.
verdi daemon start # make sure the daemon is running
cd examples
python example_trexio_from_xyz.py # prepare and submit the calculation
verdi process list -a # check record of calculation
- Create the EZFIO wave function file from the
hcn.xyzfile using a given basis set. - Run SCF calculation using the previously created wave function and parse the output file looking for the Hartree-Fock energy.
- Export TREXIO wave function file by converting EZFIO format using
TREXIO_TEXTback end.
Development
git clone https://github.com/TREX-CoE/aiida-qp2 .
cd aiida-qp2
pip install -e .[pre-commit] # install extra dependencies
pre-commit install # install pre-commit hooks
License
MIT
Contact
Metadata
Release files for aiida-qp2 0.2.0
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 | |
|---|---|---|---|---|
| aiida-qp2-0.2.0.tar.gz | 9.8 kB | Without provenance | Details |
Release files / aiida-qp2-0.2.0.tar.gz
| Download URL | aiida-qp2-0.2.0.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dcfd92c4d3a9bbd3e6a3199aa1b78925c2a1ea1e5b4a4066094d646fd432aa01
|
|
BLAKE2b-256 checksum How to use checksums |
f0e624ef45e05de1266ccdd8639a2eec8cbdb32b54a22e288c11d6b144a2e37c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|
Security for aiida-qp2 0.2.0
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.