Skip to main content

🧰 STB-SUITE — Siesta Toolbox Suite

A unified command-line toolkit for SIESTA DFT workflows

Status License Python Compatibility Documentation

Authors: project lead and collaborators

📚 Documentation: https://stb-suite.github.io/stb/ — a guide for every tool and a reference page for every command.


📖 Overview

STB-SUITE (Siesta Toolbox Suite) is a collection of command-line tools that assist users of the SIESTA DFT code through every step of a project: generating inputs, building and converting structures, post-processing results, and running complete prepare-and-analyze workflows for a specific property.

Every tool is a standalone stb-* command, and stb-suite is an interactive menu that wraps all of them.

SIESTA itself is not bundled: the Inputs and Workflow tools write ready-to-run calculation folders, and the Analysis tools read what SIESTA produced.


🚀 What's inside

The menu groups the tools into seven categories. Each tool has a guide with a runnable example in examples/ (published on the documentation site).

# Category What it's for Tools
1 Inputs Set up a SIESTA run stb-inputfile stb-pseudo stb-kgrid stb-kpath stb-dftu stb-fetch stb-mlrelax
2 Analysis Analyze simulation results stb-bands stb-dos stb-convdos stb-structural stb-symmetry stb-bader stb-workfunction stb-density stb-xrd stb-fatbands stb-stm stb-wfdensity stb-sts stb-coop stb-ipr stb-effmass stb-spintexture stb-aimdAnalysis stb-nativecharges
3 Utils File management and format conversion stb-translate stb-clean stb-cube stb-siesta2wtb stb-ani2traj stb-status stb-archive
4 Structures Build, generate or transform structure files stb-2Dstacking stb-supercell stb-slab stb-nanotube stb-defect stb-sqs stb-unitcell stb-crystalbuilder stb-passivate stb-molecule stb-amorphize stb-crystalcast
5 Workflow Paired preparation + analysis pipelines for one property Stress-strain, elastic constants, cohesive energy, phonons, convergence tests, structure solution (XRD), Hubbard U, adsorption, NEB, stacking fault, Raman, IR, GQCA, optical properties, equation of state, charge density difference, Hirshfeld-I
6 Catalysis Catalysis workflows (HER, OER) Provided by an extension package; the section is empty without it
7 ML Simulations Train a MACE force field on SIESTA data, and run simulations with it or with the foundation model Custom ML force field (workflow), stb-mlmd stb-mlphonons stb-mlelastic stb-mlneb stb-mladsorb

A workflow is several commands used in order (for example stb-strain then stb-strainAnalysis); the documentation lists every command of each one.


🧠 Requirements

  • Python 3.11 to 3.12
  • Installed automatically: numpy, ase, matplotlib, pymatgen, spglib, sisl, pybader, scipy, phonopy, pandas, icet, pyxtal
  • Optional ml extra (torch, mace-torch, torch-dftd) for the ML tools — see below

📦 Installation

From PyPI:

pip install stb-suite              # the suite
pip install "stb-suite[ml]"        # with the optional ML tools (PyTorch, mace-torch)

From source (git clone -b dev ... for the development version):

git clone https://github.com/stb-suite/stb.git
cd stb/stb-suite
pip install .                      # or ".[ml]"

▶️ Usage

Launch the interactive menu, then browse the categories or type a tool's code (for example 1.3, or 5.1.2 for a workflow stage):

stb-suite

Or run any tool directly:

stb-inputfile structure.fdf --type relax
stb-kgrid -f structure.fdf -d 0.2
stb-symmetry --file structure.fdf --format fdf

Every tool prints its options with --help (for example stb-kgrid --help).


🗂️ Repository layout

  • stb-suite/ — the Python package (src/stb/) and its packaging metadata
  • examples/ — one tutorial per tool, with a runnable script and small input files
  • test/ — the developers' smoke tests
  • docs/, mkdocs.yml — the documentation site, built from examples/

🧾 License

Distributed under the MIT License (see LICENSE).

Metadata

Release files for stb-suite 2.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stb-suite 2.1.0
File Size Uploaded Provenance Actions
stb_suite-2.1.0.tar.gz 31.5 MB With provenance Details for stb_suite-2.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for stb-suite 2.1.0
File Interpreter ABI Platform Actions
stb_suite-2.1.0-py3-none-any.whl Python 3 none any Details for stb_suite-2.1.0-py3-none-any.whl

Total release size: 63.6 MB

Release files / stb_suite-2.1.0.tar.gz

Download URL stb_suite-2.1.0.tar.gz
Size 31.5 MB
Tags Source
SHA-256 checksum
How to use checksums
a2114984a0d929c66201d66981892b1a8b22dfe426d2ae3c1a3123d5bd0ca7aa
BLAKE2b-256 checksum
How to use checksums
6d490bdb812e72044790a10d32db3006646a7762fde9e1bdd26b8c16526ee617
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Release files / stb_suite-2.1.0-py3-none-any.whl

Download URL stb_suite-2.1.0-py3-none-any.whl
Size 32.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
058d6a991b21f7c1623527117309d7c5ca2187924b91b740893644aae089b77a
BLAKE2b-256 checksum
How to use checksums
7206a33bc9318dc300a86e125a2644509ecc7a3078f3922398aa334de2914400
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Security for stb-suite 2.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for stb_suite-2.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page