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

Uploaded Source

Built Distributions

clease-0.11.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686

clease-0.11.6-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-0.11.6-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl (2.1 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ i686

clease-0.11.6-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-0.11.6-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl (2.2 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ i686

clease-0.11.6-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-0.11.6-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-0.11.6.tar.gz.

File metadata

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

File hashes

Hashes for clease-0.11.6.tar.gz
Algorithm Hash digest
SHA256 a6c5921a2fce8b59fba0f96d42cf831e48199a77424b030cf99d95f4739b8259
MD5 d7079c9b6774102d006286caaf93476a
BLAKE2b-256 4e4bc85a2f581041245d238b872d1b18ec7e5f8a7b82a3fd01b013de5bb6148f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: clease-0.11.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 2.2 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-0.11.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2e0efd4b5df179d24a467340da6f7b35364ceb83274d00ba8bd99ecceb0698e8
MD5 5ce946e5172a7e01971853c7d89d4bf9
BLAKE2b-256 073ad20e9a007a24f295f0173429e9f7f90a1190f0609b711f4d22883308efe5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: clease-0.11.6-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-0.11.6-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 49bc323a8616985ebac228b8d270a4ba1718b504d36a497497462f1af70c57c2
MD5 599adcb379b1b5d6132aadc66e3203e9
BLAKE2b-256 5ec4793bacc9a0727a2aa7cf9713a5354e8558200a16ae023bf6aee0077edd3f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: clease-0.11.6-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-0.11.6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0933a21de1951b0f9f7d2f088612a7d37042b78d53b1904b9518ea2accfe891f
MD5 da7914543505a90ab4b3cd294f8cdbe5
BLAKE2b-256 db2ef6d4697aa4bda6d8c260f03f4431d855722df2ac91a4873e32cc8c0c61c7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: clease-0.11.6-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-0.11.6-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 eec1f22d99ff0b08f2c73b0803817e1f424b850de6ed019f18ac4678fd5e578a
MD5 962a9a601dbbc1a452af403a738c7bd1
BLAKE2b-256 042eea33d25f2f3118ce47fc19123ca98d6ef64e55bee6b1c17f864e419faedb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: clease-0.11.6-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-0.11.6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2d88aa8ef066a64ba92ac01757ce0324a4d05b4f9ffa3d48ac063a7b8fb06847
MD5 a3531c7aa56139faa0ef2f4ec9097033
BLAKE2b-256 9058890a883a56fa0c2bce79557f47bd7c8d86b1ffae08218396da996a610f64

See more details on using hashes here.

File details

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

File metadata

  • Download URL: clease-0.11.6-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl
  • Upload date:
  • Size: 2.2 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-0.11.6-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 71d25ac761bf07bdb98a1f344f4c4a3422ed63c70ef99d1915f3df0ce8add1a0
MD5 77a7cad154872faae618dc1d767cff23
BLAKE2b-256 1c95b4067ce4cf2054d340fe8079f6ac6d4fed3cf9d5fa777f23c0e2ca0e1b18

See more details on using hashes here.

File details

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

File metadata

  • Download URL: clease-0.11.6-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-0.11.6-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 85e6f740429e95d0a3df607ac0b8f5f9055cad630cd7bbc6126c201d001607ab
MD5 680eaba41d7b25c4e21294ca2b3fd8ee
BLAKE2b-256 cd4c929b7279320340863d6563f63db26aaae722b0cc9ec178c164c6765589f7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: clease-0.11.6-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-0.11.6-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 3cb414bd06b7babf05de571b6315fc589e181ef40fe603c8e218f06cd8ec32cb
MD5 11235b6249f951c93b00079e8bcb01f4
BLAKE2b-256 3fba8e74689ae1e7f1c8e4a2c72250d98e578bd49f92f9a8beaf860cf8416bef

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