Skip to main content

Python API for the extended tight binding program

Conda Version License Documentation Status LGTM Codecov

This repository hosts the Python API for the extended tight binding (xtb) program.

The idea of this project is to provide the xtb API for Python without requiring an additional xtb installation.

Installation

Depending on what you plan to do with xtb-python there are two recommended ways to install.

  • If you plan to use this project in your workflows, follow the Conda Installation section.

  • If you plan to develop on this project, proceed with the Build from Source section.

For more details visit the documentation.

Conda Installation

Installing xtb-python from the conda-forge channel can be achieved by adding conda-forge to your channels with:

conda config --add channels conda-forge

Once the conda-forge channel has been enabled, xtb-python can be installed with:

conda install xtb-python

It is possible to list all of the versions of xtb-python available on your platform with:

conda search xtb-python --channel conda-forge

Build from Source

The project is build with meson, the exact dependencies are defined by the xtb project, in summary it requires a Fortran and a C compiler as well as a linear algebra backend. Make yourself familiar with building xtb first!

Additionally this project requires a development version of Python installed. Also ensure that you have the numpy and cffi packages installed, configure the build of the extension with.

All steps to build the project are automated using

pip install .

To pass options to the meson build of xtb use --config-setting setup-args="-Dxtb-6.5.1:la_backend=openblas" to set for example the linear algebra backend to OpenBLAS.

Contributing

Contributions to this open source project are very welcome. Before starting, review our contributing guidelines first, please.

License

xtb-python is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

xtb-python is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See the GNU Lesser General Public License for more details.

Metadata

Release files for xtb 22.1

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

Source distribution (sdist)

Source distribution for xtb 22.1
File Size Uploaded Provenance
xtb-22.1.tar.gz 62.8 kB Without provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for xtb 22.1
File
xtb-22.1-cp311-cp311-manylinux_2_12_x86_64.manylinux2010_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.12+ x86-64 Details
xtb-22.1-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.12+ x86-64 Details
xtb-22.1-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.12+ x86-64 Details
xtb-22.1-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.12+ x86-64 Details
xtb-22.1-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-64 Details

Total release size: 86.9 MB

Release files / xtb-22.1.tar.gz

Download URL xtb-22.1.tar.gz
Size 62.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7a59e7b783fc6e8b7328f55211de681e535a83991b07c4bab73494063f5e9018
BLAKE2b-256 checksum
How to use checksums
a836a0b21a9efe55fbdea9d9a3ffc31046cf5291d15da52ea36967d37104c3b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.8

Release files / xtb-22.1-cp311-cp311-manylinux_2_12_x86_64.manylinux2010_x86_64.whl

Download URL xtb-22.1-cp311-cp311-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Size 17.4 MB
Tags CPython 3.11 Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
943229d4e9665f7d8c63bf6461805bbea927b13b525ac6be7239461c6b2c6640
BLAKE2b-256 checksum
How to use checksums
350ca8f709ad11eed9e904fb94c5b5c6d9fa25735080cd551e1dbfc6d9a2d35d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.8

Release files / xtb-22.1-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl

Download URL xtb-22.1-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Size 17.4 MB
Tags CPython 3.10 Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
4baa584e7705f6dc3845bc5be2d1aef0c8e18fbc23aacf3c666c2fd8eb451516
BLAKE2b-256 checksum
How to use checksums
3a90eccfa767cad0884d0048a8384a56b9307cae8450b6fd507adffe39e61d50
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.8

Release files / xtb-22.1-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl

Download URL xtb-22.1-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Size 17.4 MB
Tags CPython 3.9 Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
622bc34e9f9ec295e5fb0bf4a556787e620eae8b2804197871edec5174309e1d
BLAKE2b-256 checksum
How to use checksums
7fd30695f6470d51baf43eb55c6713d3b4574a4bf44caaae497c59a509988bec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.8

Release files / xtb-22.1-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl

Download URL xtb-22.1-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Size 17.4 MB
Tags CPython 3.8 Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
f625b4f3539d7f3d232f69d1a21f977c39fe42b1024d82a6c76878b70575e336
BLAKE2b-256 checksum
How to use checksums
03aefa23e533f7692cf8d120888a6801aace5cb53a9d4c9916c9bd4e205db77d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.8

Release files / xtb-22.1-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl

Download URL xtb-22.1-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Size 17.4 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
3bedd0c98161e8fc026c0ea067096a46ecba721a35ca1975962d2bcf4938cda6
BLAKE2b-256 checksum
How to use checksums
f4a769cc113af4ef7876f8e061d97cfc052c80cb04a0e913c50935241a19d65e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.8

Security for xtb 22.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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

22.1 This release

6 release files No 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