Skip to main content

The official AiiDA plugin for cod-tools

Project description

aiida-codtools

This is the official AiiDA plugin for cod-tools

Build Status Docs status PyPI version PyPI pyversions

Compatibility

The aiida-codtools plugin has the following compatibility with aiida-core:

  • aiida-codtools>=2.0.0 is compatible with aiida-core>=1.0.0
  • aiida-codtools<2.0.0 is compatible with aiida-core<1.0.0

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aiida_codtools-2.0.0.tar.gz (137.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aiida_codtools-2.0.0-py3-none-any.whl (38.2 kB view details)

Uploaded Python 3

File details

Details for the file aiida_codtools-2.0.0.tar.gz.

File metadata

  • Download URL: aiida_codtools-2.0.0.tar.gz
  • Upload date:
  • Size: 137.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.6.8

File hashes

Hashes for aiida_codtools-2.0.0.tar.gz
Algorithm Hash digest
SHA256 1579c78c3022fdc9ebcb0aeb28ff783bc83abf167b7a3908ff0b6515c1a7f9d0
MD5 38f42c4f27b4275737b77974ebef4743
BLAKE2b-256 e603865f5278e11e812867831f49be79615bf19283261fb0accf90c7a2756e28

See more details on using hashes here.

File details

Details for the file aiida_codtools-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: aiida_codtools-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 38.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.6.8

File hashes

Hashes for aiida_codtools-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 83cf31c401d01d91bfb02b7c0f5ea02c4afbd5219d0408cd412b17c8dc4190bc
MD5 7c40eb640b153e14c55ff923417f43e3
BLAKE2b-256 87604315851c8dd6e983cc3d5a30f4e731543249c982ac29ab78930d90d172a9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page