Metadata-Version: 2.4
Name: aiida-dlpoly
Version: 0.0.1
Summary: AiiDA workflow plugin for the DL_POLY molecular dynamics software package
Author-email: "Dr. Benjamin T. Speake" <benjamin.speake@stfc.ac.uk>
License: BSD 3-Clause License
        
        Copyright (c) 2026, UKRI Science and Technology Facilities Council
        
        Redistribution and use in source and binary forms, with or without
        modification, are permitted provided that the following conditions are met:
        
        1. Redistributions of source code must retain the above copyright notice, this
           list of conditions and the following disclaimer.
        
        2. Redistributions in binary form must reproduce the above copyright notice,
           this list of conditions and the following disclaimer in the documentation
           and/or other materials provided with the distribution.
        
        3. Neither the name of the copyright holder nor the names of its
           contributors may be used to endorse or promote products derived from
           this software without specific prior written permission.
        
        THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
        AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
        IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
        DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
        FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
        DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
        SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
        CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
        OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
        OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
        
Project-URL: Source, https://github.com/stfc/aiida-dlpoly
Keywords: aiida,workflows,dlpoly,dynamics
Classifier: Intended Audience :: Science/Research
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering
Classifier: Framework :: AiiDA
Classifier: Development Status :: 3 - Alpha
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: aiida-core>=2.5
Requires-Dist: dlpoly-py
Provides-Extra: dev
Requires-Dist: aiida-core>=2.6; extra == "dev"
Requires-Dist: pytest>=8.0; extra == "dev"
Requires-Dist: pytest-cov>=6.0; extra == "dev"
Requires-Dist: ruff>=0.11.0; extra == "dev"
Requires-Dist: pre-commit; extra == "dev"
Provides-Extra: docs
Requires-Dist: sphinx>=8.0.2; extra == "docs"
Requires-Dist: piccolo-theme>=0.14.0; extra == "docs"
Requires-Dist: sphinx-toolbox; extra == "docs"
Requires-Dist: numpydoc; extra == "docs"
Dynamic: license-file

[![Release](https://img.shields.io/github/v/release/stfc/aiida-dlpoly)](https://github.com/stfc/aiida-dlpoly/releases)
[![PyPI](https://img.shields.io/pypi/v/aiida-dlpoly)](https://pypi.org/project/aiida-dlpoly/)

[![Docs status](https://github.com/stfc/aiida-dlpoly/actions/workflows/ci-docs.yml/badge.svg?branch=main)](https://stfc.github.io/aiida-dlpoly/)
[![Pipeline Status](https://github.com/stfc/aiida-dlpoly/actions/workflows/ci-testing.yml/badge.svg?branch=main)](https://github.com/stfc/aiida-dlpoly/actions)
[![Coverage Status]( https://coveralls.io/repos/github/stfc/aiida-dlpoly/badge.svg?branch=main)](https://coveralls.io/github/stfc/aiida-dlpoly?branch=main)

[![DOI]()]()

# aiida-dlpoly

An [AiiDA](https://www.aiida.net) plugin for the [DL_POLY](https://ccp5.gitlab.io/dl-poly/) molecular/particle
dynamics software.

## Installation 

This plugin is available through PyPI and should be installed using [`pip`](https://pip.pypa.io/en/stable/) python package manager. 

```
pip install aiida-dlpoly
```

At present due to a outdated dependency this package requires the distutils module which will cause issues
with certain environments running python >= 3.12. This is being addressed and should be resolved in a future
release.

## Requirements 

To use this plugin a configured AiiDA profile and computer configuration are required, see the
[AiiDa documentation](https://aiida.readthedocs.io/projects/aiida-core/en/latest/intro/get_started.html)
for instructions on how to install and configure AiiDA.


## Setup 

To configure the DL_POLY plugin an AiiDA code instance needs to be configured for the DL_POLY executable.
The following is an example of a basic YAML configuration file:

```yaml
label: dlpoly
description: DL_POLY 
computer: localhost 
filepath_executable: /absolute/path/to/DLPOLY.Z
default_calc_job_plugin: dlpoly.md
use_double_quotes: false 
with_mpi: true 
prepend_text: '' 
append_text: '' 
```

Write this to a file named `dlpoly_config.yml` ensuring the value for `computer` matches the label of your computer configured in the previous 
step. The code can then be configured by running:

```bash
verdi code create core.code.installed --config dlpoly_config.yml -n 
```

If successful this will have created a code with the label `dlpoly` which can then be used to run ChemShell jobs within the AiiDA workflow. 

## Examples 

