libint2-python
Python bindings for libint2 - a high-performance library for computing molecular integrals.
Installation
Install via pip:
pip install libint2
This installs the pre-compiled binary wheel which includes the libint2 library and standard basis sets.
Usage
import libint2
import numpy as np
# Initialize library
print(f"Using libint2 version: {libint2.LIBINT_VERSION}")
print(f"Max angular momentum: {libint2.MAX_AM}")
# Create a shell
# Shell(L, primitives, center)
s = libint2.Shell(0, [(1.0, 1.0)], [0.0, 0.0, 0.0])
# Compute overlap integrals
engine = libint2.overlap()
result = engine.compute(s, s)
print(f"Overlap: {result[0]}")
# Load a basis set
atoms = [
libint2.Atom(8, [0.0, 0.0, 0.0]), # O
libint2.Atom(1, [0.0, -0.757, 0.587]), # H
libint2.Atom(1, [0.0, 0.757, 0.587]) # H
]
basis = libint2.BasisSet("sto-3g", atoms)
print(f"Number of basis functions: {basis.nbf}")
Features
- Pre-compiled Wheels: Available for Linux (x86_64) and macOS (x86_64, ARM64)
- Bundled Basis Sets: Includes standard basis sets (STO-3G, cc-pVDZ, etc.)
- NumPy Integration: Returns integrals as NumPy arrays
License
LGPL-3.0-or-later
Metadata
Release files for libint2 2.12.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 388.9 MB
Release files / libint2-2.12.0-cp314-cp314-manylinux_2_34_x86_64.whl
| Download URL | libint2-2.12.0-cp314-cp314-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 24.6 MB |
| Tags | CPython 3.14 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
2e2a7161a6fb669d30a67620eb7df84fdd83588726642e1171e312b7b4384c1f
|
|
BLAKE2b-256 checksum How to use checksums |
6e84087321143ddda3703d6f59025ade85edb6b02ca0fc950a87d0a8c2ae13e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jan 15, 2026.
Transparency logRelease files / libint2-2.12.0-cp314-cp314-macosx_15_0_x86_64.whl
| Download URL | libint2-2.12.0-cp314-cp314-macosx_15_0_x86_64.whl |
|---|---|
| Size | 24.5 MB |
| Tags | CPython 3.14 macOS 15.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
8c9c2ad7184b465e2a64159c8de1a268033264180d9b1493de008e3572c89b39
|
|
BLAKE2b-256 checksum How to use checksums |
4b1b700c5c3fb80c3594a1e7ba29f56017c1740e6bc9b6364201bfc08625b080
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jan 15, 2026.
Transparency logRelease files / libint2-2.12.0-cp314-cp314-macosx_15_0_arm64.whl
| Download URL | libint2-2.12.0-cp314-cp314-macosx_15_0_arm64.whl |
|---|---|
| Size | 23.8 MB |
| Tags | CPython 3.14 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
15610fc4225ef694e678de5558999aff3c253c7ed187c36a233de95ff1093ecb
|
|
BLAKE2b-256 checksum How to use checksums |
e2872adc80a0f84539616b6c183c95e66ed4b11b1eb4bbec317d824fe18991b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jan 15, 2026.
Transparency logRelease files / libint2-2.12.0-cp313-cp313-manylinux_2_34_x86_64.whl
| Download URL | libint2-2.12.0-cp313-cp313-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 24.6 MB |
| Tags | CPython 3.13 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
69c7db0d9f3b043e37a363b16c04eeb6e1013512a1936e8ac5a197fc8e23950e
|
|
BLAKE2b-256 checksum How to use checksums |
46f6fe791a496ebe6e585c9ac08d5f50bcd653d65febd1856768cfde748527fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jan 15, 2026.
Transparency logRelease files / libint2-2.12.0-cp313-cp313-macosx_15_0_x86_64.whl
| Download URL | libint2-2.12.0-cp313-cp313-macosx_15_0_x86_64.whl |
|---|---|
| Size | 24.5 MB |
| Tags | CPython 3.13 macOS 15.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
f8e4214281732af5a78753695d0cab20afbd88fc94b022a8be5143ac2c91d692
|
|
BLAKE2b-256 checksum How to use checksums |
8701d3e5fd3363cd206fc3a03244653b6113937940ad7fb3394fcfc6895ff9c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jan 15, 2026.
Transparency logRelease files / libint2-2.12.0-cp313-cp313-macosx_15_0_arm64.whl
| Download URL | libint2-2.12.0-cp313-cp313-macosx_15_0_arm64.whl |
|---|---|
| Size | 23.8 MB |
| Tags | CPython 3.13 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
2e631886407a1758f05fe1d7270b55a0d1e996feb6eb24d31ae81e619ae35d9d
|
|
BLAKE2b-256 checksum How to use checksums |
25a3772426d5db9f15c8c1282133e99eb1a90af1240f57d72bb52a47f3121afe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jan 15, 2026.
Transparency logRelease files / libint2-2.12.0-cp312-cp312-manylinux_2_34_x86_64.whl
| Download URL | libint2-2.12.0-cp312-cp312-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 24.6 MB |
| Tags | CPython 3.12 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
394f1d6928657b297ccd3f6f4c18fa5c3f6a14ba8de987ebe1c5a340fa2ab6c1
|
|
BLAKE2b-256 checksum How to use checksums |
2fe6f812b627c7f4edc9431c4ced5dc214e5dc064619a5580958aba08ea6df5f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jan 15, 2026.
Transparency logRelease files / libint2-2.12.0-cp312-cp312-macosx_15_0_x86_64.whl
| Download URL | libint2-2.12.0-cp312-cp312-macosx_15_0_x86_64.whl |
|---|---|
| Size | 24.5 MB |
| Tags | CPython 3.12 macOS 15.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
d20e0bf695a847d76c2c254b7ab823a33fd08c9e0d154ff83fd2bb3487ebd078
|
|
BLAKE2b-256 checksum How to use checksums |
ac8e789eda7151edf82f2f2d208901915d9a1aab1daf778d75d4843d35518267
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jan 15, 2026.
Transparency logRelease files / libint2-2.12.0-cp312-cp312-macosx_15_0_arm64.whl
| Download URL | libint2-2.12.0-cp312-cp312-macosx_15_0_arm64.whl |
|---|---|
| Size | 23.8 MB |
| Tags | CPython 3.12 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
162791dcad994f97ea2ee48dafc9dce6a5f3eb33758a771f6de8b99b052a712b
|
|
BLAKE2b-256 checksum How to use checksums |
df79517ea4b7bd26779fabcdb4f3848de93363e4d7a25c076750fb29ad820c47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jan 15, 2026.
Transparency logRelease files / libint2-2.12.0-cp311-cp311-manylinux_2_34_x86_64.whl
| Download URL | libint2-2.12.0-cp311-cp311-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 24.6 MB |
| Tags | CPython 3.11 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
e70602b6d5c253c292209daa8db5420eca7ca0a72f947c60b9f9f46a95b66e5a
|
|
BLAKE2b-256 checksum How to use checksums |
9472f22ed57adce26fe2e953187a1866452fe74524b5feaa2968b912183edb3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jan 15, 2026.
Transparency logRelease files / libint2-2.12.0-cp311-cp311-macosx_15_0_x86_64.whl
| Download URL | libint2-2.12.0-cp311-cp311-macosx_15_0_x86_64.whl |
|---|---|
| Size | 24.5 MB |
| Tags | CPython 3.11 macOS 15.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
c7d996876137e35283c9df49637d067293bdb4c9253d653e6116979a269f3d4b
|
|
BLAKE2b-256 checksum How to use checksums |
ea3882e9da5e3f5df3b96f90c24fff6dbdccf0c3a535638581f2e5b11c10f446
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jan 15, 2026.
Transparency logRelease files / libint2-2.12.0-cp311-cp311-macosx_15_0_arm64.whl
| Download URL | libint2-2.12.0-cp311-cp311-macosx_15_0_arm64.whl |
|---|---|
| Size | 23.8 MB |
| Tags | CPython 3.11 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
63ba6e9c8749a7c6515028f51d58bda5750f5f3af27b9bab9565856e72c60e8a
|
|
BLAKE2b-256 checksum How to use checksums |
ea2a82b068384cd5526239fd3674e023b4095b158090f702c3436fbdfed57478
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jan 15, 2026.
Transparency logRelease files / libint2-2.12.0-cp310-cp310-manylinux_2_34_x86_64.whl
| Download URL | libint2-2.12.0-cp310-cp310-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 24.6 MB |
| Tags | CPython 3.10 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
05b15e7150f7be06cd07f5aaf45e607e99b5689542d6eebb488987295a7ed364
|
|
BLAKE2b-256 checksum How to use checksums |
0f2783461b3a5ba97798afda733d5ce76a44f22b326a6c37917e46aa375bbac2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jan 15, 2026.
Transparency logRelease files / libint2-2.12.0-cp310-cp310-macosx_15_0_x86_64.whl
| Download URL | libint2-2.12.0-cp310-cp310-macosx_15_0_x86_64.whl |
|---|---|
| Size | 24.5 MB |
| Tags | CPython 3.10 macOS 15.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
7deb365c1908666c1836a826854fcd21972a09f015cf1b8808a5ea07876dbb4a
|
|
BLAKE2b-256 checksum How to use checksums |
1348f0143b7c3eb86ab536d7ea032b4fc87362566e26eb838de085a00b9bc18e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jan 15, 2026.
Transparency logRelease files / libint2-2.12.0-cp310-cp310-macosx_15_0_arm64.whl
| Download URL | libint2-2.12.0-cp310-cp310-macosx_15_0_arm64.whl |
|---|---|
| Size | 23.8 MB |
| Tags | CPython 3.10 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
f3c24ed0527853515137cee51ce810b35fe48679289a734fc48642be65ef22a9
|
|
BLAKE2b-256 checksum How to use checksums |
eeb33f8fdf7fce5f9b65a1f24fba17fcf31c987896933930764deacd1af0135c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jan 15, 2026.
Transparency logRelease files / libint2-2.12.0-cp39-cp39-manylinux_2_34_x86_64.whl
| Download URL | libint2-2.12.0-cp39-cp39-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 24.6 MB |
| Tags | CPython 3.9 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
80a396af01d2cb46b617674f8178db87bb643fc0e2c020bd8b786280ad164a95
|
|
BLAKE2b-256 checksum How to use checksums |
c5c2dafabacfc2d3e29684cd8bc8a1bce2338c38c2c7304519190c53aab88123
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jan 15, 2026.
Transparency logSecurity for libint2 2.12.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
All 16 files in this release have been uploaded with provenance metadata.
Attestation for libint2-2.12.0-cp314-cp314-manylinux_2_34_x86_64.whl
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 Jan 15, 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.