Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

axtb

Extended tight binding (GFN2-xTB; g-xTB v1.1 and 2.0.1) and the GFN-FF force field, in process, as a program of the qc* stack: a qcdata.ProgramInput goes in, a qcdata.ProgramOutput comes out. Energies, analytic gradients, Hessians with vibrational analysis and thermochemistry, implicit solvation (ALPB/GBSA for GFN2-xTB, and for g-xTB through a composite), orbitals, populations and multipoles, 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. A calculation runs on exactly the threads it is given and never spawns more, so many can run side by side.

import axtb
from qcdata import ProgramInput, Structure

water = Structure(symbols=["O", "H", "H"], geometry=[[0, 0, 0.22], [0, 1.43, -0.89], [0, -1.43, -0.89]])  # bohr
inp = ProgramInput(program="axtb", calctype="gradient", structure=water,
                   model={"method": "gxtb-v2.0.1"}, keywords={"threads": 4})
out = axtb.compute(inp)                      # raises qcdata.ProgramError on failure
out.results.energy, out.results.gradient

with axtb.Session(inp) as s:                 # one molecule at many geometries, warm-started
    frame = s.compute(water.geometry + 0.01)
    frame.results.energy, frame.record["warm_start"]

hess = axtb.compute(ProgramInput(program="axtb", calctype="hessian", structure=water, model={"method": "gfn2"}))
va = hess.results.vibrational_analysis      # frequencies (cm⁻¹), normal modes, IR intensities
hess.results.thermochemistry[-1].total.gibbs

qccompute finds axtb through its entry point (axtb.program), with no import of qccompute in axtb: qccompute.compute(inp), qccompute.session(inp) and python -m qccompute.serve axtb run it like any other program.

Install. This is a pre-release: pip install --pre axtb (or pip install axtb==0.2.0a1). It needs qcdata 0.24 (a pre-release, which pip installs with it) and numpy. The wheels are for x86-64 Linux with glibc 2.28 or newer and Python 3.11 or newer (one abi3 wheel), 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. docs/python.md is the reference of the Python interface: keywords, outputs, the record, errors, sessions, threads, accuracy targets. The README describes the methods, conventions and settings; docs/validation.md has the agreement with each program; the changelog lists what each release contains, with the migration from axtb 0.1's singlepoint and Calculator.

License. LGPL-3.0-or-later (COPYING.LESSER, with COPYING), g-xTB included: g-xTB itself is GPL-3.0 (grimme-lab/g-xtb), and its authors gave explicit permission to distribute axtb's implementation, with the g-xTB parameters, under LGPL-3.0-or-later. LICENSE lists the parts; NOTICE quotes the permission and credits the upstream work (xtb, tblite, dftd4, mctc-lib, multicharge, g-xTB).

Metadata

Release files for axtb 0.2.0a3

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.2.0a3
File Size Uploaded Provenance Actions
axtb-0.2.0a3.tar.gz 1.3 MB With provenance Details for axtb-0.2.0a3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for axtb 0.2.0a3
File Interpreter ABI Platform Actions
axtb-0.2.0a3-cp311-abi3-manylinux_2_28_x86_64.whl CPython 3.11 abi3 Linux glibc 2.28+ x86-64 Details for axtb-0.2.0a3-cp311-abi3-manylinux_2_28_x86_64.whl

Total release size: 4.7 MB

Release files / axtb-0.2.0a3.tar.gz

Download URL axtb-0.2.0a3.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
f265f1a120ca486b22dfb2f12f724781764cbfe0ca98dabcda8781f9e7115811
BLAKE2b-256 checksum
How to use checksums
241c1b6b1fb395c0a8f9cc68036ec8782d523bb2b8fb5f5f8ddee20ff6864b4c
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 18, 2026.

Transparency log

Release files / axtb-0.2.0a3-cp311-abi3-manylinux_2_28_x86_64.whl

Download URL axtb-0.2.0a3-cp311-abi3-manylinux_2_28_x86_64.whl
Size 3.4 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
d7be9accbdc5947e4221924bd6b2cce30184dd8e31dee858f674a7633ce686e8
BLAKE2b-256 checksum
How to use checksums
cbe2ed2921c521b05a158ee1d66175b3a486d56eec9a889678fafde4785d24eb
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 18, 2026.

Transparency log

Security for axtb 0.2.0a3

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.2.0a3.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 18, 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