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.3.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.3-py3-none-any.whl (57.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: csslib-1.2.3.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.3.tar.gz
Algorithm Hash digest
SHA256 10d95f95659e7cc87050bba4c5ca740f1715a50878c5b141a3ca0bc57d22c836
MD5 fc3829fa48ac7c9a8a3d3d146e834566
BLAKE2b-256 701e00aa471c4b6cf4dc8d5d9f3e801f9e34561f0ec18c088a6589a0638782c9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: csslib-1.2.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 55a1b3f0cf380887b6d672f422cf5b50900d66099b931a87de325d171d5ce5bf
MD5 f9c9a9aa0f12dd3e36451647e3ba344f
BLAKE2b-256 8afd1d6ebf9775435cf9a27adbfe95726aa9c7c4600cb49f692dc938ed4b1af1

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