Skip to main content

compiling Python code using LLVM

Project description

Gitter Discourse

A Just-In-Time Compiler for Numerical Functions in Python

Numba is an open source, NumPy-aware optimizing compiler for Python sponsored by Anaconda, Inc. It uses the LLVM compiler project to generate machine code from Python syntax.

Numba can compile a large subset of numerically-focused Python, including many NumPy functions. Additionally, Numba has support for automatic parallelization of loops, generation of GPU-accelerated code, and creation of ufuncs and C callbacks.

For more information about Numba, see the Numba homepage:

Supported Platforms

  • Operating systems and CPU:

    • Linux: x86 (32-bit), x86_64, ppc64le (POWER8 and 9), ARMv7 (32-bit), ARMv8 (64-bit)

    • Windows: x86, x86_64

    • macOS: x86_64

  • (Optional) Accelerators and GPUs:

    • NVIDIA GPUs (Kepler architecture or later) via CUDA driver on Linux, Windows, macOS (< 10.14)

    • AMD GPUs via ROCm driver on Linux


  • Python versions: 3.6-3.8

  • llvmlite 0.34.*

  • NumPy >=1.15 (can build with 1.11 for ABI compatibility)


  • Scipy >=1.0.0 (for numpy.linalg support)


The easiest way to install Numba and get updates is by using the Anaconda Distribution:

$ conda install numba

For more options, see the Installation Guide:


Mailing Lists

Join the Numba mailing list

Some old archives are at:

Continuous Integration

Azure Pipelines

Project details

Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

numba-0.51.0.tar.gz (2.1 MB view hashes)

Uploaded source

Built Distributions

numba-0.51.0-cp38-cp38-win_amd64.whl (2.2 MB view hashes)

Uploaded cp38

numba-0.51.0-cp38-cp38-win32.whl (2.2 MB view hashes)

Uploaded cp38

numba-0.51.0-cp37-cp37m-win_amd64.whl (2.2 MB view hashes)

Uploaded cp37

numba-0.51.0-cp37-cp37m-win32.whl (2.2 MB view hashes)

Uploaded cp37

numba-0.51.0-cp36-cp36m-win_amd64.whl (2.2 MB view hashes)

Uploaded cp36

numba-0.51.0-cp36-cp36m-win32.whl (2.2 MB view hashes)

Uploaded cp36

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page