Registry / data / tbb-devel

tbb-devel

JSON →
library2023.0.0pypypiunverified

Intel oneAPI Threading Building Blocks (oneTBB) is a C++ library for parallel programming. The tbb-devel package provides Python bindings (via pybind11) to access TBB's parallel algorithms, concurrent containers, task scheduling, and flow graphs. Version 2023.0.0 is the latest stable release. Releases occur roughly yearly.

pip install tbb-devel
INSTALL
IMPORT
SIG · TBB-DEVEL
T
tbb-devel
datapythonv2023.0.0
Install
2.2s avg
Import
Disk
16MB
Pass rate
5/ 10
Env Coverage5 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v2023.0.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
build_error
glibc
py 3.103.95 runs
installs and imports cleanly · install 2.2s · import 0.000s · 18MB
16MB installed
● package 16MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

parallel_for
from tbb import parallel_for
from tbb import parallel_for

Demonstrates a simple parallel_for call using the tbb module.

import os from tbb import parallel_for def square(x): return x * x # Parallel for loop results = parallel_for(range(10), square) print(list(results))
Debug
Known issues
breakingThe tbb-devel package provides Python bindings for oneTBB, but the C++ library has breaking changes between major versions (e.g., TBB 2020 to 2021). The Python API may not be fully compatible across versions.
fix
Ensure your code is tested with the specific tbb-devel version you deploy. Check the oneTBB release notes for C++ API changes.
affects: all
deprecatedThe tbb::task_scheduler_init class is deprecated. Use tbb::global_control to set the number of threads.
fix
Replace task_scheduler_init with global_control. In Python: from tbb import global_control; ctrl = global_control(global_control.max_allowed_parallelism, nthreads)
affects: >=2021.0
gotchaThe Python tbb module is a thin wrapper around C++ TBB. It may not expose all C++ features, and some functions (e.g., flow graph) have limited or no Python bindings.
fix
Check the tbb module's exported symbols via dir(tbb) or refer to the C++ oneTBB documentation for available features.
affects: all
Upgrade
Version history
2023.0.0latest on PyPI · released Apr 24, 2026
Audit
Dependencies
pybind11optionalUsed to build Python bindings
Agent activity
38 hits · last 30 days
node
32
OpenAI (training)
1
Resources
tbb-devel — pip install tbb-devel · libregistry