CLEASE
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.
Documentation
The updated version of the CLEASE documentation is now available at:
Please visit the new site for the latest documentation, tutorials, and resources.
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
Metadata
Release files for clease 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| clease-1.2.0.tar.gz | 549.7 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| clease-1.2.0-cp314-cp314-win_amd64.whl | CPython 3.14 | CPython 3.14 | Windows x86-64 | Details |
| clease-1.2.0-cp314-cp314-musllinux_1_2_x86_64.whl | CPython 3.14 | CPython 3.14 | Linux musl 1.2+ x86-64 | Details |
| clease-1.2.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl | CPython 3.14 | CPython 3.14 | Linux glibc 2.24+ x86-64, Linux glibc 2.28+ x86-64 | Details |
| clease-1.2.0-cp313-cp313-win_amd64.whl | CPython 3.13 | CPython 3.13 | Windows x86-64 | Details |
| clease-1.2.0-cp313-cp313-musllinux_1_2_x86_64.whl | CPython 3.13 | CPython 3.13 | Linux musl 1.2+ x86-64 | Details |
| clease-1.2.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl | CPython 3.13 | CPython 3.13 | Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 | Details |
| clease-1.2.0-cp312-cp312-win_amd64.whl | CPython 3.12 | CPython 3.12 | Windows x86-64 | Details |
| clease-1.2.0-cp312-cp312-musllinux_1_2_x86_64.whl | CPython 3.12 | CPython 3.12 | Linux musl 1.2+ x86-64 | Details |
| clease-1.2.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl | CPython 3.12 | CPython 3.12 | Linux glibc 2.24+ x86-64, Linux glibc 2.28+ x86-64 | Details |
| clease-1.2.0-cp311-cp311-win_amd64.whl | CPython 3.11 | CPython 3.11 | Windows x86-64 | Details |
| clease-1.2.0-cp311-cp311-musllinux_1_2_x86_64.whl | CPython 3.11 | CPython 3.11 | Linux musl 1.2+ x86-64 | Details |
| clease-1.2.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl | CPython 3.11 | CPython 3.11 | Linux glibc 2.24+ x86-64, Linux glibc 2.28+ x86-64 | Details |
| clease-1.2.0-cp310-cp310-win_amd64.whl | CPython 3.10 | CPython 3.10 | Windows x86-64 | Details |
| clease-1.2.0-cp310-cp310-musllinux_1_2_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux musl 1.2+ x86-64 | Details |
| clease-1.2.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux glibc 2.24+ x86-64, Linux glibc 2.28+ x86-64 | Details |
Total release size: 33.4 MB
Release files / clease-1.2.0.tar.gz
| Download URL | clease-1.2.0.tar.gz |
|---|---|
| Size | 549.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c03e902177f41fcfd4d3123f5aec59c6fcc9cc18014260641b018584ad69fcb3
|
|
BLAKE2b-256 checksum How to use checksums |
bd76530dd0d859e03d578ec48f1af85d26538d15c3273bbf2ced54255919dfe4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Release files / clease-1.2.0-cp314-cp314-win_amd64.whl
| Download URL | clease-1.2.0-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 545.7 kB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
6b3b7993f4a476f9adac7363c78e79519c9e4a8c30cc738bc131c8ad5ffb920e
|
|
BLAKE2b-256 checksum How to use checksums |
821b8a5039ece80114f9ee6c5ed73629ddc2b05e31a8546ef08e569eee019d77
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.6
|
Release files / clease-1.2.0-cp314-cp314-musllinux_1_2_x86_64.whl
| Download URL | clease-1.2.0-cp314-cp314-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | CPython 3.14 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
6b82415e61d10ba8e703afd5c33e6b6858c5063dd01b77ebb881a60e25ebc04f
|
|
BLAKE2b-256 checksum How to use checksums |
d408876d45cd60d27e24a284e6c272bd05705e553eee564276690e3bcf512851
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / clease-1.2.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
| Download URL | clease-1.2.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.5 MB |
| Tags | CPython 3.14 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
bc6891034556bbb190d969c9c4bede6fe778573e567de4b5077946c9020874cb
|
|
BLAKE2b-256 checksum How to use checksums |
3dd49586484a8d9ce8a2673eda2f8d240a623c2305849f50baad71fc31c301af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / clease-1.2.0-cp313-cp313-win_amd64.whl
| Download URL | clease-1.2.0-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 536.0 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
2d1628060a5d56644ad41207de91ac85e93c3712866a5960c64b93db5ba8c2bd
|
|
BLAKE2b-256 checksum How to use checksums |
927cf658485806e454b484eefb8266823026e43ef2379637a23796adec5598f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.6
|
Release files / clease-1.2.0-cp313-cp313-musllinux_1_2_x86_64.whl
| Download URL | clease-1.2.0-cp313-cp313-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | CPython 3.13 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
8f9e105b47cc2fa81165fc6ee46f1ee464ac8fd591545019525be84a6c437de5
|
|
BLAKE2b-256 checksum How to use checksums |
8a96873a611fd7f13c4d8633ca925ea81d1ef93655c769a2b65a616daf53acc8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / clease-1.2.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
| Download URL | clease-1.2.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.5 MB |
| Tags | CPython 3.13 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
4348ce50d7b2720a4a249efa895e238b90a8e28e98aac12db6d75e559311cc62
|
|
BLAKE2b-256 checksum How to use checksums |
d6b1f84581f3240fedb2e527db7d32eeb9652fe2a924b5551ce73710f6d84ccb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / clease-1.2.0-cp312-cp312-win_amd64.whl
| Download URL | clease-1.2.0-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 536.9 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
625fe87e681ce41837a0fb5228a439480ad20ede10e317319583acc62918680f
|
|
BLAKE2b-256 checksum How to use checksums |
2228dbcaedf1d84cfda168561052ec68ae73c16b99b5813cd39cb46c9c854357
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.6
|
Release files / clease-1.2.0-cp312-cp312-musllinux_1_2_x86_64.whl
| Download URL | clease-1.2.0-cp312-cp312-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | CPython 3.12 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
1343971024108a59b1a37f18b1c936d364618190c785aeb72e561bfa900fed1b
|
|
BLAKE2b-256 checksum How to use checksums |
4f9a97a34c8106f4284aa38907efbe576f968880053dd36e2c57cf22bc127566
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / clease-1.2.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
| Download URL | clease-1.2.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.5 MB |
| Tags | CPython 3.12 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
9f9a453d8d55b5c0d7052ad051d0e1acec368d41752159020f722303cdc0e3e9
|
|
BLAKE2b-256 checksum How to use checksums |
063ad8b11db9f4afe87b6044698da395e97d1718c0a72e46b356ae8ab0ac260e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / clease-1.2.0-cp311-cp311-win_amd64.whl
| Download URL | clease-1.2.0-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 536.2 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
9ea277da0fbce93d7c9f3481f191bebf9af8ab99b0d6ed62e16ef604e07ca0dd
|
|
BLAKE2b-256 checksum How to use checksums |
4c36bcc172252ce3c573f73186253d612cb70456c914c3d912176e3306a45a1c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.6
|
Release files / clease-1.2.0-cp311-cp311-musllinux_1_2_x86_64.whl
| Download URL | clease-1.2.0-cp311-cp311-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | CPython 3.11 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
a6aef74258dcfc20a7ba4ecd9bd90a45a5106fc94acd6c6a80d1c0569186893b
|
|
BLAKE2b-256 checksum How to use checksums |
4fe2fbad3d2cf8d3bc1d328a8a32416f57d0a58bc742e189981366965507e6e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / clease-1.2.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
| Download URL | clease-1.2.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.5 MB |
| Tags | CPython 3.11 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
8ed3acb41806742778fe1d8b2212d65e7b331772a6d1dd442f11bb8640b06e82
|
|
BLAKE2b-256 checksum How to use checksums |
3c7f3a59c4890bd9b9786a9864dd67683b833d078e6df98b85d98139f6702e11
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / clease-1.2.0-cp310-cp310-win_amd64.whl
| Download URL | clease-1.2.0-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 536.0 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
f4ed2b0fd64c752d96bbe2159d8f0d7e0f514e3d2c58c1e60cd84960b5d6d4a9
|
|
BLAKE2b-256 checksum How to use checksums |
d38fd4762f84d86f45b372c9d36323d7406d5fa99595b0acfd4ba0d2f92efaa4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.6
|
Release files / clease-1.2.0-cp310-cp310-musllinux_1_2_x86_64.whl
| Download URL | clease-1.2.0-cp310-cp310-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | CPython 3.10 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
c2f621bb2381076675511fb00fdfd393871d8e7bbd324b2553d246de6d5f7e6c
|
|
BLAKE2b-256 checksum How to use checksums |
8af259154a84ccc1ff7289a3563a12c1aaa609aeff64c2e2ea8f932a3d5d998d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / clease-1.2.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
| Download URL | clease-1.2.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.5 MB |
| Tags | CPython 3.10 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
0fa4a89021eb8511207755b961f710f3cd0cd10e3f92f1fe5066336a3fc5363b
|
|
BLAKE2b-256 checksum How to use checksums |
f041bc6f701bcd5907dc440342e120a25c90c2ff026f9257d5de36d9fbb4ff2b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|