Skip to main content

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.89 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.2

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

Source distribution (sdist)

Source distribution for axtb 0.1.2
File Size Uploaded Provenance Actions
axtb-0.1.2.tar.gz 1.1 MB With provenance Details for axtb-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for axtb 0.1.2
File Interpreter ABI Platform Actions
axtb-0.1.2-cp310-abi3-manylinux_2_28_x86_64.whl CPython 3.10 abi3 Linux glibc 2.28+ x86-64 Details for axtb-0.1.2-cp310-abi3-manylinux_2_28_x86_64.whl

Total release size: 4.4 MB

Release files / axtb-0.1.2.tar.gz

Download URL axtb-0.1.2.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
2439ac101b7a6830a421b8a3add54cc4d108715f1229b69148ce07e77c89d394
BLAKE2b-256 checksum
How to use checksums
5b9a4eb01c8d13f80bf7c9964dcd951c5e31167990c988be9cddde2a039c9634
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 17, 2026.

Transparency log

Release files / axtb-0.1.2-cp310-abi3-manylinux_2_28_x86_64.whl

Download URL axtb-0.1.2-cp310-abi3-manylinux_2_28_x86_64.whl
Size 3.3 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
ead34974bb96b934b51b478b646eabc31f9a2c24572627f165abe136c58ba13c
BLAKE2b-256 checksum
How to use checksums
2fc7941984bf93e89944cd00bc8d86e9be2fe93581fd7083df503ce511ac1aa4
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 17, 2026.

Transparency log

Security for axtb 0.1.2

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 axtb-0.1.2.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 17, 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.

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