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-0.11.1.tar.gz (390.4 kB view details)

Uploaded Source

Built Distributions

clease-0.11.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

clease-0.11.1-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl (1.9 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686

clease-0.11.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

clease-0.11.1-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl (1.9 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ i686

clease-0.11.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

clease-0.11.1-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl (1.9 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ i686

clease-0.11.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.9 MB view details)

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

clease-0.11.1-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl (1.9 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ i686

File details

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

File metadata

  • Download URL: clease-0.11.1.tar.gz
  • Upload date:
  • Size: 390.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for clease-0.11.1.tar.gz
Algorithm Hash digest
SHA256 d8285cb7e08f4350cf229509be7ed8642a72e615dccfefdfbae2c42942210ea8
MD5 2bcee431a806a1bc665bd663f994dce5
BLAKE2b-256 aa1eb23fad6218bfba5b869fea9e9b6e5581ddaf3588403be127d59bf440a540

See more details on using hashes here.

File details

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

File metadata

  • Download URL: clease-0.11.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 1.9 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/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for clease-0.11.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5bfd2c10e93cdbaa4224e9b91fb932126e47afdd17345ec7dcb950f948ee6a79
MD5 acbfdb008ce41858d9ad8027757ecbc3
BLAKE2b-256 e76cab9f6375a5285a666743d1acb73e76d9f19a7139d21c8ac4f19839c48b04

See more details on using hashes here.

File details

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

File metadata

  • Download URL: clease-0.11.1-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
  • Upload date:
  • Size: 1.9 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/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for clease-0.11.1-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 4f4ccd09fda85502484258411fce8c0bba3115b888e607618d3f9ec5a3164ba3
MD5 d8fde08b38c07724b6175105d4ebb2e6
BLAKE2b-256 622567b66f51d62335d4690ef7b1f02263b1e246eb7fe387e4b944e60471937e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: clease-0.11.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 1.9 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/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for clease-0.11.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f40221d8803c0480bd22d78220898b656f69d07a1fa81e29126648eb72cd5e10
MD5 e4bb70ff558d8997b2c54912ff062483
BLAKE2b-256 4780e368d17548f5aef5f95d55cf29f4fddd61f3b01461b8f12ec2e6e2a5cae7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: clease-0.11.1-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
  • Upload date:
  • Size: 1.9 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/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for clease-0.11.1-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 49446eb4f71c8fc32a1f1eeb55f1990b40eabd2a515edee57930e473f822bd2e
MD5 1231b169569931776185de2c5016c306
BLAKE2b-256 013effbf54ba12001b35001cb88de6c1ccc40094501a3059f22721c97d332c16

See more details on using hashes here.

File details

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

File metadata

  • Download URL: clease-0.11.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 1.9 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/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for clease-0.11.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a0c11d5f7dbffb1780eb9650d5a4b95d6d55c4c14b30bef223f2a6c16ef847b2
MD5 062ae43e96dea867327cafc5ebeec9be
BLAKE2b-256 c8a78b75c2a700d95878474da475d71d1aa93d27a731d4bc624309e17a18e09c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: clease-0.11.1-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl
  • Upload date:
  • Size: 1.9 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/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for clease-0.11.1-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 8dd27f429f415587c12b09c0ab4a69069ec7b23aeffa504f6a8f2bfb9e9ff845
MD5 7a111daeccafef7f778bb91758a55251
BLAKE2b-256 e49b3f8d3ce61d5da151c6c585e31e28ba89f16c0355f62efec7853348117489

See more details on using hashes here.

File details

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

File metadata

  • Download URL: clease-0.11.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 1.9 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/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for clease-0.11.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 eb3a89eeebee16a81653b4f50aa9db3d54b03275c73b7cbea67f1315baded693
MD5 a6e9f605fa4a338f6ae2c247f346cf00
BLAKE2b-256 187830442a81baaf873eee4921475a079c24252c77e580ff8931ab4393035f57

See more details on using hashes here.

File details

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

File metadata

  • Download URL: clease-0.11.1-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl
  • Upload date:
  • Size: 1.9 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/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for clease-0.11.1-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 bf618948d3bbaa4556c6a797d3488964601f525486300ed6503c1fc794d55465
MD5 516da0a56aa1dd05f0fe99e79862faed
BLAKE2b-256 8ec17808be4b5b4731c12cf7c037d7cdbeb06642d3a5fcf2302a45acbcd2a575

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