axtb
Extended tight binding (GFN2-xTB; g-xTB v1.1 and 2.0.1) and the GFN-FF force field, in-process from Python: energies, analytic gradients, Hessians with vibrational analysis and thermochemistry, implicit solvation (ALPB/GBSA for GFN2-xTB, and for g-xTB through a composite), Molden files, bond orders. Molecules only. The engine is axtb, written in Rust.
In a reference program's conventions axtb reproduces that program's numbers to the last digits (xtb 6.8.0 and 6.7.1, tblite 0.8.0, the g-xTB 1.1.0 and 2.0.1 programs); its default conventions use CODATA 2022 constants and correct the program bugs found on the way. Calculations run on the threads you pass (default 1) and never spawn more, so many can run side by side.
import axtb
pos = [[0, 0, 0.22], [0, 1.43, -0.89], [0, -1.43, -0.89]] # bohr, any array-like
r = axtb.singlepoint([8, 1, 1], pos, method="gfn2", gradient=True)
r["energy"], r["gradient"]
calc = axtb.Calculator("gxtb-v2.0.1", [8, 1, 1], pos, threads=4) # reuses setup and wavefunction
h = calc.hessian(pos) # analytic Hessian and its analysis
h["frequencies"], h["ir_intensities"], h["thermo"]["free_energy"]
With pip install "axtb[qc]" the package also registers a codec for qccodec, so qccompute
runs axtb like any other program.
Requirements. The wheels are for x86-64 Linux with glibc 2.28 or newer and Python 3.10 or
newer, and need an x86-64-v3 CPU (AVX2, FMA: Intel since Haswell, AMD since Excavator).
import axtb checks the CPU and raises ImportError on one without these instructions. On
other platforms pip builds the package from the source distribution, which needs Rust 1.99 or
newer.
Documentation. The README describes the methods, conventions and settings; docs/validation.md has the agreement with each program; the changelog lists what each release contains.
License. GPL-3.0-only (COPYING), because the package includes g-xTB, whose parameters are
GPL-3.0 (grimme-lab/g-xtb). The rest of axtb is LGPL-3.0-or-later (COPYING.LESSER), and a
build without g-xTB (maturin build --no-default-features) is LGPL-3.0-or-later. LICENSE
explains the split; NOTICE credits the upstream work (xtb, tblite, dftd4, mctc-lib,
multicharge, g-xTB).
Metadata
Release files for axtb 0.1.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 | Provenance | Actions |
|---|---|---|---|---|
| axtb-0.1.0.tar.gz | 1.1 MB | With provenance | Details for axtb-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| axtb-0.1.0-cp310-abi3-manylinux_2_28_x86_64.whl | CPython 3.10 | abi3 | Linux glibc 2.28+ x86-64 | Details for axtb-0.1.0-cp310-abi3-manylinux_2_28_x86_64.whl |
Total release size: 4.3 MB
Release files / axtb-0.1.0.tar.gz
| Download URL | axtb-0.1.0.tar.gz |
|---|---|
| Size | 1.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9b00ac19890de20c5e7f6699819719be3568c46eda265390987b8180fe3e0c05
|
|
BLAKE2b-256 checksum How to use checksums |
5a687bb96d5b3935594e0df0427b5770eb3d55e0e9ade8847b505582cdc427ef
|
| 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 7, 2026.
Transparency logRelease files / axtb-0.1.0-cp310-abi3-manylinux_2_28_x86_64.whl
| Download URL | axtb-0.1.0-cp310-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 3.2 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
892a9d7d7287b87a0d03bb3a4bc97b8d0992882f85a900457ca9890b193abb9f
|
|
BLAKE2b-256 checksum How to use checksums |
e2a79f732a55c116d589fc1158ed84ab4ea712a8c6e0e197e63cf02c6c024d61
|
| 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 7, 2026.
Transparency logSecurity for axtb 0.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.
Attestation for axtb-0.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 7, 2026.
Transparency logA 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.