Skip to main content

CLuster Expansion in Atomistic Simulation Environment

Project description

CLEASE

coverage PyPI version Conda Documentation Status

CLuster Expansion in Atomic Simulation Environment (CLEASE) is a package that automates the cumbersome setup and construction procedure of cluster expansion (CE). It provides a comprehensive list of tools for specifying parameters for CE, generating training structures, fitting effective cluster interaction (ECI) values and running Monte Carlo simulations. A detailed description of the package can be found in the documentation and our paper.

For information on how to contribute to CLEASE, please see the contributing file.

Installation

Install the CLEASE code by executing

pip install clease

Alternative, CLEASE is also available through anaconda on conda via conda-forge. We recommend installing CLEASE via conda on windows machines in order to simplify compilations, as pip tends to have a hard time compiling the C++ code. Install into your conda environment:

conda install -c conda-forge clease

Graphical User Interface

Clease has a stand-alone jupyter notebook GUI, which is capable of performing most of the standard CE routines. It can be found here.

CLEASE GUI can be installed from PyPI or anaconda using one of the two following commands.

PyPI

pip install clease[gui]

Anaconda

conda install -c conda-forge clease-gui

Development

If you are a developer you might want to install CLEASE by executing the following command in the root folder of the project

pip install -e .

In order to run the tests, the testing dependencies should be installed. They can be installed with the extra test option

pip install .[test]

There is an additional option for development purposes, dev, which contains some convenience packages. All of the extras options can be installed via the all option, i.e.

pip install .[all]

Note, that if you are using zsh, you need to escape the argument, e.g.

pip install '.[all]'

Troubleshooting

If you are running on Mac and get the error

fatal error: 'ios' file not found

try this before installing

export MACOSX_DEPLOYMENT_TARGET=10.14

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

clease-1.0.0.tar.gz (490.7 kB view details)

Uploaded Source

Built Distributions

clease-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

clease-1.0.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl (2.1 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686

clease-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

clease-1.0.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl (2.1 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ i686

clease-1.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

clease-1.0.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl (2.1 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ i686

clease-1.0.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

clease-1.0.0-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl (2.1 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ i686

File details

Details for the file clease-1.0.0.tar.gz.

File metadata

  • Download URL: clease-1.0.0.tar.gz
  • Upload date:
  • Size: 490.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for clease-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0033e45d9537e98f45cf3c32865b7b80442ae2953c04866d30c8cb8aa2e356d3
MD5 ebbb53d9e12979a8799cb3f4d23f28df
BLAKE2b-256 b0ce145eca71d05ae0fdf27e2cf1b10867af83040cbac2a53f4e7a4b33918b14

See more details on using hashes here.

File details

Details for the file clease-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

  • Download URL: clease-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for clease-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e1525182d3f2b75f7a8a09e0762e41f240b0421f4e11c03af9af536faf5027cf
MD5 8aa52cfd842f04894c531abe5795db67
BLAKE2b-256 8dd8b5d07d5674e96103dd0e1971e3e445d79acb5f35b169b55d523da2106c03

See more details on using hashes here.

File details

Details for the file clease-1.0.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

  • Download URL: clease-1.0.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: CPython 3.10, manylinux: glibc 2.17+ i686
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for clease-1.0.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 ee34378d2077dc67920a85b0b8d27d1e23701e68c90a031798fb0fa35139dc6b
MD5 5591f0e88f6e6bc8535e68badcd339ab
BLAKE2b-256 228694013d66440adb10a4cc535aaf06f8e9a094490d2394cc807c64ec0d1a3d

See more details on using hashes here.

File details

Details for the file clease-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

  • Download URL: clease-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for clease-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 218f3b508f4789a8e56018750de1f9f053a5a1b846e0c2b2f9e1d6d9f5ee7b40
MD5 8967ef9cdbe6ee8fc150c9e915907743
BLAKE2b-256 17a03c7e6041401beef0462900f372a40412125c1a74cf2f8dca3d0adff45bdd

See more details on using hashes here.

File details

Details for the file clease-1.0.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

  • Download URL: clease-1.0.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: CPython 3.9, manylinux: glibc 2.17+ i686
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for clease-1.0.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 77c8435a1885682bbef8a3ee61c783c146f78d50a9cbadc338261afa904e66e0
MD5 fe811543526ec4536c87e508585895f8
BLAKE2b-256 1f442cacb58c60fec147d6dd32f27e55a6da222e6f77d6b6b4e44f6c00305576

See more details on using hashes here.

File details

Details for the file clease-1.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

  • Download URL: clease-1.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for clease-1.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d7488a326a1968969bf02dc5aac780f698923c0a6b39559679895c9d50171893
MD5 92c12be768bc2b590623749d51110e49
BLAKE2b-256 797a2816ee785453d104074e0352456637cce5d214a1783ba5728a3807b3e4fb

See more details on using hashes here.

File details

Details for the file clease-1.0.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

  • Download URL: clease-1.0.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: CPython 3.8, manylinux: glibc 2.17+ i686
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for clease-1.0.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 4c072f6b5009bc94f4ebba7f3b1988cdcdb77a8e77c2ffca576d6190e1c4fc88
MD5 9f598ecf1649c62585dffe7c4a4d2f19
BLAKE2b-256 c9a00900a16c015cb339492840c305dbaf6d984a1e20621d0dec94224cc7060b

See more details on using hashes here.

File details

Details for the file clease-1.0.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

  • Download URL: clease-1.0.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for clease-1.0.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8a2774e3a68ea061b3b113bbcb70463396dc58dc2cd0d3df9ccb8229600fc166
MD5 c84261f519c693a23354a5fcda79afdd
BLAKE2b-256 7ea33053b4ce2fc98df1a195bbc79d1565085704e975d94f8ffe2c0f4d62cdd9

See more details on using hashes here.

File details

Details for the file clease-1.0.0-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

  • Download URL: clease-1.0.0-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.17+ i686
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for clease-1.0.0-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 4f96622342461c32d3e7384d1ba962d649654e6f0b77ed9eeaa72be87bf8cb20
MD5 6490c241c925237eb82ee930c5940957
BLAKE2b-256 6b063642293cae33205aed85d23556443dbd0e68dc60849be681a16a88f78de5

See more details on using hashes here.

Supported by

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