Skip to main content

CSSlib is an open-source code for building configuration search space (CSS) of disordered crystals, loading of the CSS dataset obtained, local/remote MPI or SLURM calculations and data visualization.

Project description

Welcome to CSSlib 👋

License Version

CSSlib

CSSlib is an open-source code for building configuration search space (CSS) of disordered crystals, loading of the CSS dataset obtained, local/remote MPI or SLURM calculations and data visualization.

Table of content

Installation

CSSlib can be installed through

  1. the pip package manager (in the virtual environment):
pip install csslib
  1. the git clone command:
git clone https://github.com/AIRI-Institute/CSSlib.git CSSlib
cd CSSlib
pip install .
  1. the uv package manager:
uv venv .venv
source .venv/bin/activate
uv pip install csslib

CSSlib by default requires Supercell program. Details on Supercell installation can be found at the corresponding website.

As a calculator for quantum mechanical calculations, CSSlib assumes the use of the VASP (Vienna Ab initio Simulation Package) software package. Also there is an optional dependency for the QuantumEspresso simulation package which can be installed after the normal installation as:

pip install --group espresso .

or

uv sync --group espresso

Contributors

  • Aleksey Krautsou
  • Aleksandr Solovykh

Tutorial

The best way to learn how to use CSSlib is through the tutorial notebook located at the tests directory or at the google collab.

References & Citing

If you use this code, please consider citing works that actively used the CSS approach, which resulted in the creation of this library:

  1. A.V. Krautsou, I.S. Humonen, V.D. Lazarev, R.A. Eremin, S.A. Budennyy
    "Impact of crystal structure symmetry in training datasets on GNN-based energy assessments for chemically disordered CsPbI3"
    https://doi.org/10.1038/s41598-025-92669-3
  2. N.A. Matsokin, R.A. Eremin, A.A. Kuznetsova, I.S. Humonen, A.V. Krautsou, V.D. Lazarev, Y.Z. Vassilyeva, A.Y. Pak, S.A. Budennyy, A.G. Kvashnin, A.A. Osiptsov
    "Discovery of chemically modified higher tungsten boride by means of hybrid GNN/DFT approach"
    https://doi.org/10.1038/s41524-025-01628-z
  3. R.A. Zaripov, R.A. Eremin, I.S. Humonen, A.V. Krautsou, V.V. Kuznetsov, K.E. GermanS, S.A. Budennyy, S.V. Levchenko
    "First-principles data-driven approach for assessment of stability of Tc-C systems"
    https://doi.org/10.1016/j.actamat.2025.121704

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

csslib-1.2.tar.gz (52.5 kB view details)

Uploaded Source

Built Distribution

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

csslib-1.2-py3-none-any.whl (57.2 kB view details)

Uploaded Python 3

File details

Details for the file csslib-1.2.tar.gz.

File metadata

  • Download URL: csslib-1.2.tar.gz
  • Upload date:
  • Size: 52.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for csslib-1.2.tar.gz
Algorithm Hash digest
SHA256 7e6677c0fefd452efe891c6fd2b184979b0c7888cbe48b046a368f6ac153cbf7
MD5 756aa2e9992007e751fa38151e32d853
BLAKE2b-256 d80ba116acea1120f6d019d531139647cb3efdeda6b42012833261ec8bbbb9a3

See more details on using hashes here.

File details

Details for the file csslib-1.2-py3-none-any.whl.

File metadata

  • Download URL: csslib-1.2-py3-none-any.whl
  • Upload date:
  • Size: 57.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for csslib-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 deb7a777179cb934b6381089b2bae075f2575f66a7f2cad10d156319078a492f
MD5 bcc3da1f7fe5db177ff0ff1beabf9830
BLAKE2b-256 0437fde7768495fa1e11a5e463e57a89dc2684ce41bcbf9d68cf5146fb59406a

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