This release is a pre-release and may not be stable for production use.
aiida-gulp
AiiDA plugin for running the GULP code.
Documentation: https://readthedocs.org/projects/aiida-gulp
Installation
To install from Conda (recommended)::
>> conda install -c conda-forge aiida-gulp aiida-core.services
To install from pypi::
>> pip install aiida-gulp
To install the development version:
>> git clone https://github.com/chrisjsewell/aiida-gulp .
>> cd aiida-gulp
>> pip install -e . # also installs aiida, if missing (but not postgres)
>> #pip install -e .[pre-commit,testing] # install extras for more features
>> verdi quicksetup # set up a new profile
>> verdi calculation plugins # should now show the calculation plugins (with prefix gulp.)
Development
Testing against mock GULP executables
Because GULP is a licensed software, it is not possible to source a copy of the executable on Travis CI.
Therefore, a mock executable (gulp_mock) has been created for testing purposes (which also speeds up test runs).
This executable computes the md5 hash of the supplied input file and tries to match it against a dictionary of
precomputed hashes. If found, the executable will write the matching output (from test/output_files) to stdout.
The following will discover and run all unit test:
>> pip install -e .[testing]
>> reentry scan -r aiida
>> pytest -v
To omit tests which call external executables (like gulp):
>> pytest --gulp-skip-exec
To call the actual executable (e.g. gulp instead of gulp_mock):
>> pytest --gulp-no-mock
To output the results of calcjob executions to a specific directory:
>> pytest --gulp-workdir "test_workdir"
Coding Style Requirements
The code style is tested using flake8,
with the configuration set in .flake8, and code should be formatted with black.
Installing with aiida-gulp[code_style] makes the pre-commit
package available, which will ensure these tests are passed by reformatting the code
and testing for lint errors before submitting a commit.
It can be setup by:
>> cd aiida-gulp
>> pre-commit install
Optionally you can run black and flake8 separately:
>> black . # recursively find and format files in-place
>> flake8
Editors like VS Code also have automatic code reformat utilities, which can adhere to this standard.
License
See LICENSE file
Contact
Metadata
Release files for aiida-gulp 0.10.0b5
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-gulp-0.10.0b5.tar.gz | 217.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aiida_gulp-0.10.0b5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 505.3 kB
Release files / aiida-gulp-0.10.0b5.tar.gz
| Download URL | aiida-gulp-0.10.0b5.tar.gz |
|---|---|
| Size | 217.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b650542e4765fe3a0ce38eb1d3f16046cc8dc7fb6e48b787bfa34e32c088abd6
|
|
BLAKE2b-256 checksum How to use checksums |
b34dde00db715d43ead7ebc6097b4d2a81bcc6e5b03d14ee90a51a75487480c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.3
|
Release files / aiida_gulp-0.10.0b5-py3-none-any.whl
| Download URL | aiida_gulp-0.10.0b5-py3-none-any.whl |
|---|---|
| Size | 287.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3ac6a69be2121bc1d1119f76e6994de13a8b9816c4a005c16e543631f75bc69f
|
|
BLAKE2b-256 checksum How to use checksums |
86d6966adcf749fc6e72f645691edcb6be4a98c9a602a88efd39b028ae05f3ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.3
|
Security for aiida-gulp 0.10.0b5
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.