tbb
Intel® oneAPI Threading Building Blocks (oneTBB)
What it is and what it does
oneTBB is a task-based parallelism library that lets you write portable, scalable parallel code without managing threads directly. Instead of spawning and coordinating threads, you express logical parallelism through templates and task patterns; the library schedules work across available cores. The Python package wraps the C++ oneTBB library, making its parallelism primitives available to Python applications.
It is designed for developers who need to parallelize compute-intensive workloads—data processing, scientific computing, machine learning—without becoming threading experts. oneTBB emphasizes composability (mixing it with other threading packages) and future-proof scalability. The library is part of the oneAPI ecosystem and maintained by the UXL Foundation.
Use it for:
- Parallelize data-parallel algorithms (e.g., map-reduce-style operations) across multiple cores in Python applications.
- Accelerate scientific and numerical computing by distributing independent tasks to available processors.
- Build scalable machine learning pipelines that exploit multi-core hardware without explicit thread management.
- Integrate task-based parallelism into existing Python applications that call C++ libraries.
- Write portable parallel code that scales automatically with the number of available cores.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings to Intel's oneAPI Threading Building Blocks (oneTBB), a C++ library for writing parallel programs that exploit multi-core performance through task-based parallelism rather than explicit thread management.
Yes, if you need task-based parallelism in Python and are comfortable with the Intel Simplified Software License terms. The library is actively maintained, has no known vulnerabilities, and is widely used (top 5000 PyPI packages). Install friction is moderate due to platform-specific wheels (x86_64 only). Verify Python version compatibility and license compatibility with your project before adopting.
Install
tbb on PyPI
pip
pip install tbbuv
uv add tbbpoetry
poetry add tbbInstalling tbb
Before you install
Medium install friction due to platform-specific wheels (manylinux and Windows x86_64 only); active maintenance with recent releases and a well-maintained upstream repository.
License in practice
Licensed under Intel Simplified Software License (not SPDX-standardized); license treatment is unclear, so review the LICENSE.txt terms before adopting in proprietary or copyleft projects.
Quickstart
pip install tbb
import tbb
# oneTBB provides C++ parallelism primitives accessible through Python bindings
Requires x86_64 architecture (manylinux_2_28 or Windows); Python version requirements unspecified in metadata.
Verify before relying
- Exact Python version compatibility (requires_python is unspecified in metadata)
- Scope and stability of the Python API surface relative to the C++ library
- Whether tcmlib runtime dependency is a separate package or bundled
Package facts
| License | Intel Simplified Software License (unclear) |
| Python support | not specified |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | 1 — tcmlib |
| Maintenance | actively maintained — 44 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,293,341/month — #2,671 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: tbb-2023.1.0-py2.py3-none-manylinux_2_28_x86_64.whl; tbb-2023.1.0-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
tbb-develProvides C++ parallelism primitives and task…
unclear · top 15,000 on PyPI
tcmlibManages CPU resource coordination between Intel…
unclear · top 5,000 on PyPI
onecclProvides Intel's oneAPI Collective…
unclear · top 15,000 on PyPI
intel-openmpProvides Intel's OpenMP runtime library for…
unclear · top 5,000 on PyPI
oneccl-develProvides Intel's oneAPI Collective…
unclear · top 15,000 on PyPI
mklIntel oneAPI Math Kernel Library provides…
unclear · top 15,000 on PyPI
onemkl-licenseProvides 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-sycl-blasProvides optimized C and Data Parallel C++…
unclear · top 15,000 on PyPI
mkl-includeProvides C and Data Parallel C++ (DPC++)…
unclear · top 15,000 on PyPI