Compiling Python code using LLVM

Edit Package python-numba

Numba is an Open Source NumPy-aware optimizing compiler for Python sponsored by Continuum Analytics, Inc. It uses the remarkable LLVM compiler infrastructure to compile Python syntax to machine code.

It is aware of NumPy arrays as typed memory regions and so can speed-up code using NumPy arrays. Other, less well-typed code will be translated to Python C-API calls effectively removing the “interpreter” but not removing the dynamic indirection.

Numba is also not a tracing JIT. It compiles your code before it gets run either using run-time type information or type information you provide in the decorator.

Numba is a mechanism for producing machine code from Python syntax and typed data structures such as those that exist in NumPy.

Refresh
Refresh
Source Files
Filename Size Changed
_multibuild 0000000122 122 Bytes
numba-0.57.0.tar.gz 0002549269 2.43 MB
python-numba.changes 0000065729 64.2 KB
python-numba.spec 0000006176 6.03 KB
skip-failing-tests.patch 0000002568 2.51 KB
Revision 38 (latest revision is 47)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1089198 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 38)
- Update to 0.57.0:
  * Support for Python 3.11 (minimum is moved to 3.8)
  * Support for NumPy 1.24 (minimum is moved to 1.21)
  * Python language support enhancements:
    + Exception classes now support arguments that are not compile time
      constant.
    + The built-in functions hasattr and getattr are supported for compile
      time constant attributes.
    + The built-in functions str and repr are now implemented similarly to
      their Python implementations. Custom __str__ and __repr__ functions
      can be associated with types and work as expected.
    + Numba’s unicode functionality in str.startswith now supports kwargs
      start and end.
    + min and max now support boolean types.
    + Support is added for the dict(iterable) constructor. 
- Dropped patches:
  * numba-pr8620-np1.24.patch
  * update-tbb-backend-calls-2021.6.patch
- Rebased existing patch.
Comments 0
openSUSE Build Service is sponsored by