Skip to main content

compiling Python code using LLVM

Project description

Gitter Discourse Zenodo DOI

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: https://numba.pydata.org

Supported Platforms

  • Operating systems and CPUs:
    • Linux: x86 (32-bit), x86_64, ppc64le (POWER8 and 9), ARMv7 (32-bit), ARMv8 (64-bit).
    • Windows: x86, x86_64.
    • macOS: x86_64, (M1/Arm64, unofficial support only).
    • *BSD: (unofficial support only).
  • (Optional) Accelerators and GPUs:
    • NVIDIA GPUs (Kepler architecture or later) via CUDA driver on Linux, Windows, macOS (< 10.14).

Dependencies

  • Python versions: 3.7-3.9
  • llvmlite 0.37.*
  • NumPy >=1.17,<1.21 (can build with 1.11 for ABI compatibility).

Optionally:

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

Installing

The easiest way to install Numba and get updates is by using the Anaconda Distribution: https://www.anaconda.com/download

$ conda install numba

For more options, see the Installation Guide: https://numba.readthedocs.io/en/stable/user/installing.html

Mailing Lists

Numba has a discourse forum for discussions:

Some old mailing list 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.

Files for numba, version 0.54.1
Filename, size File type Python version Upload date Hashes
Filename, size numba-0.54.1-cp37-cp37m-macosx_10_14_x86_64.whl (2.3 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size numba-0.54.1-cp37-cp37m-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (3.2 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size numba-0.54.1-cp37-cp37m-manylinux2014_i686.manylinux_2_17_i686.whl (3.1 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size numba-0.54.1-cp37-cp37m-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (3.3 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size numba-0.54.1-cp37-cp37m-win32.whl (2.3 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size numba-0.54.1-cp37-cp37m-win_amd64.whl (2.3 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size numba-0.54.1-cp38-cp38-macosx_10_14_x86_64.whl (2.3 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size numba-0.54.1-cp38-cp38-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (3.2 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size numba-0.54.1-cp38-cp38-manylinux2014_i686.manylinux_2_17_i686.whl (3.1 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size numba-0.54.1-cp38-cp38-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (3.3 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size numba-0.54.1-cp38-cp38-win32.whl (2.3 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size numba-0.54.1-cp38-cp38-win_amd64.whl (2.3 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size numba-0.54.1-cp39-cp39-macosx_10_14_x86_64.whl (2.3 MB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size numba-0.54.1-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (3.2 MB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size numba-0.54.1-cp39-cp39-manylinux2014_i686.manylinux_2_17_i686.whl (3.1 MB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size numba-0.54.1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (3.3 MB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size numba-0.54.1-cp39-cp39-win32.whl (2.3 MB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size numba-0.54.1-cp39-cp39-win_amd64.whl (2.3 MB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size numba-0.54.1.tar.gz (2.2 MB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page