Skip to main content

aiida-codtools

PyPI version PyPI pyversions Build Status Docs status

This is the official AiiDA plugin for cod-tools.

Compatibility matrix

The following table shows which versions of aiida-codtools are compatible with which versions of AiiDA and Python.

Plugin AiiDA Python
v3.0.0 < v4.0.0 Compatibility for v3.0 PyPI pyversions
v2.2.0 < v3.0.0 Compatibility for v2.2 PyPI pyversions
v2.1.0 < v2.2.0 Compatibility for v2.1 PyPI pyversions
v2.0.0 < v2.1.0 Compatibility for v2.0 PyPI pyversions
v1.0.0 < v2.0.0 ![Compatibility for v1.0][AiiDA v1.x] PyPI pyversions

Installation

To install from PyPi, simply execute:

pip install aiida-codtools

or when installing from source:

git clone https://github.com/aiidateam/aiida-codtools
pip install aiida-codtools

Get started

In order to use aiida-codtools, after installing the package, aiida-core needs to be setup and configured. For instructions please follow the documentation of aiida-core.

The package provides a command line script aiida-codtools that comes with some useful commands, such as launching calculation or imports CIF files. Call the command with the --help flag to display its usage:

Usage: aiida-codtools [OPTIONS] COMMAND [ARGS]...

  CLI for the `aiida-codtools` plugin.

Options:
  -p, --profile PROFILE  Execute the command for this profile instead of the default profile.
  -h, --help             Show this message and exit.

Commands:
  calculation  Commands to launch and interact with calculations.
  data         Commands to import, create and inspect data nodes.
  workflow     Commands to launch and interact with workflows.

Each sub command can have multiple other sub commands. To enable tab completion, add the following line to your shell activation script:

eval "$(_AIIDA_CODTOOLS_COMPLETE=source aiida-codtools)"

To import 10 random CIF files from the COD database, for example, you can do the following:

verdi group create cod_cif_raw
aiida-codtools data cif import -d cod -G cod_cif_raw -M 10

After you have configured a computer and a code, you can also easily launch a cod-tools calculation through AiiDA:

aiida-codtools calculation launch cod-tools -X cif-filter -N 10

Here cif-filter is the label of the code that you have configured and 10 is the pk of a CifData node. These will most likely be different for your database, so change them accordingly.

Documentation

The documentation for this package can be found on readthedocs.

Acknowledgements

This work is supported in part by the swissuniversities P-5 project "Materials Cloud".

swissuniversities

Metadata

Release files for aiida-codtools 3.1.0

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-codtools 3.1.0
File Size Uploaded
aiida-codtools-3.1.0.tar.gz 30.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aiida-codtools 3.1.0
File Interpreter ABI Platform
aiida_codtools-3.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 67.0 kB

Release files / aiida-codtools-3.1.0.tar.gz

Download URL aiida-codtools-3.1.0.tar.gz
Size 30.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c7404e703d70526919cb750b4a184a1426ec17fd42f306cbcfcb42e1304dd132
BLAKE2b-256 checksum
How to use checksums
ebd1226f6dc2d08940e082541577dcd5a6e4ee7fc0eddc7aba296f4e499222bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.28.2

Release files / aiida_codtools-3.1.0-py3-none-any.whl

Download URL aiida_codtools-3.1.0-py3-none-any.whl
Size 37.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8aea8e8159e929d78acbef917c3c46eb2beff2688d16a9cb2790681421fea106
BLAKE2b-256 checksum
How to use checksums
52e903f7a4b3c222d6cb0fd3416a735ec8bb8be42a52f425577c5091c3d11b6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.28.2

Release history Release notifications | RSS feed

This release

3.1.0 This release

2 release files

3.0.0

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

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