Package Info

python-llvmlite


Lightweight wrapper around basic LLVM functionality


Unspecified

A lightweight LLVM python binding for writing JIT compilers

The old llvmpy binding exposes a lot of LLVM APIs but the mapping of C++-style memory management to Python is error prone. Numba_ and many JIT compilers do not need a full LLVM API. Only the IR builder, optimizer, and JIT compiler APIs are necessary.

llvmlite is a project originally tailored for Numba's needs, using the following approach:

  • A small C wrapper around the parts of the LLVM C++ API we need that are not already exposed by the LLVM C API.
  • A ctypes Python wrapper around the C API.
  • A pure Python implementation of the subset of the LLVM IR builder that we need for Numba.

License: BSD-2-Clause
URL: http://llvmlite.pydata.org

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.34.0-bp156.3.4 info GA Release 2023-12-07 15 SP6
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python3-llvmlite
0.34.0-bp155.2.13 info GA Release 2023-05-22 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python3-llvmlite
0.34.0-bp154.1.37 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python3-llvmlite
0.31.0-bp153.1.22 info GA Release 2021-05-18 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-llvmlite
  • python3-llvmlite
0.31.0-bp152.2.3 info GA Release 2020-04-17 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-llvmlite
  • python3-llvmlite
0.28.0-bp151.1.3 info GA Release 2019-05-18 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-llvmlite
  • python3-llvmlite
0.22.0-bp150.2.4 info GA Release 2018-07-30 15
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-llvmlite
  • python3-llvmlite