mkl
Intel® oneAPI Math Kernel Library
What it is and what it does
Intel oneAPI Math Kernel Library (oneMKL) is Intel's production-grade mathematical computing library, packaged for Python environments. It provides C and Data Parallel C++ language interfaces for highly optimized mathematical operations tuned for Intel CPUs and GPUs. The package itself is a thin wrapper; the actual computation happens through C/DPC++ interfaces, making it most useful when integrated into compiled extensions or called via language bindings rather than used directly from pure Python code.
The library targets high-performance and scientific computing workloads where numerical throughput matters. Installation brings three runtime dependencies (onemkl-license, intel-openmp, tbb) and requires manual MKLROOT environment variable setup. It is actively maintained with a recent release and widely downloaded, but its proprietary license and environment configuration overhead mean it is best suited to teams already committed to Intel's oneAPI ecosystem.
Use it for:
- Accelerating mathematical operations in C/C++ extensions that call oneMKL routines
- Building high-performance numerical simulations on Intel hardware where vectorization and threading matter
- Integrating with scientific Python libraries that may delegate to MKL backends for math kernels
- Optimizing signal processing in compiled code targeting Intel processors
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Intel oneAPI Math Kernel Library provides optimized C and Data Parallel C++ interfaces for high-performance mathematical computing on Intel CPUs and GPUs.
Yes, if you are building C/C++ extensions or scientific code targeting Intel hardware and need production-grade math libraries. No, if you expect to call math functions directly from Python—use alternative libraries instead. Requires manual MKLROOT setup and acceptance of Intel's proprietary license.
Install
mkl on PyPI
pip
pip install mkluv
uv add mklpoetry
poetry add mklInstalling mkl
Before you install
Medium install friction due to three runtime dependencies (onemkl-license, intel-openmp, tbb) and platform-specific wheels. Active maintenance with recent release. Note: MKLROOT environment variable requires manual setup after PyPI installation.
License in practice
Licensed under Intel Simplified Software License (proprietary, not SPDX-identified). License treatment is unclear—review Intel's terms before use in commercial or redistributed software.
Quickstart
pip install mkl
# After installation, set MKLROOT environment variable
# (see Intel developer documentation for setup methods)
import mkl
# Use C/DPC++ interfaces via ctypes or language bindings
MKLROOT environment variable must be configured manually after installation; not set automatically by PyPI. Requires Intel CPU or GPU for intended performance benefits.
Verify before relying
- Specific Python version requirements (requires_python is unspecified in metadata)
- Whether C/DPC++ interfaces are directly callable from Python or require external language bindings
- Performance gains on non-Intel processors or in non-HPC contexts
Package facts
| License | Intel Simplified Software License (unclear) |
| Python support | not specified |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | 3 — onemkl-license, intel-openmp, tbb |
| Maintenance | actively maintained — 44 days since the last release |
| First released | |
| Downloads | 779,484/month — #5,085 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: mkl-2026.1.0-py2.py3-none-manylinux_2_28_x86_64.whl; mkl-2026.1.0-py2.py3-none-win_amd64.whl
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
mkl-includeProvides C and Data Parallel C++ (DPC++)…
unclear · top 15,000 on PyPI
mkl-staticProvides C and Data Parallel C++ interfaces to…
unclear · top 15,000 on PyPI
onemkl-licenseProvides C and Data Parallel C++ (DPC++)…
unclear · top 15,000 on PyPI
onemkl-sycl-blasProvides optimized C and Data Parallel C++…
unclear · top 15,000 on PyPI
onemkl-sycl-rngProvides C and Data Parallel C++ (DPC++)…
unclear · top 15,000 on PyPI
onemkl-sycl-sparseProvides C and Data Parallel C++ (DPC++)…
unclear · top 15,000 on PyPI
onemkl-sycl-lapackProvides optimized C and Data Parallel C++…
unclear · top 15,000 on PyPI
oneccl-develProvides Intel's oneAPI Collective…
unclear · top 15,000 on PyPI
daal4pydaal4py provides a Python API to Intel's oneAPI…
permissive · top 15,000 on PyPI
numexprNumExpr evaluates numerical expressions on…
permissive · top 5,000 on PyPI