numba

NumPy aware dynamic Python compiler using LLVM

Github星跟蹤圖


Numba


.. image:: https://badges.gitter.im/numba/numba.svg
:target: https://gitter.im/numba/numba?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge
:alt: Gitter

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

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

Dependencies

  • Python versions: 3.6-3.8
  • llvmlite 0.31.*
  • NumPy >=1.15 (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: http://numba.pydata.org/numba-doc/latest/user/installing.html

Documentation

http://numba.pydata.org/numba-doc/latest/index.html

Mailing Lists

Join the Numba mailing list numba-users@continuum.io:
https://groups.google.com/a/continuum.io/d/forum/numba-users

Some old archives are at: http://librelist.com/browser/numba/

Continuous Integration

.. image:: https://travis-ci.org/numba/numba.svg?branch=master
:target: https://travis-ci.org/numba/numba
:alt: Travis CI

.. image:: https://dev.azure.com/numba/numba/_apis/build/status/numba.numba?branchName=master
:target: https://dev.azure.com/numba/numba/_build/latest?definitionId=1?branchName=master
:alt: Azure Pipelines

主要指標

概覽
名稱與所有者numba/numba
主編程語言Python
編程語言Python (語言數: 8)
平台
許可證BSD 2-Clause "Simplified" License
所有者活动
創建於2012-03-08 11:12:43
推送於2025-06-12 14:13:53
最后一次提交
發布數214
最新版本名稱0.61.2 (發布於 2025-04-07 21:58:29)
第一版名稱dev (發布於 )
用户参与
星數10.5k
關注者數198
派生數1.2k
提交數26.9k
已啟用問題?
問題數5453
打開的問題數1619
拉請求數3717
打開的拉請求數100
關閉的拉請求數817
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?