Registry / data / cppyy-cling

cppyy-cling

JSON →
library6.32.8pypypi✓ verified 82d ago

Re-packaged Cling C++ interpreter, used as the JIT backend for cppyy. Provides the C++ runtime and interpreter for cppyy's automatic Python-C++ bindings. Version 6.32.8, released on 2025-05-26. Release cadence follows cppyy releases.

pip install cppyy-cling
INSTALL
IMPORT
SIG · CPPYY-CLING
C
cppyy-cling
datapythonv6.32.8
Install
2.7s avg
Import
Disk
152MB
Pass rate
5/ 10
Env Coverage5 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v6.32.8 · 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.7s · import 0.000s · 154MB
152MB installed
● package 152MB
Code
Verified usage

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

loader
from cppyy_backend import loader
import cppyy

Basic usage: import cppyy (which loads cppyy-cling backend), include a C++ header, and call C++ functions.

import cppyy cppyy.include('iostream') cppyy.gbl.std.cout << 'Hello from C++ via cppyy' << cppyy.gbl.std.endl
Debug
Known issues
gotchacppyy-cling is a separate package from cppyy. You must install cppyy-cling explicitly (or let cppyy install it as a dependency). If only cppyy is installed, the backend may be missing.
fix
pip install cppyy-cling
affects: all
gotchaDo not import cppyy_backend or cppyy_cling directly. The correct way to use the backend is through cppyy. cppyy auto-detects cppyy-cling.
fix
Use 'import cppyy' and then use cppyy functions.
affects: all
breakingIn cppyy-cling 6.32.x, the default C++ standard may be C++17. Code relying on C++11 or C++14 features might behave differently. Explicitly set standard with cppyy.add_include_path or cling flags.
fix
Use cppyy.cppdef('...') or pass -std=c++14 to cppyy.add_include_path via cppyy.load_library.
affects: >=6.32.0
Upgrade
Version history
6.32.8latest on PyPI · released Dec 17, 2024
Audit
Dependencies
cppyyrequiredcppyy-cling is the backend for cppyy; cppyy auto-detects it
Agent activity
10 hits · last 30 days
node
8
OpenAI (training)
1
Resources
cppyy-cling — pip install cppyy-cling · libregistry