mkl-include
Intel® oneAPI Math Kernel Library
What it is and what it does
mkl-include is Intel's Python package providing C and DPC++ language bindings to the oneAPI Math Kernel Library, a collection of highly optimized mathematical routines for linear algebra, Fourier transforms, and related computations. It targets developers building performance-critical numerical applications on Intel hardware. The package ships platform-specific wheels for Linux x86_64 and Windows x64, and depends on onemkl-license at runtime. It is not a standalone library—it provides headers and interfaces to call Intel MKL from C or C++ code, typically used by other libraries or compiled extensions rather than directly from Python.
The package is actively maintained and has been in production use since 2017. A key gotcha is that the MKLROOT environment variable is not set automatically during PyPI installation and must be configured manually according to Intel's developer documentation. This makes it less of a drop-in dependency and more of a system integration step, particularly relevant for containerized or CI/CD deployments.
Use it for:
- Building compiled Python extensions (e.g., NumPy, SciPy) that link against Intel MKL for faster linear algebra
- Developing C/C++ applications that call MKL routines and need the header files and interface definitions
- Optimizing numerical workloads on Intel CPUs by providing access to threaded BLAS, LAPACK, and FFT kernels
- Setting up development environments where MKL-accelerated libraries are built from source
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides C and Data Parallel C++ (DPC++) interfaces to Intel oneAPI Math Kernel Library for optimized mathematical computations on Intel CPUs and GPUs.
Yes, if you are building or deploying MKL-dependent compiled extensions on Linux x86_64 or Windows x64 and are willing to manually configure MKLROOT. No, if you expect a pure-Python package or automatic environment setup. The proprietary license and platform limitations mean it is not a general-purpose math library—it is a system integration tool for Intel MKL users.
Install
mkl-include on PyPI
pip
pip install mkl-includeuv
uv add mkl-includepoetry
poetry add mkl-includeInstalling mkl-include
Before you install
Medium install friction due to platform-specific wheels (Linux x86_64 and Windows x64 only) and a runtime dependency on onemkl-license. The package is actively maintained with a recent release.
License in practice
Licensed under Intel Simplified Software License (proprietary), classified as unclear treatment. Users should review Intel's license terms before deploying in commercial or restricted environments.
Quickstart
pip install mkl-include
# After installation, set MKLROOT environment variable manually
# (not set automatically by PyPI installation)
import ctypes
# Link against MKL C interface via ctypes or compiler flags
MKLROOT environment variable must be configured manually post-installation; platform limited to Linux x86_64 or Windows x64; requires onemkl-license package.
Verify before relying
- Whether onemkl-license is freely available or requires separate licensing from Intel
- Specific Python version compatibility (requires_python is unspecified)
- Whether MKLROOT setup documentation covers all common deployment scenarios
Package facts
| License | Intel Simplified Software License (unclear) |
| Python support | not specified |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | 1 — onemkl-license |
| Maintenance | actively maintained — 44 days since the last release |
| First released | |
| Downloads | 172,491/month — #10,334 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: mkl_include-2026.1.0-py2.py3-none-manylinux_2_28_x86_64.whl; mkl_include-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
mklIntel oneAPI Math Kernel Library provides…
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-dftProvides 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-lapackProvides optimized C and Data Parallel C++…
unclear · top 15,000 on PyPI
onemkl-sycl-blasProvides optimized C and Data Parallel C++…
unclear · top 15,000 on PyPI
onemkl-sycl-sparseProvides C and Data Parallel C++ (DPC++)…
unclear · top 15,000 on PyPI
dpcpp-cpp-rtProvides compiler-specific runtime libraries…
unclear · top 15,000 on PyPI
threadpoolctlInspect and control the thread-pool size of…
permissive · top 1,000 on PyPI