Skip to main content

PyPI version PyPI pyversions Test CI Coverage Status Documentation

AiiDA CP2K

AiiDA plugin for CP2K.

Installation

Requires Python >=3.10 and AiiDA >=2.7,<3.

If you use pip, you can install it as:

pip install aiida-cp2k

To install the plugin in an editable mode, run:

git clone https://github.com/aiidateam/aiida-cp2k
cd aiida-cp2k
pip install -e .  # Also installs aiida, if missing (but not postgres/rabbitmq).
  • Documentation for the calculation examples and features of the plugin.
  • Make an issue for bug reports, questions and suggestions.
  • AiiDA to learn about AiiDA.
  • CP2K to learn about CP2K.

For maintainers

Release

To create a new release, clone the repository, install development dependencies with pip install '.[dev]', and then execute bumpver update --major/--minor/--patch. This will:

  1. Create a tagged release with bumped version and push it to the repository.
  2. Trigger a GitHub actions workflow that creates a GitHub release.

Additional notes:

  • Use the --dry option to preview the release change.
  • The release tag (e.g. a/b/rc) is determined from the last release. Use the --tag option to override the release tag.

Testing

To run the tests, you need to have Docker installed in your system. Once this is done, you can build the Docker image with the following command:

docker build -t aiida_cp2k_test .

The image is based on aiidateam/aiida-core-with-services:aiida-2.9.3 by default. To test against another version of aiida-core, you can specify the build argument AIIDA_VERSION:

docker build -t aiida_cp2k_test --build-arg AIIDA_VERSION=2.7.0 .

The build uses the aiida-<version> image tags, which exist from AiiDA 2.7.0 onwards.

Then, you can launch the container:

DOCKERID=`docker run -d aiida_cp2k_test`

This will remeber the container ID in the variable DOKERID. You can then run the tests with the following command:

docker exec --tty --user aiida $DOCKERID /bin/bash -l -c 'cd /home/aiida/aiida-cp2k/ && pytest'

To enter the container for manual testing do:

docker exec -it --user aiida $DOCKERID bash

License

MIT

Contact

yakutovicha@gmail.com

Acknowledgements

This work is supported by:

MARVEL MaX swissuniversities

Metadata

Release files for aiida-cp2k 2.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aiida-cp2k 2.2.1
File Size Uploaded Provenance Actions
aiida_cp2k-2.2.1.tar.gz 30.2 kB Without provenance Details for aiida_cp2k-2.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aiida-cp2k 2.2.1
File Interpreter ABI Platform Actions
aiida_cp2k-2.2.1-py3-none-any.whl Python 3 none any Details for aiida_cp2k-2.2.1-py3-none-any.whl

Total release size: 64.4 kB

Release files / aiida_cp2k-2.2.1.tar.gz

Download URL aiida_cp2k-2.2.1.tar.gz
Size 30.2 kB
Tags Source
SHA-256 checksum
How to use checksums
68f28f6486df9601f007ca4ef873fc4329227c9b3567c3deca6a410c228d9ced
BLAKE2b-256 checksum
How to use checksums
1204d282da27eeb7ec87fde2fa6dd28db46f87330d7d5aeffee8dffb5859bb43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.34.2

Release files / aiida_cp2k-2.2.1-py3-none-any.whl

Download URL aiida_cp2k-2.2.1-py3-none-any.whl
Size 34.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9c047cd93b0f519eca6bbc918e2a9b2fb94426177a78e25023d2ee91e9e2c06e
BLAKE2b-256 checksum
How to use checksums
96f68b3d27c2ac6499953d37baaca559cb2b97678a7b5a5837683f6c180510f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.34.2

Security for aiida-cp2k 2.2.1

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.

Release history Release notifications | RSS feed

This release

2.2.1 This release

2 release files No provenance

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