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.

Documentation

The updated version of the CLEASE documentation is now available at:

https://www.clease.org

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

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

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

clease-1.2.0-cp314-cp314-win_amd64.whl (545.7 kB view details)

Uploaded CPython 3.14Windows x86-64

clease-1.2.0-cp314-cp314-musllinux_1_2_x86_64.whl (3.5 MB view details)

Uploaded CPython 3.14musllinux: musl 1.2+ x86-64

clease-1.2.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

clease-1.2.0-cp313-cp313-win_amd64.whl (536.0 kB view details)

Uploaded CPython 3.13Windows x86-64

clease-1.2.0-cp313-cp313-musllinux_1_2_x86_64.whl (3.5 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

clease-1.2.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

clease-1.2.0-cp312-cp312-win_amd64.whl (536.9 kB view details)

Uploaded CPython 3.12Windows x86-64

clease-1.2.0-cp312-cp312-musllinux_1_2_x86_64.whl (3.5 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

clease-1.2.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

clease-1.2.0-cp311-cp311-win_amd64.whl (536.2 kB view details)

Uploaded CPython 3.11Windows x86-64

clease-1.2.0-cp311-cp311-musllinux_1_2_x86_64.whl (3.5 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

clease-1.2.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

clease-1.2.0-cp310-cp310-win_amd64.whl (536.0 kB view details)

Uploaded CPython 3.10Windows x86-64

clease-1.2.0-cp310-cp310-musllinux_1_2_x86_64.whl (3.5 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

clease-1.2.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

File details

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

File metadata

  • Download URL: clease-1.2.0.tar.gz
  • Upload date:
  • Size: 549.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for clease-1.2.0.tar.gz
Algorithm Hash digest
SHA256 c03e902177f41fcfd4d3123f5aec59c6fcc9cc18014260641b018584ad69fcb3
MD5 a6a676ebd6d755aba08cc33897bb933e
BLAKE2b-256 bd76530dd0d859e03d578ec48f1af85d26538d15c3273bbf2ced54255919dfe4

See more details on using hashes here.

File details

Details for the file clease-1.2.0-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: clease-1.2.0-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 545.7 kB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for clease-1.2.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 6b3b7993f4a476f9adac7363c78e79519c9e4a8c30cc738bc131c8ad5ffb920e
MD5 3cb30b64cbcc0b67d01ceba625d3b0f5
BLAKE2b-256 821b8a5039ece80114f9ee6c5ed73629ddc2b05e31a8546ef08e569eee019d77

See more details on using hashes here.

File details

Details for the file clease-1.2.0-cp314-cp314-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for clease-1.2.0-cp314-cp314-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6b82415e61d10ba8e703afd5c33e6b6858c5063dd01b77ebb881a60e25ebc04f
MD5 2d00e40c4f7dfe2689d1b4a03c7468ff
BLAKE2b-256 d408876d45cd60d27e24a284e6c272bd05705e553eee564276690e3bcf512851

See more details on using hashes here.

File details

Details for the file clease-1.2.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for clease-1.2.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bc6891034556bbb190d969c9c4bede6fe778573e567de4b5077946c9020874cb
MD5 833973eafa8ce89f6a4b16a06e11d000
BLAKE2b-256 3dd49586484a8d9ce8a2673eda2f8d240a623c2305849f50baad71fc31c301af

See more details on using hashes here.

File details

Details for the file clease-1.2.0-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: clease-1.2.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 536.0 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for clease-1.2.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 2d1628060a5d56644ad41207de91ac85e93c3712866a5960c64b93db5ba8c2bd
MD5 7453e547b2ff792a5f6bcb1584a775d6
BLAKE2b-256 927cf658485806e454b484eefb8266823026e43ef2379637a23796adec5598f4

See more details on using hashes here.

File details

Details for the file clease-1.2.0-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for clease-1.2.0-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8f9e105b47cc2fa81165fc6ee46f1ee464ac8fd591545019525be84a6c437de5
MD5 2c27c562765927058958d8a56eeb53f4
BLAKE2b-256 8a96873a611fd7f13c4d8633ca925ea81d1ef93655c769a2b65a616daf53acc8

See more details on using hashes here.

File details

Details for the file clease-1.2.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for clease-1.2.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4348ce50d7b2720a4a249efa895e238b90a8e28e98aac12db6d75e559311cc62
MD5 b0a5480a10ec258a2d71000432ecf429
BLAKE2b-256 d6b1f84581f3240fedb2e527db7d32eeb9652fe2a924b5551ce73710f6d84ccb

See more details on using hashes here.

File details

Details for the file clease-1.2.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: clease-1.2.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 536.9 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for clease-1.2.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 625fe87e681ce41837a0fb5228a439480ad20ede10e317319583acc62918680f
MD5 9ca56b12e303d81785a6ea2956b59528
BLAKE2b-256 2228dbcaedf1d84cfda168561052ec68ae73c16b99b5813cd39cb46c9c854357

See more details on using hashes here.

File details

Details for the file clease-1.2.0-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for clease-1.2.0-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1343971024108a59b1a37f18b1c936d364618190c785aeb72e561bfa900fed1b
MD5 735f4b3f50cf86483fcde3c763169d12
BLAKE2b-256 4f9a97a34c8106f4284aa38907efbe576f968880053dd36e2c57cf22bc127566

See more details on using hashes here.

File details

Details for the file clease-1.2.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for clease-1.2.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9f9a453d8d55b5c0d7052ad051d0e1acec368d41752159020f722303cdc0e3e9
MD5 8a4d4d65163ffd7dc6cd86e6d6d23ae6
BLAKE2b-256 063ad8b11db9f4afe87b6044698da395e97d1718c0a72e46b356ae8ab0ac260e

See more details on using hashes here.

File details

Details for the file clease-1.2.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: clease-1.2.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 536.2 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for clease-1.2.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9ea277da0fbce93d7c9f3481f191bebf9af8ab99b0d6ed62e16ef604e07ca0dd
MD5 99419cc1b4704b478ca458c34264354c
BLAKE2b-256 4c36bcc172252ce3c573f73186253d612cb70456c914c3d912176e3306a45a1c

See more details on using hashes here.

File details

Details for the file clease-1.2.0-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for clease-1.2.0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a6aef74258dcfc20a7ba4ecd9bd90a45a5106fc94acd6c6a80d1c0569186893b
MD5 33f3d0b8c711036fa65f3821e7730479
BLAKE2b-256 4fe2fbad3d2cf8d3bc1d328a8a32416f57d0a58bc742e189981366965507e6e6

See more details on using hashes here.

File details

Details for the file clease-1.2.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for clease-1.2.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8ed3acb41806742778fe1d8b2212d65e7b331772a6d1dd442f11bb8640b06e82
MD5 1f2baf25211ec282d2dbf85495f2743e
BLAKE2b-256 3c7f3a59c4890bd9b9786a9864dd67683b833d078e6df98b85d98139f6702e11

See more details on using hashes here.

File details

Details for the file clease-1.2.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: clease-1.2.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 536.0 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for clease-1.2.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 f4ed2b0fd64c752d96bbe2159d8f0d7e0f514e3d2c58c1e60cd84960b5d6d4a9
MD5 f9d337239d0fd2d2f9dcf493bf0158f9
BLAKE2b-256 d38fd4762f84d86f45b372c9d36323d7406d5fa99595b0acfd4ba0d2f92efaa4

See more details on using hashes here.

File details

Details for the file clease-1.2.0-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for clease-1.2.0-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c2f621bb2381076675511fb00fdfd393871d8e7bbd324b2553d246de6d5f7e6c
MD5 51bb50e3f9547ac0ad54debb8d2f04cf
BLAKE2b-256 8af259154a84ccc1ff7289a3563a12c1aaa609aeff64c2e2ea8f932a3d5d998d

See more details on using hashes here.

File details

Details for the file clease-1.2.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for clease-1.2.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0fa4a89021eb8511207755b961f710f3cd0cd10e3f92f1fe5066336a3fc5363b
MD5 ab9e60ddac0e88af4b03b612d0a6da00
BLAKE2b-256 f041bc6f701bcd5907dc440342e120a25c90c2ff026f9257d5de36d9fbb4ff2b

See more details on using hashes here.

Supported by

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